29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
|
|
# WhatsApp Transport (Meta Cloud API)
|
||
|
|
# Copy this file to bot.toml and fill in your values.
|
||
|
|
# Only one transport can be active at a time.
|
||
|
|
#
|
||
|
|
# Setup:
|
||
|
|
# 1. Create a Meta Business App at developers.facebook.com
|
||
|
|
# 2. Add the WhatsApp product
|
||
|
|
# 3. Copy your Phone Number ID and generate a permanent access token
|
||
|
|
# 4. Register your webhook URL: https://your-server/webhook/whatsapp
|
||
|
|
# 5. Set the verify token below to match what you configure in Meta's dashboard
|
||
|
|
|
||
|
|
enabled = true
|
||
|
|
transport = "whatsapp"
|
||
|
|
whatsapp_provider = "meta"
|
||
|
|
|
||
|
|
whatsapp_phone_number_id = "123456789012345"
|
||
|
|
whatsapp_access_token = "EAAx..."
|
||
|
|
whatsapp_verify_token = "my-secret-verify-token"
|
||
|
|
|
||
|
|
# Optional: name of the approved Meta message template used for notifications
|
||
|
|
# sent outside the 24-hour messaging window (default: "pipeline_notification").
|
||
|
|
# whatsapp_notification_template = "pipeline_notification"
|
||
|
|
|
||
|
|
# Bot display name (used in formatted messages).
|
||
|
|
# display_name = "Assistant"
|
||
|
|
|
||
|
|
# Maximum conversation turns to remember per user (default: 20).
|
||
|
|
# history_size = 20
|