mirror of
https://github.com/Xtao-Labs/iShotaBot.git
synced 2024-11-24 09:15:51 +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,
|
message: pyrogram.raw.base.Message,
|
||||||
users: dict,
|
users: dict,
|
||||||
chats: dict,
|
chats: dict,
|
||||||
|
topics: dict = None,
|
||||||
is_scheduled: bool = False,
|
is_scheduled: bool = False,
|
||||||
replies: int = 1,
|
replies: int = 1,
|
||||||
|
business_connection_id: str = None,
|
||||||
|
reply_to_message: "raw.base.Message" = None
|
||||||
):
|
):
|
||||||
parsed = await pyrogram.types.Message.old_parse(
|
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
|
) # noqa
|
||||||
if (
|
if (
|
||||||
isinstance(message, pyrogram.raw.types.Message)
|
isinstance(message, pyrogram.raw.types.Message)
|
||||||
|
Loading…
Reference in New Issue
Block a user