Rate this page:

ConversationEvent

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

action

Copy URL

MessengerAction

action

The action that triggered this event.

Returns

conversation

Copy URL

Conversation

conversation

The conversation details.

Returns

imUserId

Copy URL

Long

imUserId

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

sequence

Copy URL

Long

sequence

The sequence number of this event.

Returns

  • type:

    Long

timestamp

Copy URL

Long

timestamp

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

Returns

  • type:

    Long

type

Copy URL

MessengerEventType

type

The messenger event type.

Returns