Channels
telegram
telegram bot integration
setup
- create a bot with @BotFather
- copy the bot token
- run the onboard wizard:
baihu onboard --channels-only
or manually:
[channels_config.telegram]
token = "enc2:..." # encrypted via onboard
allowed_users = ["123456789"]
finding your user ID
send a message to @userinfobot on telegram.
allowlist
# deny all (default)
allowed_users = []
# allow specific users
allowed_users = ["123456789", "987654321"]
# allow everyone (not recommended)
allowed_users = ["*"]
start
baihu channel start telegram
or include in daemon autostart:
[channels_config]
autostart = ["telegram"]