mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Update to layer 100
This commit is contained in:
@@ -71,7 +71,7 @@ class _MessagesIter(RequestIter):
|
||||
if not self.entity:
|
||||
self.request = functions.messages.SearchGlobalRequest(
|
||||
q=search or '',
|
||||
offset_date=offset_date,
|
||||
offset_rate=offset_date,
|
||||
offset_peer=types.InputPeerEmpty(),
|
||||
offset_id=offset_id,
|
||||
limit=1
|
||||
|
@@ -56,6 +56,9 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
|
||||
Whether this message was originated from
|
||||
a scheduled one or not.
|
||||
|
||||
legacy (`bool`):
|
||||
Whether this is a legacy message or not.
|
||||
|
||||
to_id (:tl:`Peer`):
|
||||
The peer to which this message was sent, which is either
|
||||
:tl:`PeerUser`, :tl:`PeerChat` or :tl:`PeerChannel`. This
|
||||
@@ -145,7 +148,7 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
|
||||
# For Message (flags)
|
||||
fwd_from=None, via_bot_id=None, media=None, reply_markup=None,
|
||||
entities=None, views=None, edit_date=None, post_author=None,
|
||||
grouped_id=None, from_scheduled=None,
|
||||
grouped_id=None, from_scheduled=None, legacy=None,
|
||||
|
||||
# For MessageAction (mandatory)
|
||||
action=None):
|
||||
@@ -173,6 +176,7 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
|
||||
self.post_author = post_author
|
||||
self.grouped_id = grouped_id
|
||||
self.from_scheduled = from_scheduled
|
||||
self.legacy = legacy
|
||||
self.action = action
|
||||
|
||||
# Convenient storage for custom functions
|
||||
|
Reference in New Issue
Block a user