SIGN UP

MessengerEvents

Enum that represents types of messenger events.

Enum constants

CreateConversation

The event is triggered when any user has created a new conversation with the current user in the participant array.

EditConversation

The event is triggered when conversation the current user belongs to wat modified.

EditMessage

The event is triggered when a message was edited via the Message.update method by any conversation participant.

EditUser

The event is triggered when information about a user the current user is subscribed to or the current user was changed via the Messenger.editUser method.

Error

The event is triggered when error occurs. Refer to the error codes in the MessengerError enum.

GetConversation

The event is triggered when the Messenger.getConversation or Messenger.getConversations was were called by the current user.

GetPublicConversations

The event is triggered when the Conversation.GetPublicConversations method was called by the current user.

GetSubscriptionList

The event is triggered when the Messenger.getSubscriptionList method was called by the current user.

GetUser

The event is triggered when the Messenger.getUser, Messenger.getUsers, Messenger.getUserById or Messenger.getUsersById method was called by the current user.

Read

The event is triggered when any participant of a conversation the current user belongs to called the Conversation.markAsRead method.

RemoveMessage

The event is triggered when a message was removed via the Message.remove method by any conversation participant.

RetransmitEvents

The event is triggered when the Conversation.retransmitEvents method was called by the current user.

SendMessage

The event is triggered when a new message was sent to a conversation via the Conversation.sendMessage method by any conversation participant.

SetStatus

The event is triggered when any user the current user is subscribed to or the current user called the Messenger.setStatus method.

Subscribe

The event is triggered when the Messenger.subscribe method was called by the current user.

Typing

The event is triggered when any participant of a conversation the current user belongs to has called the Conversation.typing method.

Unsubscribe

The event is triggered when the Messenger.unsubscribe method was called by the current user.