Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LocationEvent

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

subscription

messages

guides

Check official reference.

Hierarchy

  • EventObject<"message" | "standby", "location">
  • EventBase
  • Message
  • Location
    • LocationEvent

Index

Properties

[toStringTag]: "MessengerEvent"
category: "message" | "standby"
channel: MessengerChat
isEcho: boolean

Indicate whether the event is an echo.

isStandby: boolean

Indicate whether the event is sent to a standby channel.

latitude: number
longitude: number
messageId: string

Message ID.

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.

timestamp: number
type: "location"

Generated using TypeDoc