MarshalX/tgcalls

Errors when the voice chat is Ended

Sunda001 opened this issue · 0 comments

so when admin click end voice chat, it throws some errors

here is the full traceback:

'GroupCallDiscarded' object has no attribute 'params'
Traceback (most recent call last):
  File "/home/sakty/pytgcalls-beta/sakt4/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/home/sakty/pytgcalls-beta/sakt4/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 168, in _process_update
    await self._update_to_handler[type(update)](update)
  File "/home/sakty/pytgcalls-beta/sakt4/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 157, in _process_group_call_update
    if update.call.params:
AttributeError: 'GroupCallDiscarded' object has no attribute 'params'

pytgcalls version: 0.0.13