@zelloptt/react-native-zello-sdk
    Preparing search index...

    Class ZelloHistoryVoiceMessage

    A Zello history voice message. To play the message, use the Zello#playHistoryMessage function.

    Implements

    Index
    channelUser: ZelloChannelUser | undefined

    If incoming, the author that sent the message, if the message was sent in a channel. If outgoing, undefined.

    contact: ZelloContact

    The contact that sent or received the message.

    durationMs: number

    The duration of the voice message in milliseconds.

    historyId: string

    The unique identifier of the message. This can be used to lookup messages in the history. This identifier persists across sessions.

    incoming: boolean

    Whether the message was received or sent.

    timestamp: number

    The timestamp of the message.

    transcription: ZelloTranscription | undefined

    The successful transcription for this voice message, or undefined if no transcription has been received yet or the server reported a transcription error.

    Transcriptions are produced asynchronously by the Zello server after a voice message finishes sending or receiving, so this may be undefined when the message first appears in history and populated later. Subscribe to the HISTORY_VOICE_MESSAGE_TRANSCRIPTION_AVAILABLE event to be notified when a transcription arrives.