Rate this page:

ConversationServiceEvent

Interface that represents messenger events such as typing, isRead.

Extends MessengerEvent which provides service information (IM user id, action, event type).

Props

imUserId

Copy URL
val imUserId: 

Long

The IM id for the user that initiated the event.

Note that IM user id is always 0 for the ErrorEvent events.

Returns

  • type:

    Long

action

Copy URL
val action: 

MessengerAction

The action that triggered this event.

Returns

type

Copy URL
val type: 

MessengerEventType

The messenger event type.

Returns

conversationUuid

Copy URL
val conversationUuid: 

String

The conversation UUID associated with this event.

Returns

  • type:

    String

sequence

Copy URL
val sequence: 

Long

The sequence number of the event that is marked as read by the user initiated this event. Only available for MessengerEventType.IsRead.

Returns

  • type:

    Long