When unsending a message, the event that is received in the webhook has mid that does not match with the mid received with the message event. Below is the m_id received when the message was sent :
"aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDU4NTg4Mzk4MzQwOjM0MDI4MjM2Njg0MTcxMDMwMTI0NDI3NjAyMDkzMDMzMjAzODM1NTozMTY0MDkzMzYxNzE1OTc3Njc1ODYyMjMzNTkwODQ0NjIwOAZDZD"
When we delete the above message in instagram, the following m_id is received in the webhook:
"aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlEOjE3ODQxNDU4NTg4Mzk4MzQwOjM0MDI4MjM2Njg0MTcxMDMwMDk0OTEyODIxOTUwMjM5MzgzNDg0MzozMTY0MDkzMzYxNzE1OTc3Njc1ODYyMjMzNTkwODQ0NjIwOAZDZD"
Notice the mid in the delete message event has different mid. How will we know that what message is deleted?
I am facing the exact same issue
Happening to me aswell. Just noticed today. Never had issue with unsent messages before.