NowVoiceTranscriptMessage typealias - iOS

concept brazil Updated Sep 10, 2026 1 min read NVoiceTrnstMsgiOSta.md
Raw file servicenow.com

Represents a single message in the voice session transcript.

NowVoiceTranscriptMessage is a type alias for TranscriptMessage.

Name Type Description
role String The originator of the message. Typical values are "user" and "assistant".
content String The text content of the message.

The following code example shows NowVoiceTranscriptMessage used with [NowVoiceCallbacks](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/cllent-mobile-api-reference/NowVoiceCallbacksiOSStruct.md).

Text
onMessageReceived: { message in    print("[\(message.role)]: \(message.content)")}

Parent Topic:Mobile SDK - iOS

Search documentation
Search document titles and file paths on the brazil branch