message_reads
Webhook Event ReferenceThis event will be sent to your webhook when a message a Page has sent has been read by the user.
You can subscribe to this callback by selecting the message_reads
field when setting up your webhook.
{ "sender":{ "id":"<PSID>" }, "recipient":{ "id":"<PAGE_ID>" }, "timestamp":1458668856463, "read":{ "watermark":1458668856253 } }
sender
Property | Type | Description |
---|---|---|
| String | The PSID of the user that triggered the webhook event. |
| String | The user_ref of the user that triggered the webhook event. This is only available for webhook event from the chat plugin. |
recipient
Property | Type | Description |
---|---|---|
| String | Your Page ID. |
read
Property | Type | Description |
---|---|---|
| Number | All messages that were sent before or at this timestamp were read |
The watermark
field is used to determine which messages were read. It represents a timestamp indicating that all messages with a timestamp before watermark
were read by the recipient.