T
T
TemaKam2021-11-13 16:05:17
Python
TemaKam, 2021-11-13 16:05:17

Is it possible to write on behalf of a bot to another bot?

as far as I understand, the token and work with api in telegrams are available only to bots
, if this is not the case, correct me

then the question arises, is it possible on behalf of the bot to write a message not to the channel, not in the PM to the user, but to another bot?
Naturally, a bot cannot press "start" on another bot, but can't this be solved?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
soremix, 2021-11-13
@TemaKam

as far as I understand, the token and work with api in telegrams are available only to bots

Telegram has two APIs:
1. Bot API
2. Client API
is it possible on behalf of the bot to write a message not to the channel, not to the user's PM, but to another bot

No, you can't
https://core.telegram.org/bots/faq#why-doesn-39t-m... If you
want to write to other bots, use the client api. For convenience, there are Pyrogram, Telethon

P
Pavel Levshits, 2021-11-13
@levshx

With the help of API for bots, hardly. You can use the client API and make the "users" bots communicate. But the client API is very complex, unlike bots, this is done for the security of user data, using the MTProto protocol.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question