BaihuBaihu
Channels

telegram

telegram bot integration

setup

  1. create a bot with @BotFather
  2. copy the bot token
  3. 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"]

On this page