marshalx / tgcalls Goto Github PK
View Code? Open in Web Editor NEWVoice chats, private incoming and outgoing calls in Telegram for Developers
Home Page: https://t.me/tgcallslib
License: GNU Lesser General Public License v3.0
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
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)
Now playback from the file is repeated when it reaches the end
Ref: https://github.com/MarshalX/tgcalls/tree/master/build/macos
Example of GitHub macOS workflow: https://github.com/telegramdesktop/tdesktop/blob/dev/.github/workflows/mac.yml
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:
!record
in a voice chat where there are soundAnd 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)
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")
Original: MarshalX/tgcalls-beta#1 by @L3Nya
Segfault happens if you change input_filename
or output_filename
attribute of GroupCall
before starting it.
Steps to reproduce:
GroupCall
instance.gc = pytgcalls.GroupCall(client, "", "")
input_filename
attribute to anything before startinggc.input_filename = "input.raw"
Add methods for converting files, support for FIFO files for live broadcasts
FIFO: http://man7.org/linux/man-pages/man7/fifo.7.html
Tempfile for FIFO: https://stackoverflow.com/questions/1430446/create-a-temporary-fifo-named-pipe-in-python
ffmpeg for Python: https://github.com/kkroening/ffmpeg-python
Optional deps of package: https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html?highlight=extras_require#optional-dependencies
Ref: https://github.com/MarshalX/tgcalls/tree/master/build/windows
Example of GitHub Windows workflow: https://github.com/telegramdesktop/tdesktop/blob/dev/.github/workflows/win.yml
It can be useful in case the admin does not want to make the userbot admin nor manually unmute it, but still want the userbot speak in the voice chat.
need invite_hash
argument for GroupCall
Related Pyrogram raw function:
https://docs.pyrogram.org/telegram/functions/phone/join-group-call
It is necessary to postpone updating the fields after calling all handlers
Occurred when u try to change join_as from channel to another one
Ref: #61
Data is requested every 10 ms. We need to write an empty device that will receive data from python using a callback. With this, it will be possible not to bind to files, but to send bytes of information
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
Joining a group call and leaving without playing audio will make tgcalls not join voice chats anymore until restarted.
mkfifo newfile
newfile
)After this, no group call can be joined anymore until process is restarted. Playing anything prevents this from happening.
This action is not enough to stop all streams and sound managers
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!
Since the pyrogram was not released, this feature will be in a separate branch. pypi versions will come out as dev.
Depends on #19
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.
!join
, prints "joined the VC", wait for a few seconds for joining!leave
, prints "left the VC", or freeze and can't be closed by pressing CTRL+cif 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}")
The Python callback will be thrown into the file audio device and called at the end of the file
Original: MarshalX/tgcalls-beta#2 by @L3Nya
Starting group call not working in not super groups
Reproduce steps:
await GroupCall(...).start(505051194)
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
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
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
Original report: https://t.me/tgcallschat/2982
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
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.
Update the subtree with the tgcalls merge code all your edits for working with files
Pi tried with old processors (armv7). Only android was tried on arm64
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
auto gen, gh pages, github actions
Not the same as is_connected. The data is taken from the server
Ubuntu, personal PC with pulseaudio, audio devices etc
Logs:
The device for working with files is initialized. Audio recording to the output works. Only input does not work.
Only one person had the problem. Contact: https://t.me/itayki
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
Depends on #19
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.
The entire cryptographic part of the project is ready. There is a demo of the implementation. It is necessary to rewrite it to clean code and add it to the library.
Demo of private calls: https://github.com/MarshalX/tgcalls/blob/master/pytgcalls/test.py
Currently, the ability to play from a file has not been added. Audio devices only
is_playing -> bool
is_recording -> bool
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:
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?
pytgcalls version: 0.0.4
Step to reproduce:
!join_vc
!leave_vc
!join_vc
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")
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")
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
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
rtc::LogMessage::LogToDebug(rtc::LS_INFO) - need to check
Depends on #6
Pyrogram's raw functions: https://docs.pyrogram.org/telegram/functions/phone/leave-group-call
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 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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.