Answer the question
In order to leave comments, you need to log in
How to view group administrators in telegram using telethon?
How to do this, I already looked at a lot of things, it did not help ...
Answer the question
In order to leave comments, you need to log in
from telethon.tl.types import ChatParticipantCreator, ChatParticipantAdmin
for user in client.get_participants(chat, aggressive=True):
if isinstance(user.participant, ChatParticipantAdmin) or isinstance(user.participant, ChatParticipantCreator):
print(user.first_name)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question