Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextEvent

This callback will occur when a text message has been sent to your Page.

subscription

messages

guides

Check official reference.

Hierarchy

  • EventObject<"message" | "standby", "text">
  • EventBase
  • Message
  • Text
  • Fallback
  • NLP
    • TextEvent

Index

Properties

[toStringTag]: "MessengerEvent"
category: "message" | "standby"
channel: MessengerChat
fallback: undefined | { title: string; url: string }

The fallback payload.

isEcho: boolean

Indicate whether the event is an echo.

isStandby: boolean

Indicate whether the event is sent to a standby channel.

messageId: string

Message ID.

nlp?: any

The raw nlp object.

payload: any
platform: "messenger"
referralProductId: undefined | string

Reference to the product id when the user sends a message from Facebook Shops product detail page.

replyTo: undefined | string

Reference to the message id (mid) that this message is replying to.

The user that triggered the webhook event.

text: string

Text of message.

timestamp: number
type: "text"

Generated using TypeDoc