It depends on the action of the message.
To view the messages, just close the chat and they will be present. However, if you did delete a conversation, or the person didn't send a message, you'd be in trouble. I would be careful with the websites that claim to restore all your deleted DMs, as...