ZelloMessage: {
    channelUser: ZelloChannelUser | undefined;
    contact: ZelloContact;
    incoming: boolean;
    timestamp: number;
}

The parent type for all Zello 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. If this is a channel message, the contact will be the channel.

  • incoming: boolean

    Whether the message was received or sent.

  • timestamp: number

    The timestamp of the message.