Telegram setup
The example config has no Telegram; first add the telegram section and the persona's telegram account from Optional features.
- Create one bot per character with
/newbotat @BotFather and put the token in.env(e.g.TELEGRAM_LUNA_TOKEN: …). - Use
/setprivacyto set privacy mode to Disable, or make the bot a group admin; otherwise it only sees commands and messages addressed to it. After changing it, remove the bot from the group and add it again. Theprivacy_mode_enabledwarning in the startup log points at this. - Add the bot to the group and put the group ID (supergroups look like
-100…) intelegram.chatIds. If you don't know it, start with any placeholder, send a message in the group, and readchat_idfrom thechat_ignoredlog event.
Telegram limitation: bots cannot see other bots' messages. With several characters in one group they do not see each other's replies; each one knows only what members said and what it said itself. Discord has no such limit.
Telegram replies convert Markdown into message entities and are split above 4096 characters. Characters put long explanations and lists in a ```fold block, shown as a quote that stays collapsed until tapped (inside it only bold/italic/strikethrough survive, code shows as plain text and links are written as "label (url)"). Reactions are limited to the emoji set allowed by the Bot API (which has no 😂).
