mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-03 01:34:47 +02:00
telegram-chat: read file content...
... instead of getting it. This lifts the size limit, though we are still limited by Telegram message size. This requires RouterOS 7.13.
This commit is contained in:
parent
15ca80fbf7
commit
c01a424f4f
4 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue