9 months ago
There is a repository - 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 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
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}'
Port 8081 is the default port when starting the server