Giter VIP home page Giter VIP logo

marshalx / tgcalls Goto Github PK

View Code? Open in Web Editor NEW
485.0 21.0 87.0 30.75 MB

Voice chats, private incoming and outgoing calls in Telegram for Developers

Home Page: https://t.me/tgcallslib

License: GNU Lesser General Public License v3.0

CMake 4.66% C++ 26.65% Python 60.23% Shell 0.62% Dockerfile 7.42% Mako 0.43%
python telegram webrtc voip calls video-call voice-chat group-chat pytgcalls tgcalls

tgcalls's People

Contributors

dashezup avatar marshalx avatar mayli avatar new-dev0 avatar nitanmarcel avatar roj1512 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tgcalls's Issues

Why i cant install pytgcalls

pip3 install pytgcalls

Requirement already satisfied: pytgcalls in /home/mr/Projects/test_tgcall/.venv/lib/python3.8/site-packages/pytgcalls-0.0.9-py3.8.egg (0.0.9)
Collecting tgcalls==0.0.5 (from pytgcalls)
  Could not find a version that satisfies the requirement tgcalls==0.0.5 (from pytgcalls) (from versions: )
No matching distribution found for tgcalls==0.0.5 (from pytgcalls)

Group call does not actually work before fully pass the whole handler

I want to have "join -> record -> leave" done in one handler, but it records empty audio, and the "output.raw" even keep growing after left the chat (I even have .stop_output() in the code).

Step to reproduce:

  1. start the userbot with the plugin
  2. send !record in a voice chat where there are sound
  3. you can see it prints "Joined" "False" "False" "Left"

And then convert "output.raw" to opus, and then listen to it and you will find that it does not have sound. (or use audacity to check the waveform)

Code, pyrogram smart plugin
import os
import asyncio
from pyrogram import Client, filters
from pyrogram.types import Message
from pytgcalls import GroupCall


@Client.on_message(filters.text
                   & filters.outgoing
                   & ~filters.edited
                   & filters.command("record", prefixes="!"))
async def test(client, message: Message):
    open("output.raw", 'w').close()
    group_call = GroupCall(client, output_filename="output.raw")
    await group_call.start(message.chat.id, False)
    print("Joined")
    print(repr(group_call.is_connected))
    await asyncio.sleep(15)
    print(repr(group_call.is_connected))
    group_call.stop_output()
    await group_call.stop()
    print("Left")

Add integration with ffmpeg as an optional dependency

Raspberry Pi OS 64 Unable to install

uname:

Linux raspberrypi 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux

pip version 21.1.3

install error:

 pip install pytgcalls
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pytgcalls
  Using cached pytgcalls-0.0.23-py3-none-any.whl (21 kB)
Requirement already satisfied: pyrogram>=1.2.0 in /home/pi/py3/lib/python3.7/site-packages (from pytgcalls) (1.2.9)
  Using cached pytgcalls-0.0.22-py3-none-any.whl (21 kB)
  Using cached pytgcalls-0.0.21-py3-none-any.whl (21 kB)
  Using cached pytgcalls-0.0.19-py3-none-any.whl (19 kB)
  Using cached pytgcalls-0.0.18-py3-none-any.whl (19 kB)
  Using cached pytgcalls-0.0.17-py3-none-any.whl (18 kB)
  Using cached pytgcalls-0.0.16-py3-none-any.whl (17 kB)
  Using cached pytgcalls-0.0.15-py3-none-any.whl (17 kB)
  Using cached pytgcalls-0.0.14-py3-none-any.whl (17 kB)
  Using cached pytgcalls-0.0.13-py3-none-any.whl (17 kB)
  Using cached pytgcalls-0.0.12-py3-none-any.whl (17 kB)
  Using cached pytgcalls-0.0.11-py3-none-any.whl (15 kB)
  Using cached pytgcalls-0.0.10-py3-none-any.whl (14 kB)
  Using cached pytgcalls-0.0.9-py3-none-any.whl (14 kB)
  Using cached pytgcalls-0.0.8-py3-none-any.whl (14 kB)
  Using cached pytgcalls-0.0.7-py3-none-any.whl (14 kB)
  Using cached pytgcalls-0.0.6-py3-none-any.whl (11 kB)
  Using cached pytgcalls-0.0.5-py3-none-any.whl (11 kB)
  Using cached pytgcalls-0.0.4-py3-none-any.whl (11 kB)
  Using cached pytgcalls-0.0.3-py3-none-any.whl (10 kB)
  Using cached https://www.piwheels.org/simple/pytgcalls/pytgcalls-0.0.2-py3-none-any.whl (10 kB)
ERROR: Cannot install pytgcalls==0.0.10, pytgcalls==0.0.11, pytgcalls==0.0.12, pytgcalls==0.0.13, pytgcalls==0.0.14, pytgcalls==0.0.15, pytgcalls==0.0.16, pytgcalls==0.0.17, pytgcalls==0.0.18, pytgcalls==0.0.19, pytgcalls==0.0.2, pytgcalls==0.0.21, pytgcalls==0.0.22, pytgcalls==0.0.23, pytgcalls==0.0.3, pytgcalls==0.0.4, pytgcalls==0.0.5, pytgcalls==0.0.6, pytgcalls==0.0.7, pytgcalls==0.0.8 and pytgcalls==0.0.9 because these package versions have conflicting dependencies.

The conflict is caused by:
    pytgcalls 0.0.23 depends on tgcalls==0.0.16
    pytgcalls 0.0.22 depends on tgcalls==0.0.15
    pytgcalls 0.0.21 depends on tgcalls==0.0.14
    pytgcalls 0.0.19 depends on tgcalls==0.0.12
    pytgcalls 0.0.18 depends on tgcalls==0.0.12
    pytgcalls 0.0.17 depends on tgcalls==0.0.11
    pytgcalls 0.0.16 depends on tgcalls==0.0.10
    pytgcalls 0.0.15 depends on tgcalls==0.0.10
    pytgcalls 0.0.14 depends on tgcalls==0.0.10
    pytgcalls 0.0.13 depends on tgcalls==0.0.9
    pytgcalls 0.0.12 depends on tgcalls==0.0.8
    pytgcalls 0.0.11 depends on tgcalls==0.0.7
    pytgcalls 0.0.10 depends on tgcalls==0.0.6
    pytgcalls 0.0.9 depends on tgcalls==0.0.5
    pytgcalls 0.0.8 depends on tgcalls==0.0.4
    pytgcalls 0.0.7 depends on tgcalls==0.0.4
    pytgcalls 0.0.6 depends on tgcalls==0.0.4
    pytgcalls 0.0.5 depends on tgcalls==0.0.3
    pytgcalls 0.0.4 depends on tgcalls==0.0.3
    pytgcalls 0.0.3 depends on tgcalls==0.0.3
    pytgcalls 0.0.2 depends on tgcalls==0.0.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Unable to rejoin Group Call if stuck on read

Joining a group call and leaving without playing audio will make tgcalls not join voice chats anymore until restarted.

Steps to reproduce

  • Make a FIFO file: mkfifo newfile
  • Start pyrogram + tgcalls
  • Join group call with, as input file, the FIFO we made before (newfile)
  • Leave group call before writing anything on the FIFO file

After this, no group call can be joined anymore until process is restarted. Playing anything prevents this from happening.

pyrogram handlers are stopped working caused by .stop() method of group_call

so i wanted to record and stop the record but it seems like .stop() method is not working properly.

here is my code:
-> record code:
group_call = pytgcalls.GroupCall(client, '', 'output.raw', False, '')
await group_call.start(chat_id, enable_action=False)

-> stop record code:
await group_call.stop()

this is what hapenned in my logs:

after those logs existed, all of my pyrogram handlers are stopped working!

freeze after .stop() sometimes

Sometimes it fully freeze after calling .stop(), handlers and other plugins stops working, the only way to solve this is kill -9 the process and start the userbot again.

Step to reproduce:

  1. start the userbot with the following smart plugin
  2. send !join, prints "joined the VC", wait for a few seconds for joining
  3. send !leave, prints "left the VC", or freeze and can't be closed by pressing CTRL+c

if it prints "left the VC" then repeat from step 2 until reproduce this. Sometimes I reproduce this after the third attempt to !leave, sometimes fifth, could even on the first.

Version: pytgcalls==0.0.12
Code (Pyrogram Smart Plugin):

from pyrogram import Client, filters
from pyrogram.types import Message
from pytgcalls import GroupCall

group_call = GroupCall(None)


@Client.on_message(filters.outgoing
                   & filters.regex("^!join$"))
async def join_group_call(client, m: Message):
    group_call.client = client
    await group_call.start(m.chat.id)
    print("joined the VC")


@Client.on_message(filters.outgoing
                   & filters.regex("^!leave$"))
async def leave_voice_chat(client, m: Message):
    await group_call.stop()
    print("left the VC")


@Client.on_message(filters.outgoing
                   & filters.regex("^!vc$"))
async def list_voice_chat(client, m: Message):
    print(f"VC: {group_call.full_chat.id}")

Not working in common (not super) groups

Original: MarshalX/tgcalls-beta#2 by @L3Nya

Starting group call not working in not super groups

Reproduce steps:

  1. try to start group call in common(not super) group
    await GroupCall(...).start(505051194)
  2. get pyrogram error about invalid argument

Fix:
Check GroupCall.chat_peer type in GroupCall.get_group_call method.
If it is raw.types.InputPeerChannel, then use functions.channels.GetFullChannel(channel=self.chat_peer)
else use functions.messages.GetFullChat(chat_id=self.chat_peer.chat_id).

It can also be InputPeerUser and InputPeerSelf, but imo this shouldn't be handled by this library.

I have this in pytgcalls/group_call.py.

async def get_group_call(self, group: Union[str, int]):
    self.chat_peer = await self.client.resolve_peer(group)
    if isinstance(self.chat_peer, raw.types.InputPeerChannel):
        self.group_call = (await (self.client.send(functions.channels.GetFullChannel(
            channel=self.chat_peer
        )))).full_chat.call
    elif isinstance(self.chat_peer, raw.types.InputPeerChat):
        self.group_call = (await (self.client.send(functions.messages.GetFullChat(
            chat_id=self.chat_peer.chat_id
        )))).full_chat.call
    else:
        raise RuntimeError('Chat should be group/supergroup')
     return self.group_call

Error on get full chat

Hi MarshalX

I use the sample recorder_as_smart_plugin.py

I just changed the filter to work on all call but when I receive call. I always this error.

Can't get full chat by xxxxxxxxx Traceback (most recent call last): File "/home/tgndev/.local/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 217, in handler_worker await handler.callback(self.client, *args) File "/home/tgndev/dev/pyrogramclient/plugins/handlers.py", line 22, in record_from_voice_chat await GROUP_CALL.start(m.chat.id) File "/home/tgndev/.local/lib/python3.8/site-packages/pytgcalls/group_call_native.py", line 348, in start await self.get_group_call(group) File "/home/tgndev/.local/lib/python3.8/site-packages/pytgcalls/group_call_native.py", line 283, in get_group_call raise RuntimeError(f'Can\'t get full chat by {group}') RuntimeError: Can't get full chat by xxxxxxxxx

Kind regards

Add the ability to use devices as input and output

There is already a flag when creating a native instance and methods for changing the device. But at the moment there is no wrapper written over this in pytgcalls.

This will allow to use virtual devices together with media players without the need to use ffmpeg

lookup failed for ssrc

Original report: https://t.me/tgcallschat/2982

2021-03-04 13 45 41

top: produced this
bottom: works properly

This log may be related

(GroupInstanceImpl.cpp:1651): -----
(send_side_bandwidth_estimation.cc:615): Estimated available bandwidth 64 kbps is below configured min bitrate 75200 bps.
(probe_controller.cc:280): Measured bitrate: 75200 Minimum to probe further: 268800
(sdp_offer_answer.cc:3056): The order of m-lines in answer doesn't match order in offer. Rejecting answer. (INVALID_PARAMETER)
(sdp_offer_answer.cc:2171): Failed to set remote answer sdp: The order of m-lines in answer doesn't match order
in offer. Rejecting answer.
(call.cc:1361): receive_rtp_config_ lookup failed for ssrc 2758109728

Add the ability to change the volume

Change the volume both for yourself and for other participants according to their ssrcs.

Try to implement reduce volume without administrator rights in the group. Change the volume of your local track. If we have administrator rights, send a volume status for visual display to all participants.

This task does not include changing the volume of all participants and processing their values when connecting / reconnecting from a part of the MTProto.

Output file not content data

Output file has a not null size, but after conversion, when listening to silence
Convert cmd: ffmpeg -f s16le -ac 2 -ar 48000 -acodec pcm_s16le -i output.raw clear_output.mp3

Errors when the voice chat is Ended

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

Move everything related to the configuration of the file device to the descriptor

At the moment there are only two callbacks for getting filenames. In the future, there will be a callback at the end of the playback #9 and a setting for controlling an endless loop #8

It is necessary to think about how to further control the setting of an infinite loop without re-creating the audio module. Perhaps also a callback from python.

Sound playback Caton

My environment:
macOS 11.4
Python 3.9.5
tgcalls 0.0.16
pytgcalls 0.0.23
Pyrogram 1.2.9

I transcoded the m4a file into raw by ffmp3g, and there is no problem with using audacity to listen to the sound. The following settings are used when importing audacity:

image

If I use pytgcall to play, I can clearly hear a pause of a few microseconds. I don't know what is wrong with my environment? Or is this a known issue?

Endless attempt to reconnect. Exceeding the request limit

pytgcalls version: 0.0.4
Step to reproduce:

  • run the bot with the following pyrogram smart plugin enabeld
  • !join_vc
  • !leave_vc
  • !join_vc
Code, Pyrogram Smart Plugin
from pyrogram import Client, filters
from pyrogram.types import Message
from pytgcalls import GroupCall

group_call = None

@Client.on_message(filters.text
                   & filters.outgoing
                   & ~filters.edited
                   & filters.regex("^!join_vc$"))
async def join_voice_chat(client, message: Message):
    global group_call
    group_call = GroupCall(client)
    await group_call.start(message.chat.id)
    await message.edit_text("Joined")


@Client.on_message(filters.text
                   & filters.outgoing
                   & ~filters.edited
                   & filters.regex("^!leave_vc$"))
async def leave_voice_chat(client, message: Message):
    global group_call
    await group_call.stop()
    await message.edit_text("Left")
Log
Task exception was never retrieved
future: <Task finished name='Task-311' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
[tgvcrec] Sleeping for 8s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 8s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 8s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 7s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 7s (required by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Task exception was never retrieved
future: <Task finished name='Task-395' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-403' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-421' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-468' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-487' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
[tgvcrec] Sleeping for 3s (required by "phone.JoinGroupCall")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 7s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 7s (required by "users.GetFullUser")
Task exception was never retrieved
future: <Task finished name='Task-670' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-678' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-696' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-704' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-722' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-800' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-811' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Task exception was never retrieved
future: <Task finished name='Task-1056' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-1063' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-1086' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-1104' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
Task exception was never retrieved
future: <Task finished name='Task-1112' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
Task exception was never retrieved
future: <Task finished name='Task-1159' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 3s (required by "phone.JoinGroupCall")
[tgvcrec] Sleeping for 9s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
Task exception was never retrieved
future: <Task finished name='Task-1311' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 3s (required by "phone.JoinGroupCall")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Task exception was never retrieved
future: <Task finished name='Task-1370' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 3s (required by "phone.JoinGroupCall")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 208, in handler_worker
    await handler.callback(self.client, *args)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 110, in _process_update
    await self.update_to_handler[type(update)](update)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 93, in _process_group_call_participants_update
    await self.reconnect()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 71, in reconnect
    await self.start(chat_peer, enable_action)
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call.py", line 46, in start
    await self.get_me()
  File "/venv/lib/python3.9/site-packages/pytgcalls/group_call_native.py", line 113, in get_me
    self.me = await self.client.get_me()
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/users/get_me.py", line 39, in get_me
    (await self.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/methods/advanced/send.py", line 77, in send
    r = await self.session.send(
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 425, in send
    return await self._send(data, timeout=timeout)
  File "/venv/lib/python3.9/site-packages/pyrogram/session/session.py", line 395, in _send
    RPCError.raise_it(result, type(data))
  File "/venv/lib/python3.9/site-packages/pyrogram/errors/rpc_error.py", line 78, in raise_it
    raise getattr(
pyrogram.errors.exceptions.flood_420.FloodWait: [420 FLOOD_WAIT_X]: A wait of 11 seconds is required (caused by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-1405' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
WARNING:pyrogram.session.session:[tgvcrec] Sleeping for 3s (required by "phone.JoinGroupCall")
WARNING:pyrogram.session.session:[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
WARNING:pyrogram.session.session:[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
WARNING:pyrogram.session.session:[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-1548' coro=<Dispatcher.remove_handler.<locals>.fn() done, defined at /venv/lib/python3.9/site-packages/pyrogram/dispatcher.py:155> exception=ValueError('list.remove(x): x not in list')>
Traceback (most recent call last):
  File "/venv/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 163, in fn
    self.groups[group].remove(handler)
ValueError: list.remove(x): x not in list
WARNING:pyrogram.session.session:[tgvcrec] Sleeping for 3s (required by "phone.JoinGroupCall")
WARNING:pyrogram.session.session:[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")
WARNING:pyrogram.session.session:[tgvcrec] Sleeping for 10s (required by "users.GetFullUser")

.stop_playout() sometimes leads to connection errors

btw stop_playout is buggy sometimes it destroys pyrogram handler

Happens to me too but idk if that's the reason or not.

no idea it happens sometimes

2021-03-01 01 55 51
aha i catch the errors so this was caused pyrogram handler stopped working, this is when i do .stop_playout or its equivalent to .input_file = '' and this happened too to .input_file = audio_files which is when i tried to change an audio and errors occured sometimes but audio still running but it will be crashed too later

weird it happens to .stop_playout() it means i did nothing to path

Upgrade Telegram tgcalls

The current class for group calls has been completely removed. Now a completely new one is used.

This task includes restoring work with an file audio device, turning off input processing, the ability to re-initialize an audio device, and more.

Sometimes not working.

Sometimes after starting GroupCall, nothing happens, bot will stay mute, and after several seconds, bot will leave voicechat.
I have to execute my code several times to make it play my music.
raw file is ok and has no problems.
i think this is a bug in pytgcalls
thanks

Queue issue

I cloned the repo and hosted the bot in a vps everything works perfectly except the queue function. It queues in the playlist but it doesn't jump to the next song after the first one finishes but the bot leaves the VC and after the bot leave the whole queue is gone missing but if we command /skip before the first song finishes it perfectly skips the song. Please help me to fix this ASAP.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.