Receive whatsapp's "reply-to" message ID with Twilio - twilio

Whatsapp allows to reply directly to a certain message (ID) by swiping this message to the left/right and then replying: https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-messages#replies
When receiving this message reply via our webhook called by Twilio, from which field can we get the orgiginal message ID the whatapp user replied directly to?
Edit: Possibly related: Reply to specific whatsapp message on whatsapp api

Related

Twilio not sending SMS to phone number

I've enough account on my twilio account. My twilio phone number is from US but when I tried to send message from my twilio to other Region I couldn't received any text but the status shows sent.

How to send SMS from Chat flow in Studio

I have a studio flow that receives chat messages (from Whatsapp) and forward the conversation to Flex.
I'm trying to send a SMS notification to a hard-coded number as this happen.
The issue is that the SMS is never sent and the Send Message widget fails with the following log:
Failure sending message: Chat service or channel parameter missing
I understand that it's probably because the flow has a Chat context and that the widget expects a Chat Service. But I want to send a SMS.
I tried to configure the Send Message widget like this:
SEND MESSAGE FROM and SEND MESSAGE TO set and all other config fields empty
SEND MESSAGE FROM and SEND MESSAGE TO and PROGRAMMABLE CHAT SERVICE with a Messaging Service ID (which doesn't really make sense but hey...)
Neither worked.
How can I send a SMS from a Chat flow in Studio?
I was just able to knock up a quick Studio Flow that receives messages from WhatsApp and sends out an SMS to a hard-coded number and it worked for me. The way I did it was to hard code both the Send message from and Send message to numbers in the Messaging & chat config section of the Send Message widget, like this:
In this case you must ensure that the Send message from number is a Twilio number that is able to send SMS messages.

How to know that a specfic incoming sms is a reply to a previous outgoing sms?

I am integrating Twilio SMS service where my users are able to send SMS messages to their clients. I would like to be able to link each reply with the sent SMS. In another word, is there any field in the Message Resource that could lead me to conclude whether the incoming message received is related to the outgoing message my user sent previously ? I need same behavior as Email send/reply functionalities.
Twilio developer evangelist here.
There is no way to do this I’m afraid, the SMS protocol has no information about users replying to a specific message. SMS is chronological, you can test this by opening your phone’s SMS app and trying to reply to the second to last message you received from someone. In SMS there’s no way to do that.
The best thing you can do is consider the messages chronologically, and assume that the reply is in response to the last message you sent to that number from the number you sent it from.
I suspect your are interested in this because you need to send notifications and get responses to those notifications and you realised you might need to send more than one notification to a user at a time but still get their responses. The best way to get around this is to use different numbers to send the different notification messages from, then when they reply you can tell which notification they were replying to by the number they sent the message to.

Twilio SMS have status delivered but don`t receive to phone

Twilio SMS have status delivered but don`t receive to phone
I try to send other phone numbers but have the same problem
Refer to the Twilio Support page about Troubleshooting Undelivered Twilio SMS Messages;
Twilio's Support team can help investigate what went wrong with
delivering your message. Please collect 3 or more message SIDs in your
SMS logs from the last 24 hours that show these same issues, and
Open a support request.
I find the reason
for other operators dont like the same worlds for me is "points"
I delete "points" from message and SMS receive

How to set recipient number in SMS activity from UIActivityController

I have to send invitation to specific number from SMS activity which is from UIActivityController. I searched about this but didn't see any code to set recipient for SMS activity in UIActivityController.

Resources