Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextEchoEvent

TextEchoEvent will occur when a text message has been sent by your page.

subscription

message_echoes

guides

Check official reference.

Hierarchy

  • EventObject<"echo", "text">
  • EventBase
  • Message
  • Text
  • Fallback
  • Echo
    • TextEchoEvent

Index

Properties

[toStringTag]: "MessengerEvent"
appId: string

ID of the app from which the message was sent.

category: "echo"
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.

metadata: undefined | string

Custom string passed to the Send API as the metadata field. Only present if the metadata property was set in the original message.

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