Rate this page:

MessengerNotification

Enum that represents events available for push notification subscriptions.

Constants

EditMessage

Copy URL

Parameters

  • Action that triggered this event.

  • Messenger event type.

  • imUserId:

    number

    The IM id for the user that initiated the event.

  • message:

    Message

    Message object.

  • sequence:

    number

    The sequence number for this event.

  • timestamp:

    number

    The UNIX timestamp (seconds) that specifies the time the message event was provoked.

SendMessage

Copy URL

Parameters

  • Action that triggered this event.

  • Messenger event type.

  • imUserId:

    number

    The IM id for the user that initiated the event.

  • message:

    Message

    Message object.

  • sequence:

    number

    The sequence number for this event.

  • timestamp:

    number

    The UNIX timestamp (seconds) that specifies the time the message event was provoked.