RubigramClient 1.6.6__py3-none-any.whl → 1.6.8__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/__init__.py +1 -0
- rubigram/client.py +80 -50
- rubigram/enums.py +9 -1
- rubigram/method.py +75 -21
- rubigram/network.py +37 -21
- rubigram/rubino/__init__.py +1 -0
- rubigram/rubino/client.py +82 -0
- rubigram/types.py +584 -25
- {rubigramclient-1.6.6.dist-info → rubigramclient-1.6.8.dist-info}/METADATA +22 -2
- rubigramclient-1.6.8.dist-info/RECORD +15 -0
- rubigramclient-1.6.6.dist-info/RECORD +0 -13
- {rubigramclient-1.6.6.dist-info → rubigramclient-1.6.8.dist-info}/WHEEL +0 -0
- {rubigramclient-1.6.6.dist-info → rubigramclient-1.6.8.dist-info}/licenses/LICENSE +0 -0
- {rubigramclient-1.6.6.dist-info → rubigramclient-1.6.8.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RubigramClient
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.8
|
|
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
|
|
@@ -31,7 +31,8 @@ bot = Client(token="YOUR_TOKEN_BOT")
|
|
|
31
31
|
|
|
32
32
|
@bot.on_message(filters.private)
|
|
33
33
|
async def welcome_message(client, message: Update):
|
|
34
|
-
await message.reply("Hi, WELCOME TO RUBIGRAM")
|
|
34
|
+
send = await message.reply("Hi, WELCOME TO RUBIGRAM")
|
|
35
|
+
await send.edit_text("message was edited")
|
|
35
36
|
|
|
36
37
|
bot.run()
|
|
37
38
|
```
|
|
@@ -84,3 +85,22 @@ async def main():
|
|
|
84
85
|
|
|
85
86
|
asyncio.run(main())
|
|
86
87
|
```
|
|
88
|
+
|
|
89
|
+
## Implementation of multiple programs
|
|
90
|
+
```python
|
|
91
|
+
from rubigram import Client
|
|
92
|
+
import asyncio
|
|
93
|
+
|
|
94
|
+
tokens = [
|
|
95
|
+
"TOKEN_1",
|
|
96
|
+
"TOKEN_2"
|
|
97
|
+
]
|
|
98
|
+
|
|
99
|
+
async def main():
|
|
100
|
+
for token in tokens:
|
|
101
|
+
async with Client(token) as bot:
|
|
102
|
+
get_me = await bot.get_me()
|
|
103
|
+
print(get_me.asjson())
|
|
104
|
+
|
|
105
|
+
asyncio.run(main())
|
|
106
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
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,,
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
rubigram/__init__.py,sha256=h2O7aVl3woDBTHX0MdZLbhgvVRTyXA0NTzOz7F8Y7Xg,124
|
|
2
|
-
rubigram/client.py,sha256=CeSrSsPTg7cF0JSUXgzUVLU4ULD4dhvTZ28zY8zgDDE,5011
|
|
3
|
-
rubigram/enums.py,sha256=UZKH1wROBVMuHVEjrnQSwpi-y2MxMI7zl2uThdPTWoc,2722
|
|
4
|
-
rubigram/filters.py,sha256=40znxAC7xAFYCeERlPYLSVtr0lxUcnQY2HRwt1zSfdk,6838
|
|
5
|
-
rubigram/method.py,sha256=Ltlfh1Jy26CKfCz5fez2jifWWCfB8mAWBQKmAu20I0E,11076
|
|
6
|
-
rubigram/network.py,sha256=84-2Grde0GUDOpia6O-7oJNlupBw30ga5VE4sve31dY,2361
|
|
7
|
-
rubigram/state.py,sha256=_g13o87MHfuudbgvbfu9vAOrSzw4GhdEYkD6dSn7t2s,997
|
|
8
|
-
rubigram/types.py,sha256=9eA-mbhW8ILK0MJ4oJMhK00XRHvUe4EumgECgHNPvVM,13395
|
|
9
|
-
rubigramclient-1.6.6.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
rubigramclient-1.6.6.dist-info/METADATA,sha256=gJan_rPbbbecSrLfkpibqZzyIUfOxcmnqLEH_1Qdk5M,2260
|
|
11
|
-
rubigramclient-1.6.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
12
|
-
rubigramclient-1.6.6.dist-info/top_level.txt,sha256=Mhg5HfkL6rLec5sI4ClGmwoqYUANAZUz8sVa1sT_cas,9
|
|
13
|
-
rubigramclient-1.6.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|