In telegram when I click Subscribers it shows me about 50 last users and about 150-200 deleted users.
I tried this:
async for user in client.iter_participants(chat_id):
if user.deleted:
print(user)
This gives me only last 50 users and 6-8 deleted users. I need all 150-200 deleted users. How can I get them?
2
Answers
I solved this problem using
GetParticipantsRequest
with offset parameter somehow like this:Not sure about
iter_participants
, butget_participants
works in my case.