We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cdcf90 commit d875298Copy full SHA for d875298
pyrogram/client/types/messages_and_media/message.py
@@ -2620,7 +2620,7 @@ def forward(
2620
disable_notification=disable_notification
2621
)
2622
elif self.media:
2623
- caption = self.caption.html if self.caption and not remove_caption else None
+ caption = self.caption.html if self.caption and not remove_caption else ""
2624
2625
send_media = partial(
2626
self._client.send_cached_media,
0 commit comments