Skip to content

Latest commit

 

History

History
137 lines (96 loc) · 3.56 KB

webhook.event.md

File metadata and controls

137 lines (96 loc) · 3.56 KB

@aiteq/messenger-bot > Webhook > Event

Enum: Event

Events emitted on incoming messages.

Index

Members


Members

ATTACHMENT

Emitted when the incoming message contains an attachment of any type. This event is emitted after the attachment-specific event (ATTACHMENT_AUDIO, ATTACHMENT_FALLBACK, ATTACHMENT_FILE, ATTACHMENT_IMAGE, ATTACHMENT_LOCATION or ATTACHMENT_VIDEO). Thus, the receiving an attachment message causes emitting two events:

  1. an attachment-specific event (e.g. ATTACHMENT_IMAGE)
  2. the ATTACHMENT event.

ATTACHMENT_AUDIO

Emitted when the incoming message contains an audio file.


ATTACHMENT_FALLBACK

Emitted when the incoming message contains a fallback attachment.


ATTACHMENT_FILE

Emitted when the incoming message contains a file attachment.


ATTACHMENT_IMAGE

Emitted when the incoming message contains an image file.


ATTACHMENT_LOCATION

Emitted when the incoming message contains a location.


ATTACHMENT_VIDEO

Emitted when the incoming message contains a video file.


GET_STARTED_BUTTON

Emitted when the user tapped on the Get Started button.


LOCATION_QUICK_REPLY

Emitted when the user sent his location using Quick Reply button.


MESSAGE_DELIVERED

Emitted when a delivery confirmation is received.


MESSAGE_ECHO

Emitted when an echo message is received.


MESSAGE_READ

Emitted when a read confirmation is received.


PERSISTENT_MENU

Emitted when the user tapped on a persistent menu item.


POSTBACK

Emitted when a postback message is received. This event is emitted after the source-specific event (POSTBACK_BUTTON, GET_STARTED_BUTTON, or PERSISTENT_MENU). Thus, the receiving a postback message causes emitting two events:

  1. a source-specific event (e.g. POSTBACK_BUTTON)
  2. the POSTBACK event.

POSTBACK_BUTTON

Emitted when the user tapped on a postback button.


TEXT_MESSAGE

Emitted when a text message is received.


TEXT_QUICK_REPLY

Emitted when the user tapped on a quick reply button.