Answer the question
In order to leave comments, you need to log in
How to send a message from a telegram bot first?
I want to try to make a script to communicate from a bot with other bots? But as far as I understand, the bot cannot initialize the chat. Is it possible to manage the api on behalf of the user? How to implement communication with a bot using a script?
Answer the question
In order to leave comments, you need to log in
The bot cannot initialize the chat. On behalf of a real user, you can manage the API. There are several implementations on github with varying degrees of readiness. I use https://github.com/zerobias/telegram-mtproto/ for node.js, but a lot of things don’t work there (for example, you can use only one data center, it’s not entirely obvious to work with updates from the server). On a python too is, but everyone should be tried separately. Well, as a last resort, there is a semi-official console client https://github.com/vysheng/tg .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question