If you received an attachment to a text message, you can save it on your phone. In the message, just touch and hold the attachment, then touch
to save it.
To view the saved attachment:
If you do not save a photo or video from a message, it is kept within the message only. So, if you delete the message, you also delete the attachment. (You can try to recover recently deleted messages.)