Recovering texts from iCloud
If your computer is a new enough Mac, if it has Messages.app installed, that should contain all your iMessages.

If you have a PC, I believe there are some programs that can extract your messages from your iPhone backups.