mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Fix send_media_group (#87)
when passing caption and caption_entities instead of parse_mode
This commit is contained in:
parent
cecccd5513
commit
95546f81cd
@ -445,7 +445,7 @@ class SendMediaGroup:
|
||||
raw.types.InputSingleMedia(
|
||||
media=media,
|
||||
random_id=self.rnd_id(),
|
||||
**await self.parser.parse(i.caption, i.parse_mode)
|
||||
**await utils.parse_text_entities(self, i.caption, i.parse_mode, i.caption_entities)
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user