B
B
beper2020-08-31 11:35:09
Bots
beper, 2020-08-31 11:35:09

Link a telegram bot to your account?

I’m not very familiar with the topic of bots, the task is this: messages with the name of films come to one of my chats, it needs to be automated so that the telegram itself sends these messages to another chat, but only those where the names of the films, all such messages begin the same way.
The question is, is there a program or a way that the bot would not be a separate account, but would answer and process information through my account and be responsible for me?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2020-08-31
@shabelski89

For example, through the teleton library , you can emulate both the user and the bot.

0
0nkery, 2020-08-31
@0nkery

The bot must be in a chat where it needs to forward messages and have permission to send messages. Then your users send movie titles to the bot, the bot code one way or another selects the necessary messages, and then forwards them to the desired chat.
If we are talking about viewing messages in an existing chat, then you need to allow the bot to access them, and then the procedure is the same.

N
Nikita, 2020-08-31
@Nigrimmist

Chat admin adds your bot, gives him the rights to read messages. The bot monitors all messages, "grabs" the ones you need and sends them where you need them. The main trick is that it is added by the admin and he has the rights to do it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question