RubigramClient 1.6.8__py3-none-any.whl → 1.6.9__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.
Potentially problematic release.
This version of RubigramClient might be problematic. Click here for more details.
- rubigram/enums.py +1 -3
- rubigram/filters.py +1 -1
- rubigram/method.py +46 -1
- rubigram/network.py +0 -1
- rubigram/types.py +2 -2
- {rubigramclient-1.6.8.dist-info → rubigramclient-1.6.9.dist-info}/METADATA +1 -1
- rubigramclient-1.6.9.dist-info/RECORD +15 -0
- rubigramclient-1.6.8.dist-info/RECORD +0 -15
- {rubigramclient-1.6.8.dist-info → rubigramclient-1.6.9.dist-info}/WHEEL +0 -0
- {rubigramclient-1.6.8.dist-info → rubigramclient-1.6.9.dist-info}/licenses/LICENSE +0 -0
- {rubigramclient-1.6.8.dist-info → rubigramclient-1.6.9.dist-info}/top_level.txt +0 -0
rubigram/enums.py
CHANGED
rubigram/filters.py
CHANGED
|
@@ -143,7 +143,7 @@ class button(Filter):
|
|
|
143
143
|
|
|
144
144
|
async def filter(self, update: InlineMessage):
|
|
145
145
|
if isinstance(update, InlineMessage):
|
|
146
|
-
text = update.
|
|
146
|
+
text = update.aux_data.button_id or ""
|
|
147
147
|
text = text if self.case_sensitive else text.lower()
|
|
148
148
|
return any(text.startswith(btn) for btn in self.btn_ids)
|
|
149
149
|
return False
|
rubigram/method.py
CHANGED
|
@@ -306,4 +306,49 @@ class Method(Network):
|
|
|
306
306
|
|
|
307
307
|
async def get_bot_start_messagel(self):
|
|
308
308
|
bot = await self.get_me()
|
|
309
|
-
return bot.start_message
|
|
309
|
+
return bot.start_message
|
|
310
|
+
|
|
311
|
+
# async def pin_message(self):
|
|
312
|
+
# return
|
|
313
|
+
|
|
314
|
+
# async def unpin_message(self):
|
|
315
|
+
# return
|
|
316
|
+
|
|
317
|
+
# async def ban_chat_member(self):
|
|
318
|
+
# return
|
|
319
|
+
|
|
320
|
+
# async def unban_chat_member(self):
|
|
321
|
+
# return
|
|
322
|
+
|
|
323
|
+
# async def get_chat_member(self):
|
|
324
|
+
# return
|
|
325
|
+
|
|
326
|
+
# async def copy_message(self):
|
|
327
|
+
# return
|
|
328
|
+
|
|
329
|
+
# async def edit_message_caption(self):
|
|
330
|
+
# return
|
|
331
|
+
|
|
332
|
+
# async def get_chat_administrators(self):
|
|
333
|
+
# return
|
|
334
|
+
|
|
335
|
+
# async def get_chat_member_count(self):
|
|
336
|
+
# return
|
|
337
|
+
|
|
338
|
+
# async def join_chat(self):
|
|
339
|
+
# return
|
|
340
|
+
|
|
341
|
+
# async def leave_chat(self):
|
|
342
|
+
# return
|
|
343
|
+
|
|
344
|
+
# async def set_chat_description(self):
|
|
345
|
+
# return
|
|
346
|
+
|
|
347
|
+
# async def set_chat_photo(self):
|
|
348
|
+
# return
|
|
349
|
+
|
|
350
|
+
# async def set_chat_title(self):
|
|
351
|
+
# return
|
|
352
|
+
|
|
353
|
+
# async def unpin_all_message(self):
|
|
354
|
+
# return
|
rubigram/network.py
CHANGED
rubigram/types.py
CHANGED
|
@@ -54,13 +54,13 @@ class Chat(DataManager):
|
|
|
54
54
|
class File(DataManager):
|
|
55
55
|
file_id: Optional[str] = None
|
|
56
56
|
file_name: Optional[str] = None
|
|
57
|
-
size: Optional[
|
|
57
|
+
size: Optional[int] = None
|
|
58
58
|
|
|
59
59
|
def __init__(
|
|
60
60
|
self,
|
|
61
61
|
file_id: Optional[str] = None,
|
|
62
62
|
file_name: Optional[str] = None,
|
|
63
|
-
size: Optional[
|
|
63
|
+
size: Optional[int] = None,
|
|
64
64
|
**kwargs
|
|
65
65
|
):
|
|
66
66
|
super().__init__(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RubigramClient
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.9
|
|
4
4
|
Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
|
|
5
5
|
Author-email: Javad RZ <MrJavad.Email@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
rubigram/__init__.py,sha256=yyPILotyVazCcf1qrKEu_67yYsvLGns2oJlSfLmvhd8,152
|
|
2
|
+
rubigram/client.py,sha256=Pg50Za2idur97ZgphmXgQvu0n0N63oPE04sqhujgNk0,5940
|
|
3
|
+
rubigram/enums.py,sha256=maI0tD9hQz6QUbjiAmBzMowfZbj1ao-6LqkYybSpbFY,2841
|
|
4
|
+
rubigram/filters.py,sha256=Al2LUNLS0hLg9F0BOdU6n1FRnyRLOYHUZFdYW5YEGCw,6852
|
|
5
|
+
rubigram/method.py,sha256=tXEyXYisIfW3sVvCJ65oX2UAc4el9d3qfZI7hVPbZto,14276
|
|
6
|
+
rubigram/network.py,sha256=Dx1j4PFMpFDF64zaxRWHzZymqq8GJgRNnUQJ2kfI6Vw,2854
|
|
7
|
+
rubigram/state.py,sha256=_g13o87MHfuudbgvbfu9vAOrSzw4GhdEYkD6dSn7t2s,997
|
|
8
|
+
rubigram/types.py,sha256=aSOQ04-b-jF1PuiRn3uEArfbxASSFhqlTovgJoC-3Ik,29760
|
|
9
|
+
rubigram/rubino/__init__.py,sha256=6-ztB6rLeIB3SV4tbVPPUxmNqHQUYQhDee6bnNQdECw,26
|
|
10
|
+
rubigram/rubino/client.py,sha256=3Z4lAItC0IKsp0vlRdUE_dhEw-IFolSZ2Aukg7Qeieg,3479
|
|
11
|
+
rubigramclient-1.6.9.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
+
rubigramclient-1.6.9.dist-info/METADATA,sha256=3XkWFjF8__lLbm8zbah54x2ZfpCrYaQmVUH73D8bXc0,2655
|
|
13
|
+
rubigramclient-1.6.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
+
rubigramclient-1.6.9.dist-info/top_level.txt,sha256=Mhg5HfkL6rLec5sI4ClGmwoqYUANAZUz8sVa1sT_cas,9
|
|
15
|
+
rubigramclient-1.6.9.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
rubigram/__init__.py,sha256=yyPILotyVazCcf1qrKEu_67yYsvLGns2oJlSfLmvhd8,152
|
|
2
|
-
rubigram/client.py,sha256=Pg50Za2idur97ZgphmXgQvu0n0N63oPE04sqhujgNk0,5940
|
|
3
|
-
rubigram/enums.py,sha256=oQf7TYe8zoQRJlE2iFIpAZlbvjlZSFoFjuO-4tIi7sc,2853
|
|
4
|
-
rubigram/filters.py,sha256=40znxAC7xAFYCeERlPYLSVtr0lxUcnQY2HRwt1zSfdk,6838
|
|
5
|
-
rubigram/method.py,sha256=VTk3czoRgcjHOipWGFGYtksS_jxlDdlmksrCT5zgWZE,13310
|
|
6
|
-
rubigram/network.py,sha256=XrNTfWKL_ZZEEIsPrAwy4YzWw_n1DPrtZFF_UeqTNzM,2882
|
|
7
|
-
rubigram/state.py,sha256=_g13o87MHfuudbgvbfu9vAOrSzw4GhdEYkD6dSn7t2s,997
|
|
8
|
-
rubigram/types.py,sha256=v0HV4jaI89wvqaNbPUJzqUtOelMCC74LVoCUidGu6mc,29760
|
|
9
|
-
rubigram/rubino/__init__.py,sha256=6-ztB6rLeIB3SV4tbVPPUxmNqHQUYQhDee6bnNQdECw,26
|
|
10
|
-
rubigram/rubino/client.py,sha256=3Z4lAItC0IKsp0vlRdUE_dhEw-IFolSZ2Aukg7Qeieg,3479
|
|
11
|
-
rubigramclient-1.6.8.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
rubigramclient-1.6.8.dist-info/METADATA,sha256=eKkcfCVKDRjcyZAJ3WVHuSTkkRqPDEJAA_m54NI96e8,2655
|
|
13
|
-
rubigramclient-1.6.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
-
rubigramclient-1.6.8.dist-info/top_level.txt,sha256=Mhg5HfkL6rLec5sI4ClGmwoqYUANAZUz8sVa1sT_cas,9
|
|
15
|
-
rubigramclient-1.6.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|