From 148a393068fecedd29a2d12fce01d5bf491b41a4 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Fri, 7 Jun 2024 23:38:42 +0800 Subject: [PATCH] fix: temp fix --- models/temp_fix.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/models/temp_fix.py b/models/temp_fix.py index 3ba579e..a441cdc 100644 --- a/models/temp_fix.py +++ b/models/temp_fix.py @@ -6,11 +6,14 @@ async def temp_fix( message: pyrogram.raw.base.Message, users: dict, chats: dict, + topics: dict = None, is_scheduled: bool = False, replies: int = 1, + business_connection_id: str = None, + reply_to_message: "raw.base.Message" = None ): parsed = await pyrogram.types.Message.old_parse( - client, message, users, chats, is_scheduled, replies + client, message, users, chats, topics, is_scheduled, replies, business_connection_id, reply_to_message ) # noqa if ( isinstance(message, pyrogram.raw.types.Message)