Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support message IDs for Twilio Whatsapp #1203

Merged
merged 10 commits into from
Aug 2, 2023
Merged

Conversation

J0
Copy link
Contributor

@J0 J0 commented Jul 31, 2023

Support the use of Message IDs for Twilio Programmable Messaging on the WhatsApp channel. Arising from a customer request during their launch.

Thewhatsapp: channel currently only works when using a phone number in the Message Service ID field. It was assumed that developers would only wish to use whatsapp channel with a phone number.

However, customers may wish to use Geomatch in order to use both SMS and WhatsApp channels. When using Geomatch, Twilio will select the best suited number within the Sender pool of the Message Service and use that as the sender. For instance, if sending to the UK and there is a UK number Twilio and a German number will likely the UK number over the German number.

As Geomatch only works with Message IDs we need to add support for using MessageIDs on the whatsapp channel on Programmable Messaging.

Not needed for Twilio Verify as Twilio Verify does not require the channel to be prefixed before a phone number.

@J0 J0 marked this pull request as ready for review August 1, 2023 12:32
@J0 J0 requested a review from a team as a code owner August 1, 2023 12:32
@J0 J0 requested review from hf and kangmingtay August 2, 2023 07:54
@J0 J0 merged commit 77e85c8 into master Aug 2, 2023
1 check passed
@J0 J0 deleted the j0/support_whatsapp_on_twilio branch August 2, 2023 16:28
@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2023

🎉 This PR is included in version 2.90.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

uxodb pushed a commit to uxodb/auth that referenced this pull request Nov 13, 2024
Support the use of Message IDs for Twilio Programmable Messaging on the
WhatsApp channel. Arising from a customer request during their launch.

The`whatsapp:` channel currently only works when using a phone number in
the Message Service ID field. It was assumed that developers would only
wish to use `whatsapp` channel with a phone number.

However, customers may wish to use
[Geomatch](https://support.twilio.com/hc/en-us/articles/223181268-What-is-Geomatch-and-how-does-it-work-)
in order to use both SMS and WhatsApp channels. When using Geomatch,
Twilio will select the best suited number within the Sender pool of the
Message Service and use that as the sender. For instance, if sending to
the UK and there is a UK number Twilio and a German number will likely
the UK number over the German number.

As Geomatch only works with Message IDs we need to add support for using
MessageIDs on the `whatsapp` channel on Programmable Messaging.


Not needed for Twilio Verify as Twilio Verify does not require the
channel to be prefixed before a phone number.

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 13, 2024
Support the use of Message IDs for Twilio Programmable Messaging on the
WhatsApp channel. Arising from a customer request during their launch.

The`whatsapp:` channel currently only works when using a phone number in
the Message Service ID field. It was assumed that developers would only
wish to use `whatsapp` channel with a phone number.

However, customers may wish to use
[Geomatch](https://support.twilio.com/hc/en-us/articles/223181268-What-is-Geomatch-and-how-does-it-work-)
in order to use both SMS and WhatsApp channels. When using Geomatch,
Twilio will select the best suited number within the Sender pool of the
Message Service and use that as the sender. For instance, if sending to
the UK and there is a UK number Twilio and a German number will likely
the UK number over the German number.

As Geomatch only works with Message IDs we need to add support for using
MessageIDs on the `whatsapp` channel on Programmable Messaging.


Not needed for Twilio Verify as Twilio Verify does not require the
channel to be prefixed before a phone number.

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 15, 2024
Support the use of Message IDs for Twilio Programmable Messaging on the
WhatsApp channel. Arising from a customer request during their launch.

The`whatsapp:` channel currently only works when using a phone number in
the Message Service ID field. It was assumed that developers would only
wish to use `whatsapp` channel with a phone number.

However, customers may wish to use
[Geomatch](https://support.twilio.com/hc/en-us/articles/223181268-What-is-Geomatch-and-how-does-it-work-)
in order to use both SMS and WhatsApp channels. When using Geomatch,
Twilio will select the best suited number within the Sender pool of the
Message Service and use that as the sender. For instance, if sending to
the UK and there is a UK number Twilio and a German number will likely
the UK number over the German number.

As Geomatch only works with Message IDs we need to add support for using
MessageIDs on the `whatsapp` channel on Programmable Messaging.


Not needed for Twilio Verify as Twilio Verify does not require the
channel to be prefixed before a phone number.

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants