R
Railway3mo ago
x4zx

Is it possible to install telegram bot api on Railway?

There is a repository https://github.com/tdlib/telegram-bot-api?tab=readme-ov-file#installation - it exists to allow you to extend the limits of a telegram bot to the limits of a normal user. It is easy to install this package on your own PC, using https://tdlib.github.io/telegram-bot-api/build.html and start the server with help:
telegram-bot-api --api-id=API_ID --api-hash=API_HASH --http-ip-address=127.0.0.1 --local
telegram-bot-api --api-id=API_ID --api-hash=API_HASH --http-ip-address=127.0.0.1 --local
But here's a question, is it possible to install this api on the server and interact with it? Maybe someone has done something like this before. Unfortunately I couldn't find any information on the Internet, either an article or a video where they would explain in detail how to do it. Of course, I suspect that I may need a docker to realize my idea. In the code, the connection is made as follows:
apihelper.API_URL = 'http://127.0.0.1:8081/bot{0}/{1}'
apihelper.API_URL = 'http://127.0.0.1:8081/bot{0}/{1}'
Port 8081 is the default port when starting the server
1 Reply
MantisInABox
MantisInABox3mo ago
Only if you are using the official API and packages.
Want results from more Discord servers?
Add your server