R
R
Resolut2021-12-28 00:40:44
Python
Resolut, 2021-12-28 00:40:44

Aigram | How to track the event of adding a bot to a channel?

Is it possible to track this event and extract from it the chat.id of the channel to which the bot was added?
If so, how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
desaki, 2021-12-28
@desaki

@dp.message_handler(content_types=["new_chat_members"])

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question