mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Remove the "private" _total parameter
This commit is contained in:
@@ -97,8 +97,8 @@ class DialogMethods(UserMethods):
|
||||
|
||||
def iter_dialogs(
|
||||
self, limit=None, *, offset_date=None, offset_id=0,
|
||||
offset_peer=types.InputPeerEmpty(), ignore_migrated=False,
|
||||
_total=None):
|
||||
offset_peer=types.InputPeerEmpty(), ignore_migrated=False
|
||||
):
|
||||
"""
|
||||
Returns an iterator over the dialogs, yielding 'limit' at most.
|
||||
Dialogs are the open "chats" or conversations with other people,
|
||||
@@ -127,9 +127,6 @@ class DialogMethods(UserMethods):
|
||||
dialogs are returned, but setting this to ``True`` will hide
|
||||
them in the same way official applications do.
|
||||
|
||||
_total (`list`, optional):
|
||||
A single-item list to pass the total parameter by reference.
|
||||
|
||||
Yields:
|
||||
Instances of `telethon.tl.custom.dialog.Dialog`.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user