ableev / ableev/Zabbix-in-Telegram

Can`t send message to public chat

Aperta
#187 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
815
Fork
236
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm trying this one command to test sending from cli

`zbxtg.py "@xxx" test test`

where @xxx is my personal profile, and I'm receiving new message from @MyAlertingBot to my personal account (@xxx)

![image](https://user-images.githubusercontent.com/6821061/69887488-3f374e80-12f8-11ea-9d66-a3c695702389.png)

But if I am trying

`zbxtg.py "@yyy" test test`

where @yyy is public channel, I'm getting this error
`zbxtg.py: You need start a conversation with your bot first in '@yyy' group chat, type '/start@MyAlertingBot'`

After sending "/start@MyAlertingBot" message in @yyy chat nothing happens.

At the same time alerting from graylog via @MyAlertingBot to @yyy works well...

I have read all the wiki pages and all the repository files, but can`t find the answer.

_Reinviting @MyAlertingBot to @yyy chat has no effect_
_zbx_tg_tmp_dir is 100% writable, becase new file was created there after first zbxtg.py script call_

My config: (zbx_server_version 4)

![image](https://user-images.githubusercontent.com/6821061/69888091-24b2a480-12fb-11ea-92b8-57f56f9a3f31.png)

Debug info:
![image](https://user-images.githubusercontent.com/6821061/69888330-5841fe80-12fc-11ea-9154-dd76a4f8ff93.png)

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.