Click More under the message, then click Edit.
All edited messages show Edited at the bottom of the message. You can click this to see the earlier versions of that message.
You can edit only your own messages.
Any special markup on a message is lost when you edit the message.