Rate this page:

SubscriptionEvent

Interface that represents the messenger events related to subscriptions.

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

users

Copy URL
val users: 

List<Long>

The list of the IM user identifiers of the current (un)subscription.

Returns

  • type:

    List<Long>