message_reactions
Webhook Event ReferenceThis event will be sent to your webhook when a user reacts to a message on Messenger.
You can subscribe to this callback by selecting the message_reactions
field when setting up your webhook.
{ "sender":{ "id":"<PSID>" }, "recipient":{ "id":"<PAGE_ID>" }, "timestamp":1458668856463, "reaction":{ "reaction": "smile|angry|sad|wow|love|like|dislike|other", "emoji": "\u{2764}\u{FE0F}", "action": "react|unreact", "mid": "<MID_OF_ReactedTo_Message>", } }
sender
Propriedade | Tipo | Descrição |
---|---|---|
| Cadeia de caracteres | O PSID (Número de identificação no escopo da Página) do usuário que acionou o evento de webhook. |
| Cadeia de caracteres | O parâmetro user_ref do usuário que acionou o evento de webhook. Disponível somente para o evento de webhook do plugin de bate-papo. |
recipient
Propriedade | Tipo | Descrição |
---|---|---|
| Cadeia de caracteres | Seu ID da Página. |
reaction
Property | Type | Description |
---|---|---|
| string | Text description of the reaction. Possible values:
|
| UTF-8 Emoji | Reference to the emoji corresponding to the reaction. |
| string | Action performed by the user. Possible values: |
| string | Reference to the Message ID that the user reacted performed the reaction on. |