You can do this on your iPhone, iPad, or iPod touch. Touch and hold the message bubble or attachment you wish to remove in a chat exchange. More can be tapped. Trash is the first option, followed by Delete Message. Tap Erase All in the upper-left corner to delete all messages in the thread. Then choose Delete Conversation from the drop-down menu.