Page 1 of 1

(SOLVED) Pushapi for telegram (Zmeventnotification)

Posted: Mon Apr 20, 2020 5:39 pm
by Johnny1337
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.

Re: (SOLVED) Pushapi for telegram (Zmeventnotification)

Posted: Thu Jun 25, 2020 9:53 am
by Hanku
Hey,

I'm stumbling around trying to find out how to do just this.
If you have a working solution or some help on how to do it, I'd be really happy if you can share it and help out :)

Re: (SOLVED) Pushapi for telegram (Zmeventnotification)

Posted: Mon Jul 18, 2022 5:05 pm
by pizzatonno
Hello please share the (or a) script for telegram! I'm very interested :)