Everything needed to support sending messages over WhatsApp Business
Platform (GA), Facebook Messenger (Public Beta) and Google Business
Messages (Private Beta) was present. Just added some details on
leveraging it.
"This notebook goes over how to use the [Twilio](https://www.twilio.com) API wrapper to send a text message."
"This notebook goes over how to use the [Twilio](https://www.twilio.com) API wrapper to send a message through SMS or [Twilio Messaging Channels](https://www.twilio.com/docs/messaging/channels).\n",
"\n",
"Twilio Messaging Channels facilitates integrations with 3rd party messaging apps and lets you send messages through WhatsApp Business Platform (GA), Facebook Messenger (Public Beta) and Google Business Messages (Private Beta)."
]
]
},
},
{
{
"attachments": {},
"cell_type": "markdown",
"cell_type": "markdown",
"id": "c1a33b13",
"id": "c1a33b13",
"metadata": {},
"metadata": {},
@ -31,6 +35,7 @@
]
]
},
},
{
{
"attachments": {},
"cell_type": "markdown",
"cell_type": "markdown",
"id": "f7e883ae",
"id": "f7e883ae",
"metadata": {},
"metadata": {},
@ -41,11 +46,12 @@
]
]
},
},
{
{
"attachments": {},
"cell_type": "markdown",
"cell_type": "markdown",
"id": "36c133be",
"id": "36c133be",
"metadata": {},
"metadata": {},
"source": [
"source": [
"## Sending a message"
"## Sending an SMS"
]
]
},
},
{
{
@ -81,6 +87,58 @@
"source": [
"source": [
"twilio.run(\"hello world\", \"+16162904619\")"
"twilio.run(\"hello world\", \"+16162904619\")"
]
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "de022dc9",
"metadata": {},
"source": [
"## Sending a WhatsApp Message"
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "a594d0bc",
"metadata": {},
"source": [
"You'll need to link your WhatsApp Business Account with Twilio. You'll also need to make sure that the number to send messages from is configured as a WhatsApp Enabled Sender on Twilio and registered with WhatsApp."