UpdateReason

enum UpdateReason

Indicates reason for conversation update.

Entries

STATE
Link copied to clipboard

Conversation state changed.

NOTIFICATION_LEVEL
Link copied to clipboard

Notification level changed.

LAST_MESSAGE
Link copied to clipboard

Last message in conversation changed. This update does not trigger when message itself changes, there's Message.UpdateReason event for that. However, if a new message is added or last conversation message is deleted this event will be triggered.

ATTRIBUTES
Link copied to clipboard

Conversation attributes changed.

FRIENDLY_NAME
Link copied to clipboard

Conversation friendly name changed.

UNIQUE_NAME
Link copied to clipboard

Conversation unique name changed.

LAST_READ_MESSAGE_INDEX
Link copied to clipboard

Conversation last read message changed.

STATUS
Link copied to clipboard

Conversation status changed.

Functions

fromInt
Link copied to clipboard
open fun fromInt(value: Int): Conversation.UpdateReason
valueOf
Link copied to clipboard
open fun valueOf(name: String): Conversation.UpdateReason
values
Link copied to clipboard
open fun values(): Array<Conversation.UpdateReason>

Properties

value
Link copied to clipboard
private val value: Int