2026-02-25 13:00:00 +00:00
|
|
|
homeserver = "https://matrix.example.com"
|
|
|
|
|
username = "@botname:example.com"
|
|
|
|
|
password = "your-bot-password"
|
2026-02-25 15:25:13 +00:00
|
|
|
|
|
|
|
|
# List one or more rooms to listen in. Use a single-element list for one room.
|
|
|
|
|
room_ids = ["!roomid:example.com"]
|
|
|
|
|
|
|
|
|
|
# Optional: the deprecated single-room key is still accepted for backwards compat.
|
|
|
|
|
# room_id = "!roomid:example.com"
|
|
|
|
|
|
2026-02-25 14:59:20 +00:00
|
|
|
allowed_users = ["@youruser:example.com"]
|
2026-02-25 13:00:00 +00:00
|
|
|
enabled = false
|
2026-02-25 15:25:13 +00:00
|
|
|
|
|
|
|
|
# Maximum conversation turns to remember per room (default: 20).
|
|
|
|
|
# history_size = 20
|
2026-03-18 14:58:06 +00:00
|
|
|
|
|
|
|
|
# Rooms where the bot responds to all messages (not just addressed ones).
|
|
|
|
|
# This list is updated automatically when users toggle ambient mode at runtime.
|
|
|
|
|
# ambient_rooms = ["!roomid:example.com"]
|
2026-03-19 23:03:35 +00:00
|
|
|
|
|
|
|
|
# ── WhatsApp Business API ──────────────────────────────────────────────
|
|
|
|
|
# Set transport = "whatsapp" to use WhatsApp instead of Matrix.
|
|
|
|
|
# The webhook endpoint will be available at /webhook/whatsapp.
|
|
|
|
|
# You must configure this URL in the Meta Developer Dashboard.
|
|
|
|
|
#
|
|
|
|
|
# transport = "whatsapp"
|
|
|
|
|
# whatsapp_phone_number_id = "123456789012345"
|
|
|
|
|
# whatsapp_access_token = "EAAx..."
|
|
|
|
|
# whatsapp_verify_token = "my-secret-verify-token"
|