"Your message was deleted" vs. "your message has been deleted" [duplicate]
I would use the sentence
Your message has been deleted.
if I am telling the users right after their message has been deleted. (Like a little notification superimposes on the screen for a few seconds before fading away, something similiar to what happen when you try to upvote your own question.)
But I would use
Your message was deleted
like this page as they search for their long-gone message.
The past tense, as in Your message was deleted relates an action to a particular time in the past. The present perfect construction, as in Your message has been deleted, doesn’t do this, but rather describes the situation now. In the circumstances in which this would need to be said, the second might therefore be more appropriate.