Need to invoke requests

Sergey 2017-09-26 00:49:53 +03:00
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: