Skip to content

Commit 41729cb

Browse files
committed
Fix argument not passed with name
1 parent 1590904 commit 41729cb

File tree

1 file changed

+1
-1
lines changed
  • pyrogram/client/types/messages_and_media

1 file changed

+1
-1
lines changed

pyrogram/client/types/messages_and_media/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2682,7 +2682,7 @@ def forward(
26822682
raise ValueError("Unknown media type")
26832683

26842684
if self.sticker or self.video_note: # Sticker and VideoNote should have no caption
2685-
return send_media(file_id)
2685+
return send_media(file_id=file_id)
26862686
else:
26872687
return send_media(file_id=file_id, caption=caption, parse_mode=ParseMode.HTML)
26882688
else:

0 commit comments

Comments
 (0)