Text messages can be retrieved and depending on your provider, deleted text message can be retrieved as well.
The prosecution used them in the Jodi Arias trial.
Thank you.