mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
added message.mentioned
This commit is contained in:
parent
03f57cd2af
commit
91beb214e9
@ -591,6 +591,8 @@ def parse_messages(
|
|||||||
else:
|
else:
|
||||||
reply_markup = None
|
reply_markup = None
|
||||||
|
|
||||||
|
mentioned = message.mentioned
|
||||||
|
|
||||||
m = pyrogram_types.Message(
|
m = pyrogram_types.Message(
|
||||||
message_id=message.id,
|
message_id=message.id,
|
||||||
date=message.date,
|
date=message.date,
|
||||||
@ -606,6 +608,7 @@ def parse_messages(
|
|||||||
forward_from_message_id=forward_from_message_id,
|
forward_from_message_id=forward_from_message_id,
|
||||||
forward_signature=forward_signature,
|
forward_signature=forward_signature,
|
||||||
forward_date=forward_date,
|
forward_date=forward_date,
|
||||||
|
mentioned=mentioned,
|
||||||
edit_date=message.edit_date,
|
edit_date=message.edit_date,
|
||||||
media_group_id=message.grouped_id,
|
media_group_id=message.grouped_id,
|
||||||
photo=photo,
|
photo=photo,
|
||||||
|
@ -206,6 +206,7 @@ class Message(Object):
|
|||||||
forward_signature: str = None,
|
forward_signature: str = None,
|
||||||
forward_date: int = None,
|
forward_date: int = None,
|
||||||
reply_to_message=None,
|
reply_to_message=None,
|
||||||
|
mentioned=None,
|
||||||
edit_date: int = None,
|
edit_date: int = None,
|
||||||
media_group_id: str = None,
|
media_group_id: str = None,
|
||||||
author_signature: str = None,
|
author_signature: str = None,
|
||||||
@ -253,6 +254,7 @@ class Message(Object):
|
|||||||
self.forward_signature = forward_signature # flags.4?string
|
self.forward_signature = forward_signature # flags.4?string
|
||||||
self.forward_date = forward_date # flags.5?int
|
self.forward_date = forward_date # flags.5?int
|
||||||
self.reply_to_message = reply_to_message # flags.6?Message
|
self.reply_to_message = reply_to_message # flags.6?Message
|
||||||
|
self.mentioned = mentioned
|
||||||
self.edit_date = edit_date # flags.7?int
|
self.edit_date = edit_date # flags.7?int
|
||||||
self.media_group_id = media_group_id # flags.8?string
|
self.media_group_id = media_group_id # flags.8?string
|
||||||
self.author_signature = author_signature # flags.9?string
|
self.author_signature = author_signature # flags.9?string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user