Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PolicyEnforcementEvent

PolicyEnforcementEvent will be sent to an app if the page it manages does not conform to Messenger Platform policy.

subscription

messaging_policy_enforcement

guides

Check official reference.

Hierarchy

  • EventObject<"system", "policy_enforcement", null, null>
  • EventBase
  • PolicyEnforcement
    • PolicyEnforcementEvent

Index

Properties

[toStringTag]: "MessengerEvent"
action: "warning" | "block" | "unblock"
category: "system"
channel: null
isEcho: boolean

Indicate whether the event is an echo.

isStandby: boolean

Indicate whether the event is sent to a standby channel.

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

The reason for being warned or blocked. This field is absent if action is 'unblock'.

The user that triggered the webhook event.

timestamp: number
type: "policy_enforcement"
user: null

Generated using TypeDoc