Answer the question
In order to leave comments, you need to log in
How to send a file to Telegram from MikroTik?
Please tell me there is an option to send a file to telegram from MikroTik?
tried like this, it doesn't work
:execute [/system backup save name="test" dont-encrypt=yes];
:local newbackup [/file find name="test.backup"];
/tool fetch url="https://api.telegram.org/botXXXXXXXXX:AAAAABBBBBCCCCCDDDDD/sendDocument\?chat_id=XXXXXXXXX" http-method=post http-data="document=$newbackup" keep-result=no;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question