How can I launch a telegram bot compiled into a binary file on the server through a proxy?

How can this be done? There is a binary file. I just upload it to the server (ubuntu), because I don’t know how to deploy the bot correctly on the server … then I launch it (./app), first set the permissions on the file, and naturally writes that it cannot connect to the api telegram, can someone tell me how to deploy the bot on ubuntu, so that the socks will be deployed on this server, and a connection to api will already take place through it.

I use this library for a bot https://github.com/go-telegram-bot-api/telegram-bot-api/wiki

Did not find if there is a connection method through the socks in it, who has experience, please share, it will be useful)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.