mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-07 20:42:32 +00:00
Remove the "private" _total parameter
This commit is contained in:
@@ -283,8 +283,8 @@ class MessageMethods(UploadMethods, ButtonMethods, MessageParseMethods):
|
||||
def iter_messages(
|
||||
self, entity, limit=None, *, offset_date=None, offset_id=0,
|
||||
max_id=0, min_id=0, add_offset=0, search=None, filter=None,
|
||||
from_user=None, wait_time=None, ids=None, reverse=False,
|
||||
_total=None):
|
||||
from_user=None, wait_time=None, ids=None, reverse=False
|
||||
):
|
||||
"""
|
||||
Iterator over the message history for the specified entity.
|
||||
If either `search`, `filter` or `from_user` are provided,
|
||||
@@ -377,9 +377,6 @@ class MessageMethods(UploadMethods, ButtonMethods, MessageParseMethods):
|
||||
|
||||
You cannot use this if both `entity` and `ids` are ``None``.
|
||||
|
||||
_total (`list`, optional):
|
||||
A single-item list to pass the total parameter by reference.
|
||||
|
||||
Yields:
|
||||
Instances of `telethon.tl.custom.message.Message`.
|
||||
|
||||
|
Reference in New Issue
Block a user