mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Fix self.parser not calling .parse for send_document
This commit is contained in:
parent
88632ae265
commit
46bf382480
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue