25 lines
858 B
Plaintext
25 lines
858 B
Plaintext
|
|
# WhatsApp Transport (Twilio)
|
||
|
|
# Copy this file to bot.toml and fill in your values.
|
||
|
|
# Only one transport can be active at a time.
|
||
|
|
#
|
||
|
|
# Setup:
|
||
|
|
# 1. Sign up at twilio.com
|
||
|
|
# 2. Activate the WhatsApp sandbox (Messaging > Try it out > Send a WhatsApp message)
|
||
|
|
# 3. Send the sandbox join code from your WhatsApp to the sandbox number
|
||
|
|
# 4. Copy your Account SID, Auth Token, and sandbox number below
|
||
|
|
# 5. Set your webhook URL in the Twilio console: https://your-server/webhook/whatsapp
|
||
|
|
|
||
|
|
enabled = true
|
||
|
|
transport = "whatsapp"
|
||
|
|
whatsapp_provider = "twilio"
|
||
|
|
|
||
|
|
twilio_account_sid = "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||
|
|
twilio_auth_token = "your_auth_token"
|
||
|
|
twilio_whatsapp_number = "+14155238886"
|
||
|
|
|
||
|
|
# Bot display name (used in formatted messages).
|
||
|
|
# display_name = "Assistant"
|
||
|
|
|
||
|
|
# Maximum conversation turns to remember per user (default: 20).
|
||
|
|
# history_size = 20
|