SIGN UP

MessengerEvents

Enum constants

CreateConversation

New conversation created. You receive this event when anybody created a new conversation with the current user in participant array. Also this event dispatch on conversation creator.

Delivered

Event is triggered after another device with same logged in user called the Conversation.markAsDelivered method.

EditConversation

Conversation properties were modified.

EditMessage

Message was edited.

EditUser

Dispatch when Messenger.editUser successful done into cloud. Triggered only for users specified in the 'subscribe' method call.

Error

Event is triggered in case of an error while creating a conversation. See the details in the MessengerEventsCallbacks.ErrorEvent interface.

GetConversation

Conversation description is received. Triggered in response to the 'getConversation'.

GetUser

Return user, requested in Messenger.getUser function

Read

Event is triggered after another device with same logged in user called the Conversation.markAsRead method.

RemoveConversation

The conversation was removed.

RemoveMessage

Message was removed.

RetransmitEvents

Event is triggered after Conversation.retransmitEvents method is called on some conversation for this SDK instance.

SendMessage

Event is triggered when a new message is received as a result of the Conversation.sendMessage method call.

SetStatus

Event is triggered after the user presence state has changed.

Subscribe

Event is triggered after the Messenger.subscribe method is called.

Typing

Information that some user is typing something is received. Triggered in response to the 'typing' called by any user.

Unsubscribe

Event is triggered after the Messenger.unsubscribe method is called.