ZelloHistoryMessage: {
    channelUser: ZelloChannelUser | undefined;
    contact: ZelloContact;
    historyId: string;
    incoming: boolean;
    timestamp: number;
}

The parent type for all Zello history messages.

Type declaration

  • 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.

  • 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.