twilio_sms
diapason.channels.twilio_sms
¶
Twilio SMS channel for sending and receiving text messages.
TwilioSMSChannel
¶
Bases: BaseChannel
Send and receive SMS via Twilio.
Sending uses the Twilio REST API. Receiving is handled by
the /webhooks/twilio FastAPI endpoint which calls
registered handlers.
handle_webhook(from_number, body, message_sid='')
¶
Called by the webhook route for incoming SMS.