Here’s how:
launch the Messages app.
Tap the message or messages you want to recover.
In the lower-right corner, selectRecover.

TapRecover Message, orRecover Messagesif you are recovering multiple messages.
Any messages that were present on your phone at the time of the backup are retrievable.
Before following the steps below, you might need toback up your text messages.

Go toSettings>General.
Then, scroll down and tapResetorTransfer or Reset iPhone>Reset.
This method is not for the faint of heart.

Any new messages or other content that happened after the last backup is lost.
TapErase All Content and configs.
Turn on your iPhone and begin setting it up as if it were new.

When you arrive at the window titledApps and DataorTransfer Your Apps & Data, selectRestore from iCloud Backup.
Your iPhone may ask you to sign in to your iCloud account using your Apple ID/Apple Account and password.
Do so to proceed.

A list of recent backups appears.
Wait for a while as the data transfer process completes.
If you aren’t comfortable doing this, you may prefer another method.

Connect your iPhone to your rig using an appropriate cable.
Your iPhone may ask you to unlock it.
If it does, go ahead and do so.

If iTunes doesn’t open automatically, open iTunes on your machine manually.
choose the iPhone icon just below and to the right of the Play button.
If you have more than one connected machine, selectiPhonefrom the drop-down menu.
The most recent backup replaces all the data on your phone.
The process takes a while.
You should see your missing text messages if your most recent backup took place before they were deleted.
For example, thePhoneRescueandDr.fonetext message recovery apps for iPhone often get positive reviews.
FAQ
The easiest way is to search in theFacebook Messenger appfor the conversation you think you deleted.
Once you located that chat, send a new message to the recipient to unarchive the entire conversation.
There is no way to recover deleted messages in Textme.