diff options
author | 2024-03-28 21:29:27 +0100 | |
---|---|---|
committer | 2024-04-01 22:45:35 +0200 | |
commit | c01a424f4f41997d1b8b4a45c2bb033f37470393 (patch) | |
tree | eb33dc6b1f169a3c433ecf389755c63fe187188a /doc | |
parent | 15ca80fbf7a066c307f5db9d0c688b9e85ed38d2 (diff) |
telegram-chat: read file content...routeros-7.13-2change-126
... instead of getting it. This lifts the size limit, though we are
still limited by Telegram message size.
This requires RouterOS 7.13.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/telegram-chat.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/telegram-chat.md b/doc/telegram-chat.md index 2a4af99..eb4acf5 100644 --- a/doc/telegram-chat.md +++ b/doc/telegram-chat.md @@ -4,7 +4,7 @@ Chat with your router and send commands via Telegram bot [](https://github.com/eworm-de/routeros-scripts/stargazers) [](https://github.com/eworm-de/routeros-scripts/network) [](https://github.com/eworm-de/routeros-scripts/watchers) -[](https://mikrotik.com/download/changelogs/) +[](https://mikrotik.com/download/changelogs/) [](https://t.me/routeros_scripts) [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A4ZXBD6YS2W8J) @@ -130,9 +130,8 @@ send information on its own. Something like this should do the job: ### Output size -RouterOS is limited in reading file content to a size of about four -kilobytes. Reading larger files does just fail, and that is also the limit -for command output. +Telegram messages have a limit of 4096 characters. If output is too large it +is truncated, and a warning is added to the message. ### Sending commands to a group |