RubigramClient 1.6.4__py3-none-any.whl → 1.6.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.

Potentially problematic release.


This version of RubigramClient might be problematic. Click here for more details.

@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RubigramClient
3
- Version: 1.6.4
3
+ Version: 1.6.5
4
4
  Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
5
- Author-email: Javad RZ <Javad.Py1385@gmail.com>
5
+ Author-email: Javad RZ <MrJavad.Email@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
7
7
  Classifier: License :: OSI Approved :: MIT License
8
8
  Classifier: Operating System :: OS Independent
@@ -11,7 +11,6 @@ Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: aiohttp
13
13
  Requires-Dist: aiofiles
14
- Requires-Dist: aiosqlite
15
14
  Dynamic: license-file
16
15
 
17
16
  # Rubigram
@@ -25,12 +24,12 @@ pip install RubigramClient
25
24
  ## Send Message
26
25
  ```python
27
26
  from rubigram import Client, filters
28
- from rubigram.models import Update
27
+ from rubigram.types import Update
29
28
 
30
- bot = Client("your_bot_token")
29
+ bot = Client(token="YOUR_TOKEN_BOT")
31
30
 
32
- @bot.on_message(filters.command("start") & filters.private)
33
- async def start_handler(client, message: Update):
31
+ @bot.on_message(filters.private)
32
+ async def welcome_message(client, message: Update):
34
33
  await message.reply("Hi, WELCOME TO RUBIGRAM")
35
34
 
36
35
  bot.run()
@@ -39,10 +38,10 @@ bot.run()
39
38
  ## Send Message & Get receiveInlineMessage
40
39
  ```python
41
40
  from rubigram import Client, filters
42
- from rubigram.models import Update, Button, Keypad, KeypadRow, InlineMessage
41
+ from rubigram.types import Update, Button, Keypad, KeypadRow, InlineMessage
43
42
 
44
43
 
45
- bot = Client(token="bot_token", endpoint="endpoint_url")
44
+ bot = Client(token="BOT_TOKEN", endpoint="ENDPOINT_URL")
46
45
 
47
46
 
48
47
  @bot.on_message(filters.command("start"))
@@ -75,7 +74,7 @@ bot.run()
75
74
  from rubigram import Client
76
75
  import asyncio
77
76
 
78
- bot = Client("bot_token")
77
+ bot = Client("YOUR_BOT_TOKEN")
79
78
 
80
79
  async def main():
81
80
  async with bot:
@@ -0,0 +1,13 @@
1
+ rubigram/__init__.py,sha256=hEVIiBaeDP2tazBgH7fHsJJ8GMpnjseyU84O6p4O27c,182
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=EqVOB5ePIZtu1p9A7sLtHPisgEss9alTkz00ROM4dJc,11084
6
+ rubigram/network.py,sha256=84-2Grde0GUDOpia6O-7oJNlupBw30ga5VE4sve31dY,2361
7
+ rubigram/state.py,sha256=_g13o87MHfuudbgvbfu9vAOrSzw4GhdEYkD6dSn7t2s,997
8
+ rubigram/types.py,sha256=9-yKl668D_YczBSR-bkOzLYyYs1fygfmCFSVL-IRP2E,16878
9
+ rubigramclient-1.6.5.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ rubigramclient-1.6.5.dist-info/METADATA,sha256=B_4d4oKYRYbztODCUWiHZxJiyVIhfN5yKlfnc5w2iLY,2235
11
+ rubigramclient-1.6.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ rubigramclient-1.6.5.dist-info/top_level.txt,sha256=Mhg5HfkL6rLec5sI4ClGmwoqYUANAZUz8sVa1sT_cas,9
13
+ rubigramclient-1.6.5.dist-info/RECORD,,
@@ -1,12 +0,0 @@
1
- rubigram/__init__.py,sha256=IWNCN7oDaIBzaP54cGiA-4Sa31ehGBlqj0SuqhNQVgU,162
2
- rubigram/client.py,sha256=IWDzhie2l4kfBaIhHFjOwbV4yZKPWctcE5eqVpLteMM,4900
3
- rubigram/filters.py,sha256=JN2p4Aff6A-scEfV3c_KIDRp9gr47FSgOaY_YiJ4tWY,6584
4
- rubigram/method.py,sha256=R4IkK-CJmgyfBiX68VemUMzkOYM1e0j12VYAVuKBbMM,10645
5
- rubigram/models.py,sha256=42WK68VPKqgKCy14jrRyoP_XRsZ-04S5rUbdpO_UfaQ,13831
6
- rubigram/network.py,sha256=84-2Grde0GUDOpia6O-7oJNlupBw30ga5VE4sve31dY,2361
7
- rubigram/state.py,sha256=BxeKMh2aEyAYJu6VluZBwJAkHoF06r_VWeclHPWubI4,4054
8
- rubigramclient-1.6.4.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- rubigramclient-1.6.4.dist-info/METADATA,sha256=kHEqF0Yr6hfg7J0exUwjVDGthznyU84tU6ROXTUmWM8,2280
10
- rubigramclient-1.6.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
- rubigramclient-1.6.4.dist-info/top_level.txt,sha256=Mhg5HfkL6rLec5sI4ClGmwoqYUANAZUz8sVa1sT_cas,9
12
- rubigramclient-1.6.4.dist-info/RECORD,,