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>",
}
}
sendersender Field
| Description |
|---|---|
id string | The Page-scoped ID for the person who sent a message to your business |
recipientrecipient Field
| Description |
|---|---|
id string | The ID for your Facebook Page |
message_edit| Property | Type | Description |
|---|---|---|
mid | string | The Message ID of the message that the user edited. |
text | string | The new message content, after the user’s edit. |
num_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.) |