(SOLVED) Pushapi for telegram (Zmeventnotification)
Posted: Mon Apr 20, 2020 5:39 pm
Hi,
Anyone who has created a Pushapi script for telegram, like the one for Pushover?
(https://github.com/pliablepixels/zmeven ... ushover.py)
I have been using sendPhoto and sendMessage from Telegram api in the zm_event_start.sh-script but I am not a python-programmer. sendVideo is also available.
(curl -s -X POST "https://api.telegram.org/bot.../sendMessage" -F chat_id=CHATID -F text="test")
https://core.telegram.org/bots/api
I would be glad if someone could share if someone have done it before.
Thanks in advance!
[Edit]
I managed to create a working script. So far without error handling. Maybe post later if someone else want it.
Anyone who has created a Pushapi script for telegram, like the one for Pushover?
(https://github.com/pliablepixels/zmeven ... ushover.py)
I have been using sendPhoto and sendMessage from Telegram api in the zm_event_start.sh-script but I am not a python-programmer. sendVideo is also available.
(curl -s -X POST "https://api.telegram.org/bot.../sendMessage" -F chat_id=CHATID -F text="test")
https://core.telegram.org/bots/api
I would be glad if someone could share if someone have done it before.
Thanks in advance!
[Edit]
I managed to create a working script. So far without error handling. Maybe post later if someone else want it.