Rate this page:

ConversationEvent

This API is in beta and subject to change.

Interface that represents messenger events related to conversations such as create, edit, remove, etc.

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

Props

imUserId

Copy URL
val imUserId: 

Long

This API is in beta and subject to change.

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

This API is in beta and subject to change.

The action that triggered this event.

Returns

type

Copy URL
val type: 

MessengerEventType

This API is in beta and subject to change.

The messenger event type.

Returns

conversation

Copy URL
val conversation: 

Conversation

This API is in beta and subject to change.

The conversation details.

Returns

sequence

Copy URL
val sequence: 

Long

This API is in beta and subject to change.

The sequence number of this event.

Returns

  • type:

    Long

timestamp

Copy URL
val timestamp: 

Long

This API is in beta and subject to change.

The UNIX timestamp (seconds) that specifies the time the conversation event has been provoked.

Returns

  • type:

    Long