mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Merge pull request #157 from asoul-rec/patch-1
Add missing topic assignment in Message.__init__
This commit is contained in:
commit
47a3b6179d
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class Message(Object, Update):
|
|||
|
||||
topic (:obj:`~pyrogram.types.ForumTopic`, *optional*):
|
||||
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*):
|
||||
Information about the original message for forwarded messages.
|
||||
|
|
@ -573,6 +573,7 @@ class Message(Object, Update):
|
|||
self.sender_business_bot = sender_business_bot
|
||||
self.date = date
|
||||
self.chat = chat
|
||||
self.topic = topic
|
||||
self.forward_origin = forward_origin
|
||||
self.external_reply = external_reply
|
||||
self.is_topic_message = is_topic_message
|
||||
|
|
|
|||
Loading…
Reference in a new issue