Community discussions

MikroTik App
 
BrookXVll
just joined
Topic Author
Posts: 7
Joined: Sat Jul 23, 2022 1:13 pm

Telegram for Mikrotik...

Sat Jul 23, 2022 1:27 pm

Hello friends.

I want to present to your attention a Telegram bot that is written in Mikrotik Script and works in a router environment without using third-party services.

Its development became possible after one of the authors of Habr posted a library for public access, with which you can parse JSON objects into an associative array on Mikrotiks. The author's name is Alexander @Chupakabra303. Thank him very much for that. The author also has good articles on the study of variables and functions.

Also in terms of functions, there is excellent material on the same Habr from dear Sergey Sertik13. I highly recommend it to anyone who wants to understand this issue.

Well, having gathered together, including this knowledge, I wrote a bot, which now helps me a lot in my work. I started posting information on it on my channel. To all who are interested - welcome https://t.me/mikRobot_RU

The bot is modular, written using functions. Its first version was almost monolithic, which was very inconvenient from the point of view of debugging and updating. Functions solve this issue. Library functions for Telegram, such as SendMessage, EditMessage, etc. are also written. I plan to share them soon, as well as the main part of the code.

This is how it looks in the mikrotik itself
Image

And this is the main window of the bot
Image

More information on the channel.

Original post
 
BrookXVll
just joined
Topic Author
Posts: 7
Joined: Sat Jul 23, 2022 1:13 pm

Re: Telegram for Mikrotik...

Mon Aug 22, 2022 2:26 pm

The basic version of the bot has already been published on my Telegram channel.
 
BillyVan
newbie
Posts: 36
Joined: Tue Sep 04, 2018 10:29 pm
Location: Greece

Re: Telegram for Mikrotik...

Mon Aug 22, 2022 8:43 pm

No english group...
 
BrookXVll
just joined
Topic Author
Posts: 7
Joined: Sat Jul 23, 2022 1:13 pm

Re: Telegram for Mikrotik...

Mon Aug 22, 2022 9:06 pm

Sorry friends, the English-language channel will be published soon.
The English text is published in the comments.

Who is online

Users browsing this forum: No registered users and 13 guests