-
Notifications
You must be signed in to change notification settings - Fork 236
How to send message to the group chat
Ilya Ableev edited this page Jan 8, 2016
·
5 revisions
- Invite your bot to the group chat
- Mention you bot in the group (for example,
@ZbxTgDevBot)
Run script from command line
./zbxtg.py "Zabbix in Telegram" "test" "$(echo -e "zbxtg;chat")"
The first argument is the name of group.
In the third argument you need to put "zbxtg;chat" to indicate that you need to send this message to group chat.
In case of success you
- Add new media for user with group name (if you don't have such user, you can create a new one)
- Create new action with "zbxtg;chat" in action's body
You need to add this keyword in both messages (about the problem and about the recovery)
You need to add this keyword in both messages (about the problem and about the recovery)