py-tgcalls 2.0.3b3__py3-none-any.whl → 2.0.3rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py-tgcalls
3
- Version: 2.0.3b3
3
+ Version: 2.0.3rc1
4
4
  Summary: Async client API for the Telegram Calls.
5
5
  Author-email: Laky-64 <iraci.matteo@gmail.com>
6
6
  License: GNU LESSER GENERAL PUBLIC LICENSE
@@ -1,5 +1,5 @@
1
1
  pytgcalls/__init__.py,sha256=TfZGf1enqqs50mBB406vygB6zYgn3vAjBYFUDO4Pviw,248
2
- pytgcalls/__version__.py,sha256=DmnqMG7HeKTwipmMjGruO4dd-Tz35t6HDS28QU3GBaY,24
2
+ pytgcalls/__version__.py,sha256=PnRQxB0KB6U6kY_4sOChzcs9olOtpKFCDSDUdb30Fww,25
3
3
  pytgcalls/environment.py,sha256=ctCHACvG6l8SdpPewSBhOvc70kbwpv18maC0TwLvZ08,1924
4
4
  pytgcalls/exceptions.py,sha256=0MmAktc53ajYAc7ThjD2tJ9PDyibUi0iHZMfUy2IoKs,4109
5
5
  pytgcalls/ffmpeg.py,sha256=_EuRZek1S-ZvQEO35562VuU1RtH0OmqmHf-hcVB3CKI,8640
@@ -16,7 +16,7 @@ pytgcalls/ytdlp.py,sha256=jRA-mKQEXleWvaoGv9wtMa77aRjxsyQxn6_0tXI3-sA,2435
16
16
  pytgcalls/custom_api/__init__.py,sha256=ZT8d0lc2YrDuw_YSFAXXHHMewoXGFZ-ANOBIAr0vGFQ,60
17
17
  pytgcalls/custom_api/custom_api.py,sha256=Ko3aS6psrwPmOhRPxvG0fepXt4STrA0StvINSxz4Cj8,1890
18
18
  pytgcalls/handlers/__init__.py,sha256=pubbxI4pLqQpAKf8-toD6ija4cpSvbCJOQFjTiDjX1E,75
19
- pytgcalls/handlers/handlers_holder.py,sha256=eDCRF6-zPSUmBb8ZuAPiJfgDvg2Qv6efdX6GlOXHxTA,1033
19
+ pytgcalls/handlers/handlers_holder.py,sha256=Gl72r0825zYpKXDdiNrO43l6Bkkm9MZKh9sjYu5Vh-c,1175
20
20
  pytgcalls/media_devices/__init__.py,sha256=H6uUA6akUqp8WCiT2gLrqUtFdqpd9rcfqDviP5Vhrls,183
21
21
  pytgcalls/media_devices/device_info.py,sha256=KueJCRVXXDcxQJzoGfkzcD2kL58pkMUn7Fr3aUwnNtQ,489
22
22
  pytgcalls/media_devices/media_devices.py,sha256=KG4fKfubpeMQZVm9IuQmzDaLhsvKzKRdE3zIYRAhEHM,3227
@@ -49,9 +49,9 @@ pytgcalls/methods/utilities/stream_params.py,sha256=hYcNxx__McmPeHgOUDEuNcN7ThgD
49
49
  pytgcalls/mtproto/__init__.py,sha256=X4zvzFG7km7qHyE0fdvA550WcOVO_xl_p__gvIfDGmw,130
50
50
  pytgcalls/mtproto/bridged_client.py,sha256=kK22n-CKjtfmtNE6bXCpuL6kWAUK2_Ul7cGgx_HNuHQ,4975
51
51
  pytgcalls/mtproto/client_cache.py,sha256=1yA5CFAmWZUsWdpqk5vlaN3j1RV1rIN-X7EcqmsnlfY,5087
52
- pytgcalls/mtproto/hydrogram_client.py,sha256=zi3kPeP_L8mxVa7iRYur7w7xfdQ_tqTahIQ7ie3dLVc,21282
52
+ pytgcalls/mtproto/hydrogram_client.py,sha256=x0s0ZmD_cVT_TtEUIT5qO0OueZg719TkfyraaUWJze0,21290
53
53
  pytgcalls/mtproto/mtproto_client.py,sha256=LO71RqgxZ3bYxSFb6l9cc4ks6_peyqHN4i_z478c7yw,6883
54
- pytgcalls/mtproto/pyrogram_client.py,sha256=lAXWNI9IxX4P1A9VP0HQ12ZbgkjEnLfxX9nmdiOWDuY,21471
54
+ pytgcalls/mtproto/pyrogram_client.py,sha256=oXKEoChpEpt3xS1NuM3rfXbmFcpWgBFyibgqm_Pp6D4,21479
55
55
  pytgcalls/mtproto/telethon_client.py,sha256=j2Ybibhg67IL8M2LXBWXIJwpc6dTDMz5_9MRYsOVcuw,20373
56
56
  pytgcalls/types/__init__.py,sha256=yJVJZoH9M9u9VgpZGUX-MF4NzE-vKp4KrId21YQbcGE,910
57
57
  pytgcalls/types/browsers.py,sha256=47Kr5q96n4Q4WvVhA6IUlS2egEcA9GRLlDeFcQYyc9M,9545
@@ -86,8 +86,8 @@ pytgcalls/types/stream/media_stream.py,sha256=opMsQX7_XcUGrp_1b1xcYsojej8WSSdPpM
86
86
  pytgcalls/types/stream/stream_audio_ended.py,sha256=2_EFa98F0vWu0d0jBmLtzp4NH_xBkDO_6yP9UtyKuCs,164
87
87
  pytgcalls/types/stream/stream_video_ended.py,sha256=9YFTTZPMDpB95eb815rGtgDrzBGfTeazJ5mZwP6Hvks,164
88
88
  pytgcalls/types/stream/video_quality.py,sha256=HBfWq005kh-D19MaVE9VzVdnODzrXf4IJUimCfslfiU,231
89
- py_tgcalls-2.0.3b3.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
90
- py_tgcalls-2.0.3b3.dist-info/METADATA,sha256=qtMJaHSBB8bTqPnOURtxP_qt-6x-xrAZ1SjEdY63Ows,14353
91
- py_tgcalls-2.0.3b3.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
92
- py_tgcalls-2.0.3b3.dist-info/top_level.txt,sha256=IUDUwn0KkcbUYZbCe9R5AUb2Ob-lmllNUGQqyeXXd8A,10
93
- py_tgcalls-2.0.3b3.dist-info/RECORD,,
89
+ py_tgcalls-2.0.3rc1.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
90
+ py_tgcalls-2.0.3rc1.dist-info/METADATA,sha256=VI1AcBjxlK27XUqLqNlawT-XHVHLb3HdiMyqul9MQR8,14354
91
+ py_tgcalls-2.0.3rc1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
92
+ py_tgcalls-2.0.3rc1.dist-info/top_level.txt,sha256=IUDUwn0KkcbUYZbCe9R5AUb2Ob-lmllNUGQqyeXXd8A,10
93
+ py_tgcalls-2.0.3rc1.dist-info/RECORD,,
pytgcalls/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '2.0.3b3'
1
+ __version__ = '2.0.3rc1'
@@ -41,3 +41,9 @@ class HandlersHolder:
41
41
  ) -> Callable:
42
42
  self._callbacks.append(Callback(func, filters))
43
43
  return func
44
+
45
+ def remove_handler(
46
+ self,
47
+ func: Callable
48
+ ):
49
+ self._callbacks = [x for x in self._callbacks if x.func != func]
@@ -78,7 +78,7 @@ class HydrogramClient(BridgedClient):
78
78
  self,
79
79
  )
80
80
 
81
- @self._app.on_raw_update()
81
+ @self._app.on_raw_update(group=-1)
82
82
  async def on_update(_, update, __, chats):
83
83
  if isinstance(
84
84
  update,
@@ -86,7 +86,7 @@ class PyrogramClient(BridgedClient):
86
86
  self,
87
87
  )
88
88
 
89
- @self._app.on_raw_update()
89
+ @self._app.on_raw_update(group=-1)
90
90
  async def on_update(_, update, __, chats):
91
91
  if isinstance(
92
92
  update,