Zello Alert Message
data class ZelloAlertMessage(val incoming: Boolean, val timestamp: Long, val contact: ZelloContact, val text: String, val channelUser: ZelloChannel.User? = null)
A Zello alert message. Alert messages contain text and are typically used for important messages. They will play a recurring sound until the user acknowledges them by bringing the app to the foreground.
Parameters
incoming
Whether the message was received or sent.
timestamp
The timestamp of the message.
contact
The contact that sent or received the message. If this is a channel message, the contact will be the ZelloChannel.
text
The text body of the message.
channel User
If incoming, the author that sent the message, if the message was sent in a channel. If outgoing, null.
Constructors
Link copied to clipboard
constructor(incoming: Boolean, timestamp: Long, contact: ZelloContact, text: String, channelUser: ZelloChannel.User? = null)