Skip to content

Commit 46bf382

Browse files
committed
Fix self.parser not calling .parse for send_document
1 parent 88632ae commit 46bf382

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/client/methods/messages/send_document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def send_document(
146146
reply_to_msg_id=reply_to_message_id,
147147
random_id=self.rnd_id(),
148148
reply_markup=reply_markup.write() if reply_markup else None,
149-
**self.parser(caption, parse_mode)
149+
**self.parser.parse(caption, parse_mode)
150150
)
151151
)
152152
except FilePartMissing as e:

0 commit comments

Comments
 (0)