Programmable Messaging | Mar. 07, 2023
WhatsApp inbound messages will now include reply context
When users reply to a specific WhatsApp message, Twilio now passes additional context to the WhatsApp Sender’s webhook URL. The OriginalRepliedMessageSender and OriginalRepliedMessageSid parameters will include information about the previous message the user replied to. If you need the content of the original message, you can use this API to fetch the Message Resource.
Note that only message replies to messages sent within the last 7 days will contain this additional context. Incoming message replies to messages sent over 7 days ago will still be delivered, but will lack this additional information.
For more information about this and other inbound message parameters, please refer to this page.