whatsapp-api
whatsapp-api copied to clipboard
ADHOC data in sendText to recieve the same in webhook
Let me elaborate on the requirement.
When I send a text message, I receive message.update event with DELIVERY_ACK post delivery. When I make a request to send a message, I will send some additional data. I would need that data to be returned to me in the webhook callback.
This would help me in identifying the resource that triggered the message. The data I send is dynamic that varies for each message wrt resource that triggered this event.
Originally posted by @aravindanf22labs in https://github.com/code-chat-br/whatsapp-api/issues/143#issuecomment-2258025540