S
S
Sasha Filinsky2021-12-21 22:47:01
Python
Sasha Filinsky, 2021-12-21 22:47:01

How to get all chat users?

Hello.
I am writing a chat bot on aiogram. Question: How to get all chat users?

The bot has admin rights in the chat.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
desaki, 2021-12-22
@desaki

With the help of aiogram, there is no way to get it. Can be obtained using telethon, but bots do not have rights to receive all chat participants , therefore it is only possible on behalf of the user.

I
Ivan Ivanov, 2021-12-22
@surlan

This is only through the client api, your client. The bot can't do this
PHP library https://docs.madelineproto.xyz/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question