--- title: TranscriptMessage class - Android description: Represents a single message in the voice session transcript. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/cllent-mobile-api-reference/TranscriptMsgAndroidClass.html release: australia product: Cllent Mobile API Reference classification: cllent-mobile-api-reference topic_type: concept last_updated: "2026-07-21" reading_time_minutes: 1 breadcrumb: [Mobile SDK - Android, Mobile SDK API reference, API reference, API implementation and reference] --- # TranscriptMessage class- Android Represents a single message in the voice session transcript. TranscriptMessages are passed to [NowVoiceCallbacks - onMessageReceived\(\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/NowVoiceCallbacksAndroidInt.md).
Name Type Description
role Role The Role object identifies the originator of the message. Possible values: - `Role.Assistant`: The message originated from the voice agent. - `Role.User`: The message originated from the app user.
content String The text content of the message.
The following code example shows TranscriptMessage used with NowVoiceCallbacks. ``` override fun onMessageReceived(message: TranscriptMessage) { runOnUiThread { appendTranscript(message) } } ``` **Parent Topic:**[Mobile SDK - Android](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/MobileSDKAndroidAPI.md)