Documentation
¶
Overview ¶
Command localbot runs a minimal Telegram chat gateway: long-poll ingress, the durable local spool, and per-conversation agent sessions under a local data directory. Sessions are created with all tools disabled (the LocalProvider default); wire tools explicitly via chat.WithSessionOptions if you need them.
Environment:
TELEGRAM_BOT_TOKEN bot token from @BotFather (required)
TELEGRAM_ALLOWED_SENDERS comma-separated Telegram user ids allowed to
drive the bot (optional; empty = allow all)
LOCALBOT_DATA_DIR spool + session root (default ./localbot-data)
Click to show internal directories.
Click to hide internal directories.