message_edits
Webhook Event ReferenceThis event will be sent to your webhook when a user edits a previously-sent message.
You can subscribe to this callback by selecting the message_edits
field when setting up your webhook.
{ "sender": { "id": "<PSID>" }, "recipient": { "id": "<PAGE_ID>" }, "timestamp": 1458668856463, "message_edit": { "mid": "<MESSAGE_ID>", "text": "<TEXT>", "num_edit": "<INT>", } }
sender
الخاصية | النوع | الوصف |
---|---|---|
| String (سلسلة) | المعرف الخاص بالصفحة لدى المستخدم والذي شغّل الحدث webhook. |
| String (سلسلة) | المعلمة user_ref لدى المستخدم والتي شغّلت الحدث webhook. ويتوفر هذا فقط لحدث webhook من المكون الإضافي للدردشة. |
recipient
الخاصية | النوع | الوصف |
---|---|---|
| String (سلسلة) | معرف صفحتك. |
message_edit
Property | Type | Description |
---|---|---|
| string | The Message ID of the message that the user edited. |
| string | The new message content, after the user's edit. |
| integer | The number of times the user has edited the message. (The user cannot edit a message more than five times. This constraint is on the Messenger client side.) |