Skip to main content
FlagDefaultDescription
-token""Telegram bot token
-addr:8080HTTP server listen address
-dbbotdata.dbPath to SQLite database file
-webhook""Set webhook URL for receiving updates
-tg-api""Custom Telegram API base URL
-demofalseEnable demo mode

Examples

# Basic
./botmux -token "TOKEN"

# Custom port and database
./botmux -token "TOKEN" -addr :9090 -db /data/bots.db

# Webhook mode
./botmux -token "TOKEN" -webhook "https://myserver.com/tghook"

# Custom Telegram API
./botmux -token "TOKEN" -tg-api "http://localhost:8081"