mirror of
https://github.com/Xtao-Labs/iShotaBot.git
synced 2024-11-28 02:31:28 +00:00
fix: temp fix
This commit is contained in:
parent
fcae61039b
commit
148a393068
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user