I tried this with RouterOS and I receive the messages on telegram, but not the time, device name and status, maybe because in RouterOS its difrent from Dude, is there any chance to get this working also on RouterOS?
I have automated backups and also like the option to send send via telegram, automated or via command in telegram.
I already tried so send the file with the two following commands, but get the error code 404, I think the URL is wrong, no ones knows how to send the backup file to telegram?
I have followed the instructions but it doesn´t work. To see what´s happening i tried the fetch command on the command line but i always receive the following error:
Sorry man, i didn´t write it right on the last post, but that´s exactly what i typed… I was calling token the entire <BOT_ID>:<BOT_TOKEN> … my mistake. I created the bot using botfather and followed the tutorial, i still got the 502 bad gateway error.
/tool fetch url="https://api.telegram.org/bot<BOT_ID>:<BOT_TOKEN>\?chat_id=348399094&text=Hello World !" keep-result=no
first of all:
/sendMessage? before chat_id
the second is, that you can use it in script (create test scrip with only command to send message), because from command line on mikrotik it wouldn’t work
first of all:
/sendMessage? before chat_id
the second is, that you can use it in script (create test scrip with only command to send message), because from command line on mikrotik it wouldn’t work
Please, write there if you get message in telegram.
If you get - all is correct in your config.
read my previous message - this command can be used in script, but not in command line
if you want, i can send you script that i used for sending message by skype, telegram, viber, e-mail
and i suggest you to delete your message on forum with your bot token
Hi hi, team.
I’m stuck on same problem, or similar to this one.
When i test dude notification all working ok, but when some switch in dude lost , the chat bot is silent.
And i dont know where can be the mistake, because all is working but bot in the chat sleeping
Any information needed ?