MessengerEvents
Enum that represents types of messenger events.
Constants
CreateConversation
Triggered when any user has created a new conversation with the current user in the participant array.
EditConversation
Triggered when conversation the current user belongs to wat modified.
EditMessage
Triggered when a message has been edited via the Message.update method by any conversation participant.
EditUser
Triggered when the information about the user which the current user is subscribed to or the information about the current user has been changed via the Messenger.editUser method.
Error
Triggered when error occurs. Refer to the error codes in the MessengerError enum.
GetConversation
Triggered when the Messenger.getConversation or Messenger.getConversations has been called by the current user.
GetPublicConversations
Triggered when the [Conversation.GetPublicConversations] method has been called by the current user.
GetSubscriptionList
Triggered when the Messenger.getSubscriptionList method has been called by the current user.
GetUser
Triggered when the Messenger.getUser, Messenger.getUsers, Messenger.getUserById or Messenger.getUsersById method has been called by the current user.
Read
Triggered when any participant of a conversation the current user belongs to called the Conversation.markAsRead method.
RemoveMessage
Triggered when a message has been removed via the Message.remove method by any conversation participant.
RetransmitEvents
Triggered when the Conversation.retransmitEvents method has been called by the current user.
SendMessage
Triggered when a new message has been sent to a conversation via the Conversation.sendMessage method by any conversation participant.
SetStatus
Triggered when any user the current user is subscribed to or the current user called the Messenger.setStatus method.
Subscribe
Triggered when the Messenger.subscribe method has been called by the current user.
Typing
Triggered when any participant of a conversation the current user belongs to has called the Conversation.typing method.
Unsubscribe
Triggered when the Messenger.unsubscribe method has been called by the current user.