Anyone interested to manage a remote computer (a web server or a regular computer with access to the Internet) via telegram client, I made a working example of the program with source code
https://github.com/Al-Muhandis/ShellRemoteBotActively tested on Linux (Debian), but should work on Windows. Instead of webhooks, longpolling is used to get updates from telegram server, respectively, the program can work not only on a web server, but also on any home computer.
It is convenient to manage a web server via telegram in the phone (of course you can search for SSH client on the phone, but if you already have telegram, you can use this service).
The program can run as a console program that runs manually and as a service/daemon