Page 1 of 1

Using Telegram

Posted: Sunday 06 August 2017 16:29
by bing69
I get on my way slowly. Have already made various scripts and blocky's.
Pushover also works but I have a question about how I get telegram (bone) method working.
Does this work in the same way as in SH?


curl --data chat_id=19959367 --data-urlencode "text=Some complex text $25 78%" "https://api.telegram.org/bot_mijn code/sendMessage?chat_id=Mijn_id&text=Er is aangebeld!"

Re: Using Telegram

Posted: Sunday 06 August 2017 17:11
by randytsuch
Did you try something like this?

Code: Select all

os.execute('curl command to send telegram .....')
I haven't used telegram so I don't know the specifics of using it

Re: Using Telegram

Posted: Sunday 06 August 2017 20:14
by Milifax

Re: Using Telegram

Posted: Monday 07 August 2017 10:56
by bing69
randytsuch wrote:Did you try something like this?

Code: Select all

os.execute('curl command to send telegram .....')
I haven't used telegram so I don't know the specifics of using it
Thanks, but that not works :oops:

Re: Using Telegram

Posted: Monday 07 August 2017 11:02
by bing69
Thanks !, The same syntax (except extra ") as in LUA :)