Telegram¶
In Telegram, we use groups with topics instead of channels.
Create bot¶
Use this instuction. Save bot token as TELEGRAM_BOT_TOKEN
ENV (use in 2.3 here).
Configure group¶
-
Open group, go to Menu, press "Manage group"
- enable "Topics"
- you can set our icon by pressing "photo" image
- press Save
-
Add bot to your group
-
application.admin_users
should be in allroute
groups. -
Add users from
application.chains
to their groups.To make it simpler you can add all
application.users
to all groups fromroute
block. -
Highly recommend mute notifications forever for group
-
Get group ID (with
@myidbot
bot)- add
@myidbot
bot to group - go to group's "General" topic and send command
/getgroupid@myidbot
- use group ID in
application.channels
block - you can remove
@myidbot
bot
- add
-
IMPulse bot should have permissions to interact with users. If you see log WARNING user <username> not found in Telegram and will not be notified try to send message from <username> to bot. This should help.