If you want to edit or delete a message you have sent, you can hover over that message and two icons will appear. The pencil icon will allow you to edit the message. The trash can icon will allow you to delete the message.
In the mobile app hold down on the message and select the message action you need.