mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Fix expandable blockquote
This commit is contained in:
parent
5a5c9b67c2
commit
a2347b09a9
@ -122,7 +122,8 @@ class MessageEntity(Object):
|
|||||||
if self.custom_emoji_id is not None:
|
if self.custom_emoji_id is not None:
|
||||||
args["document_id"] = self.custom_emoji_id
|
args["document_id"] = self.custom_emoji_id
|
||||||
|
|
||||||
if self.type == enums.MessageEntityType.BLOCKQUOTE:
|
args.pop("expandable")
|
||||||
|
if self.expandable is not None:
|
||||||
args["collapsed"] = self.expandable
|
args["collapsed"] = self.expandable
|
||||||
|
|
||||||
entity = self.type.value
|
entity = self.type.value
|
||||||
|
Loading…
Reference in New Issue
Block a user