(SOLVED) Pushapi for telegram (Zmeventnotification)

Previous development branch now released as 1.36
Locked
Johnny1337
Posts: 14
Joined: Tue Oct 15, 2019 11:22 am

(SOLVED) Pushapi for telegram (Zmeventnotification)

Post 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.
Hanku
Posts: 1
Joined: Thu Jun 25, 2020 9:50 am

Re: (SOLVED) Pushapi for telegram (Zmeventnotification)

Post 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 :)
pizzatonno
Posts: 1
Joined: Mon Jul 18, 2022 5:02 pm

Re: (SOLVED) Pushapi for telegram (Zmeventnotification)

Post by pizzatonno »

Hello please share the (or a) script for telegram! I'm very interested :)
Locked