mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: fix(send_media_group.py) Fixed media.caption_entities parameter not working (#104)
* fix(send_media_group.py) Fixed media.caption_entities parameter not working. * chore(send_media_group.py): simplify parse_text_entities handling Refactored to use ** unpacking directly in raw.types.InputSingleMedia, reducing variable assignments.
This commit is contained in:
parent
56e9173579
commit
ecc15f67a4
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,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 a new issue