P
P
Pahom62332020-12-25 17:22:45
Python
Pahom6233, 2020-12-25 17:22:45

How to make a bot from your telegram account to work with another telegram bot?

Greetings.
There was an idea to create a bot (my telegram account), which will take information from the telegram bot.
For example: There is my telegram account and there is some bot (not mine) that sends information about, for example, the weather in Moscow.
I need my telegram account (like a bot) to send a message or command to the bot. Then the received response from the bot would be written, for example, to a txt document.

I know it's hard to describe. But to put it simply, I want to make a bot out of my telegram account to work with other bots. So that you can parse information from them (bots) and save it somewhere (for example, to a txt file on drive C).

Can someone tell me if it's really possible to do this with basic knowledge of c#, js, python?
Or maybe somewhere there is a guide where they create something similar?

Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dr. Bacon, 2020-12-25
@bacon

The bot cannot send a message or command to a "foreign" bot, this can only be done from the user's account, there are telethon, pyrogram or similar libraries for this.

J
John Rosed, 2020-12-27
@dessired

https://docs.telethon.dev/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question