Search code examples
pythontwiliowhatsapptwilio-autopilot

is there a way which can tell me if a message in whatsapp was tagged (or replying to)


CONTEXT: Im trying to make a reminder system on whatsapp (TWILIO AUTOPILOT)

and to change state of task from incomplete to complete i thought it would be easy if user tags or replies to a particular reminder with done.

QUESTION: If a user tags or replies to a message, is there a way i can retrieve information about that message, example the text in contained

IMAGE:

Reply img 1

reply image two

output needed in this case: "Todays List: ... etc etc"


Solution

  • Twilio developer evangelist here.

    I'm afraid that information is not currently available in the Twilio API for WhatsApp. You can see the extra parameters that you receive in the webhook for a WhatsApp message here, including parameters like ProfileName, WaId, Forwarded, FrequentlyForwarded and ButtonText, but nothing to do with replied to messages.