homeserver = "https://matrix.example.com" username = "@botname:example.com" password = "your-bot-password" # 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" allowed_users = ["@youruser:example.com"] enabled = false # Maximum conversation turns to remember per room (default: 20). # history_size = 20 # 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"] # ── 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"