2 years 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 --localBut 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
2 Replies
2 years ago
123
2 years ago
Only if you are using the official API and packages.