ableev / ableev/Zabbix-in-Telegram

You need to mention your bot in 'user' group chat (i.e. type @YourBot)

Aperta
#79 24 commenti 0 reazioni 1 assegnatario Rivendicata da @ableev Vedi su GitHub
bug
Lingua principale
Python
Stelle
815
Fork
236
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

So I have worked with this script before - and it worked perfectly!

For some reason, all I get is: 'You need to mention your bot in 'username' group chat (i.e. type @YourBot)'.
I (of course) mentioned the bot in the group chat, that did not help. I re-registered the bot, disabled privacy mode, nothing seems to help.. Any ideas what I might be doing wrong, or some recent update to Telegram?

So the steps:

Create bot, fill in API key in zbxtg_settings.py
Create a group channel and add bot to it

Test group functionality with '--group' (test without the --group param works):

```
username@host:/usr/lib/zabbix/alertscripts$ sudo -u zabbix ./zbxtg.py Username "Hi there" "Hi there again" --group
zbxtg.py: You need to mention your bot in 'Username' group chat (i.e. type @YourBot)
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.