Community discussions

MikroTik App
 
abbio90
Member Candidate
Member Candidate
Topic Author
Posts: 217
Joined: Fri Aug 27, 2021 9:16 pm
Contact:

Telegram inline keyboard

Tue Apr 23, 2024 8:36 am

good morning, does anyone know if it is possible to insert an inline keyboard into a telegram message sent with fetch that can launch a script by clicking on it? I'll try to explain myself better. I have a microtik that sends telegram notifications. After receiving messages, I would like to be able to launch scripts via telegram. For example, when I receive a message from a user connected to the VPN I launch a script by clicking on a Telegram button
 
User avatar
loloski
Member
Member
Posts: 353
Joined: Mon Mar 15, 2021 9:10 pm

Re: Telegram inline keyboard

Tue Apr 23, 2024 8:59 am

I think this is the closes you can get and for me at least it works great!
https://github.com/eworm-de/routeros-scripts/blob/main/doc/telegram-chat.md
 
abbio90
Member Candidate
Member Candidate
Topic Author
Posts: 217
Joined: Fri Aug 27, 2021 9:16 pm
Contact:

Re: Telegram inline keyboard

Tue Apr 23, 2024 9:53 am

interesting, does this script run on a Linux machine? or where exactly it should be installed
 
User avatar
loloski
Member
Member
Posts: 353
Joined: Mon Mar 15, 2021 9:10 pm

Re: Telegram inline keyboard

Tue Apr 23, 2024 2:55 pm

What that program does you can communicate to your Mikrotik device from telegram in the form of chat / bot and you can execute any script stored in your MT just want to set the expectation

Who is online

Users browsing this forum: Amazon [Bot] and 13 guests