“Text message” in Chinese is 短信 (duǎnxìn).
他等火车的时候,一会儿听音乐,一会儿发短信。
While he was waiting for the train, he listened to music and sent text messages.
Example sentence from Tatoeba (CC BY 2.0).