py-tgcalls 2.0.4__py3-none-any.whl → 2.0.5__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.
- {py_tgcalls-2.0.4.dist-info → py_tgcalls-2.0.5.dist-info}/METADATA +1 -1
- {py_tgcalls-2.0.4.dist-info → py_tgcalls-2.0.5.dist-info}/RECORD +7 -7
- {py_tgcalls-2.0.4.dist-info → py_tgcalls-2.0.5.dist-info}/WHEEL +1 -1
- pytgcalls/__version__.py +1 -1
- pytgcalls/filters.py +2 -4
- {py_tgcalls-2.0.4.dist-info → py_tgcalls-2.0.5.dist-info}/LICENSE +0 -0
- {py_tgcalls-2.0.4.dist-info → py_tgcalls-2.0.5.dist-info}/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
pytgcalls/__init__.py,sha256=TfZGf1enqqs50mBB406vygB6zYgn3vAjBYFUDO4Pviw,248
|
|
2
|
-
pytgcalls/__version__.py,sha256=
|
|
2
|
+
pytgcalls/__version__.py,sha256=dVcGCZ5wUWMpOJgTrQrOvt6L6HdIhykCRMVFZFr-q20,22
|
|
3
3
|
pytgcalls/environment.py,sha256=ctCHACvG6l8SdpPewSBhOvc70kbwpv18maC0TwLvZ08,1924
|
|
4
4
|
pytgcalls/exceptions.py,sha256=0MmAktc53ajYAc7ThjD2tJ9PDyibUi0iHZMfUy2IoKs,4109
|
|
5
5
|
pytgcalls/ffmpeg.py,sha256=uAqFDPwWoABW_WfubxeulpIh5vWpylxFARgYokn3ff8,8640
|
|
6
|
-
pytgcalls/filters.py,sha256=
|
|
6
|
+
pytgcalls/filters.py,sha256=MH3VOJJowA-i0nkOiHOL0yFWTXfiUF4cf36n1kIWMrI,4779
|
|
7
7
|
pytgcalls/mtproto_required.py,sha256=6B-31p5qH_6oekUgypV4nK3hqPS6Nr-pA8S81wjnbaY,630
|
|
8
8
|
pytgcalls/mutex.py,sha256=Frjji5Ctzlk4AXEBuBLnDK-7HbtreoV6zuyKpFpMNI4,236
|
|
9
9
|
pytgcalls/pytgcalls.py,sha256=oBcWgBwusnXmjHrLEE99VVXARReVyrXdn9SyeBWHbVo,1479
|
|
@@ -86,8 +86,8 @@ pytgcalls/types/stream/media_stream.py,sha256=YoG-vISvDga1n4IHs4hdF03ldtqyojFMvw
|
|
|
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.
|
|
90
|
-
py_tgcalls-2.0.
|
|
91
|
-
py_tgcalls-2.0.
|
|
92
|
-
py_tgcalls-2.0.
|
|
93
|
-
py_tgcalls-2.0.
|
|
89
|
+
py_tgcalls-2.0.5.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
90
|
+
py_tgcalls-2.0.5.dist-info/METADATA,sha256=iY2yXiN74vk3mSszXj8of-T_AH-2U_D1qE3wg03MGVc,14356
|
|
91
|
+
py_tgcalls-2.0.5.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
92
|
+
py_tgcalls-2.0.5.dist-info/top_level.txt,sha256=IUDUwn0KkcbUYZbCe9R5AUb2Ob-lmllNUGQqyeXXd8A,10
|
|
93
|
+
py_tgcalls-2.0.5.dist-info/RECORD,,
|
pytgcalls/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.0.
|
|
1
|
+
__version__ = '2.0.5'
|
pytgcalls/filters.py
CHANGED
|
@@ -171,12 +171,10 @@ class chat_update(Filter):
|
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
class call_participant(Filter):
|
|
174
|
-
def __init__(self, flags:
|
|
174
|
+
def __init__(self, flags: GroupCallParticipant.Action):
|
|
175
175
|
self.flags = flags
|
|
176
176
|
|
|
177
177
|
async def __call__(self, client: PyTgCalls, update: Update):
|
|
178
178
|
if isinstance(update, UpdatedGroupCallParticipant):
|
|
179
|
-
|
|
180
|
-
return True
|
|
181
|
-
self.flags & update.participant.action
|
|
179
|
+
return self.flags & update.participant.action
|
|
182
180
|
return False
|
|
File without changes
|
|
File without changes
|