From f3d320f06a2381c4244f0a4fcb0a0bd457a232e6 Mon Sep 17 00:00:00 2001 From: Gautam Kumar Date: Wed, 4 Sep 2024 20:07:52 +0530 Subject: [PATCH] Fix send_cached_media (#85) --- pyrogram/methods/messages/send_cached_media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/messages/send_cached_media.py b/pyrogram/methods/messages/send_cached_media.py index f84ad306c4..52b727dde4 100644 --- a/pyrogram/methods/messages/send_cached_media.py +++ b/pyrogram/methods/messages/send_cached_media.py @@ -169,5 +169,5 @@ async def send_cached_media( {i.id: i for i in r.chats}, is_scheduled=isinstance(i, raw.types.UpdateNewScheduledMessage), business_connection_id=getattr(i, "connection_id", None), - reply_to_message=getattr(i, "reply_to_message", None) + raw_reply_to_message=getattr(i, "reply_to_message", None) )