Expand description
Track C2 — Telegram bridge configuration schema.
TelegramConfig lives alongside an agent’s routes.yaml (typically as
telegram.yaml) and captures everything needed for the runtime to long-poll
Telegram and route messages to the C1 bridge plumbing. Bot tokens are
never stored in this struct — only the macOS Keychain account name that
references them (bot_token_keychain_account).
PrivacyMode controls whether the bridge accepts updates from groups in
addition to direct messages. The default is DmOnly — the safest setting
for a personal companion. AllowGroups requires allow_groups[] to be
populated explicitly.
Structs§
- Telegram
Config - Telegram-specific bridge configuration.
Enums§
- Privacy
Mode - Whether the bridge accepts updates from groups in addition to direct
messages. Default =
DmOnly.