Rate this page:

MessengerEvents

Enum that represents types of messenger events.

Constants

CreateConversation

Copy URL

Triggered when any user has created a new conversation with the current user in the participant array.

EditConversation

Copy URL

Triggered when conversation the current user belongs to wat modified.

EditMessage

Copy URL

Triggered when a message has been edited via the Message.update method by any conversation participant.

EditUser

Copy URL

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

Copy URL

Triggered when error occurs. Refer to the error codes in the MessengerError enum.

GetConversation

Copy URL

Triggered when the Messenger.getConversation or Messenger.getConversations has been called by the current user.

GetPublicConversations

Copy URL

Triggered when the [Conversation.GetPublicConversations] method has been called by the current user.

GetSubscriptionList

Copy URL

Triggered when the Messenger.getSubscriptionList method has been called by the current user.

GetUser

Copy URL

Triggered when the Messenger.getUser, Messenger.getUsers, Messenger.getUserById or Messenger.getUsersById method has been called by the current user.

Read

Copy URL

Triggered when any participant of a conversation the current user belongs to called the Conversation.markAsRead method.

RemoveMessage

Copy URL

Triggered when a message has been removed via the Message.remove method by any conversation participant.

RetransmitEvents

Copy URL

Triggered when the Conversation.retransmitEvents method has been called by the current user.

SendMessage

Copy URL

Triggered when a new message has been sent to a conversation via the Conversation.sendMessage method by any conversation participant.

SetStatus

Copy URL

Triggered when any user the current user is subscribed to or the current user called the Messenger.setStatus method.

Subscribe

Copy URL

Triggered when the Messenger.subscribe method has been called by the current user.

Typing

Copy URL

Triggered when any participant of a conversation the current user belongs to has called the Conversation.typing method.

Unsubscribe

Copy URL

Triggered when the Messenger.unsubscribe method has been called by the current user.