This commit is contained in:
Lonami 2018-08-21 17:13:42 +02:00 committed by GitHub
parent c7ac616198
commit 31d17b23cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,9 +25,9 @@ class ChatMethods(UserMethods):
search (`str`, optional): search (`str`, optional):
Look for participants with this string in name/username. Look for participants with this string in name/username.
If ``aggressive is True``, the symbols from this string will If ``aggressive is True``, the symbols from this string will
be used be used.
filter (:tl:`ChannelParticipantsFilter`, optional): filter (:tl:`ChannelParticipantsFilter`, optional):
The filter to be used, if you want e.g. only admins The filter to be used, if you want e.g. only admins
@ -93,7 +93,7 @@ class ChatMethods(UserMethods):
offset=0, offset=0,
limit=200, limit=200,
hash=0 hash=0
) for x in search or range(ord('a'), ord('z') + 1)] ) for x in (search or range(ord('a'), ord('z') + 1))]
else: else:
requests = [functions.channels.GetParticipantsRequest( requests = [functions.channels.GetParticipantsRequest(
channel=entity, channel=entity,