Skip to content

Commit

Permalink
Update send_media_group.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KurimuzonAkuma authored Oct 7, 2024
1 parent 7922e18 commit e1d3fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyrogram/methods/messages/send_media_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async def send_media_group(
thumb=await self.save_file(i.thumb),
spoiler=i.has_spoiler,
mime_type=self.guess_mime_type(i.media) or "video/mp4",
nosound_video=i.no_sound,
nosound_video=True,
attributes=[
raw.types.DocumentAttributeVideo(
supports_streaming=i.supports_streaming or None,
Expand Down Expand Up @@ -267,7 +267,7 @@ async def send_media_group(
thumb=await self.save_file(i.thumb),
spoiler=i.has_spoiler,
mime_type=self.guess_mime_type(getattr(i.media, "name", "video.mp4")) or "video/mp4",
nosound_video=i.no_sound,
nosound_video=True,
attributes=[
raw.types.DocumentAttributeVideo(
supports_streaming=i.supports_streaming or None,
Expand Down

0 comments on commit e1d3fcf

Please sign in to comment.