Skip to content

How to send message to the group chat

Ilya Ableev edited this page Jan 20, 2016 · 5 revisions

First steps

  1. Invite your bot to the group chat
  2. Mention you bot in the group (for example, @ZbxTgDevBot)

Test from command line

Run script from command line
./zbxtg_group.py "Zabbix in Telegram" "test" "test"
The first argument is the name of group. In case of success you will receive test message in your group chat.

Web interface, add media for users and create actions

  1. Add new media type
2. Add new media for user with group name (if you don't have such user, you can create a new one)
3. Create new action or add new sending rule to existing