2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Fix self.parser not calling .parse for send_document

This commit is contained in:
Dan 2019-06-28 16:31:32 +02:00
parent 88632ae265
commit 46bf382480

View File

@ -146,7 +146,7 @@ class SendDocument(BaseClient):
reply_to_msg_id=reply_to_message_id,
random_id=self.rnd_id(),
reply_markup=reply_markup.write() if reply_markup else None,
**self.parser(caption, parse_mode)
**self.parser.parse(caption, parse_mode)
)
)
except FilePartMissing as e: