I can't figure out how exactly to write bot.callback so(or something else) that the /run docker ps command (or all other commands with /run) will be executed when the button is pressed in the terminal.
Unfortunately I am very weak with JS.
P.S I was able to figure out how to use /setcommands through BotFather, but I would like to use the button.
Hello friends! :)
Thank you for this project!
Please help me, I can't think of a solution to run the /run docker ps command by button.
I can't figure out how exactly to write bot.callback so(or something else) that the /run docker ps command (or all other commands with /run) will be executed when the button is pressed in the terminal.
Unfortunately I am very weak with JS.
P.S I was able to figure out how to use /setcommands through BotFather, but I would like to use the button.