Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
subinps committed Dec 30, 2021
1 parent 7e41b66 commit c9eb9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userplugins/group_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from user import group_call
import time
from asyncio import sleep
from pyrogram.raw.base import Update
from pyrogram.raw.base import Update as PUpdate
from pyrogram.raw.functions.channels import GetFullChannel
from pytgcalls import PyTgCalls
from pytgcalls.types import Update
Expand Down Expand Up @@ -148,7 +148,7 @@ async def service_msg(client, message):
pass

@Client.on_raw_update()
async def handle_raw_updates(client: Client, update: Update, user: dict, chat: dict):
async def handle_raw_updates(client: Client, update: PUpdate, user: dict, chat: dict):
if isinstance(update, UpdateGroupCallParticipants):
if not Config.CURRENT_CALL:
a = await client.send(
Expand Down

0 comments on commit c9eb9ee

Please sign in to comment.