ZelloHistoryAlertMessage

data class ZelloHistoryAlertMessage(val contact: ZelloContact, val channelUser: ZelloChannel.User? = null, val timestamp: Long, val historyId: String, val incoming: Boolean, val text: String) : ZelloHistoryMessage

A Zello history alert message.

Constructors

Link copied to clipboard
constructor(contact: ZelloContact, channelUser: ZelloChannel.User? = null, timestamp: Long, historyId: String, incoming: Boolean, text: String)

Properties

Link copied to clipboard
open override val channelUser: ZelloChannel.User? = null

If incoming, the user that sent or received the message, if the message was sent or received in a channel. If outgoing, null.

Link copied to clipboard
open override val contact: ZelloContact

The contact that sent or received the message. If this is a channel, the contact will be the ZelloChannel.

Link copied to clipboard
open override val historyId: String

The unique identifier for the message. This identifier persists across sessions.

Link copied to clipboard
open override val incoming: Boolean

True if the message was received, false if it was sent.

Link copied to clipboard

The text body of the message.

Link copied to clipboard
open override val timestamp: Long

The timestamp of the message.