mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Remove the "private" _total parameter
This commit is contained in:
@@ -189,7 +189,8 @@ class ChatMethods(UserMethods):
|
||||
|
||||
def iter_participants(
|
||||
self, entity, limit=None, *, search='',
|
||||
filter=None, aggressive=False, _total=None):
|
||||
filter=None, aggressive=False
|
||||
):
|
||||
"""
|
||||
Iterator over the participants belonging to the specified chat.
|
||||
|
||||
@@ -227,9 +228,6 @@ class ChatMethods(UserMethods):
|
||||
|
||||
This has no effect if a ``filter`` is given.
|
||||
|
||||
_total (`list`, optional):
|
||||
A single-item list to pass the total parameter by reference.
|
||||
|
||||
Yields:
|
||||
The :tl:`User` objects returned by :tl:`GetParticipantsRequest`
|
||||
with an additional ``.participant`` attribute which is the
|
||||
|
Reference in New Issue
Block a user