Skip to content

Commit c9eb9ee

Browse files
committed
-
1 parent 7e41b66 commit c9eb9ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

userplugins/group_call.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from user import group_call
2020
import time
2121
from asyncio import sleep
22-
from pyrogram.raw.base import Update
22+
from pyrogram.raw.base import Update as PUpdate
2323
from pyrogram.raw.functions.channels import GetFullChannel
2424
from pytgcalls import PyTgCalls
2525
from pytgcalls.types import Update
@@ -148,7 +148,7 @@ async def service_msg(client, message):
148148
pass
149149

150150
@Client.on_raw_update()
151-
async def handle_raw_updates(client: Client, update: Update, user: dict, chat: dict):
151+
async def handle_raw_updates(client: Client, update: PUpdate, user: dict, chat: dict):
152152
if isinstance(update, UpdateGroupCallParticipants):
153153
if not Config.CURRENT_CALL:
154154
a = await client.send(

0 commit comments

Comments
 (0)