mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Need to invoke requests
parent
3a132a2985
commit
5afb8bc66f
|
@ -12,7 +12,7 @@ limit = 50
|
||||||
all_participants = []
|
all_participants = []
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
participants = client(GetParticipantsRequest(
|
participants = client.invoke(GetParticipantsRequest(
|
||||||
channel, ChannelParticipantsSearch(''), offset, limit
|
channel, ChannelParticipantsSearch(''), offset, limit
|
||||||
))
|
))
|
||||||
if not participants.users:
|
if not participants.users:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user