Update to layer 100

This commit is contained in:
Lonami Exo
2019-05-30 13:23:47 +02:00
parent 9f72bd8ca3
commit e4158acd08
4 changed files with 43 additions and 13 deletions

View File

@@ -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