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:
parent
88632ae265
commit
46bf382480
@ -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…
x
Reference in New Issue
Block a user