mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
add missing topic assignment in Message.__init__
This commit is contained in:
parent
cb38d6a02b
commit
9a772a8c8a
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class Message(Object, Update):
|
||||||
|
|
||||||
topic (:obj:`~pyrogram.types.ForumTopic`, *optional*):
|
topic (:obj:`~pyrogram.types.ForumTopic`, *optional*):
|
||||||
Topic the message belongs to.
|
Topic the message belongs to.
|
||||||
only returned using when client.get_messages.
|
only returned when using client.get_messages.
|
||||||
|
|
||||||
forward_origin (:obj:`~pyrogram.types.MessageOrigin`, *optional*):
|
forward_origin (:obj:`~pyrogram.types.MessageOrigin`, *optional*):
|
||||||
Information about the original message for forwarded messages.
|
Information about the original message for forwarded messages.
|
||||||
|
|
@ -573,6 +573,7 @@ class Message(Object, Update):
|
||||||
self.sender_business_bot = sender_business_bot
|
self.sender_business_bot = sender_business_bot
|
||||||
self.date = date
|
self.date = date
|
||||||
self.chat = chat
|
self.chat = chat
|
||||||
|
self.topic = topic
|
||||||
self.forward_origin = forward_origin
|
self.forward_origin = forward_origin
|
||||||
self.external_reply = external_reply
|
self.external_reply = external_reply
|
||||||
self.is_topic_message = is_topic_message
|
self.is_topic_message = is_topic_message
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue