File size: 1,239 Bytes
ac265c4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
bots: []
# Example bot:
# - name: my_bot
#   enabled: true
#   notify_messages: false       # Show a WebUI notification for each incoming Telegram message.
#   token: ""
#   mode: polling                # polling or webhook
#   webhook_url: ""              # required if mode=webhook, your A0 base URL e.g. https://yourdomain.com (webhook path appended automatically)
#   webhook_secret: ""           # optional shared secret for webhook verification
#   allowed_users: []            # Telegram user IDs or @usernames. Empty = allow all.
#   group_mode: mention          # mention (respond when @mentioned or replied to) | all (respond to every message) | off (ignore groups)
#   welcome_enabled: false       # Send a greeting when someone joins the group
#   welcome_message: ""          # Welcome template. Use {name} for the new member's name. Default: "Welcome, {name}!"
#   user_projects: {}            # Map Telegram user_id to project name, e.g. { "123456": "my_project" }
#   default_project: ""          # Fallback project if user not in user_projects
#   attachment_max_age_hours: 0  # Hours to keep downloaded attachments. 0 = keep forever.
#   agent_instructions: ""       # Extra instructions for the agent in Telegram chats