RubigramClient 1.7.0__py3-none-any.whl → 1.7.1__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.
- {rubigramclient-1.7.0.dist-info → rubigramclient-1.7.1.dist-info}/METADATA +10 -7
- {rubigramclient-1.7.0.dist-info → rubigramclient-1.7.1.dist-info}/RECORD +5 -5
- {rubigramclient-1.7.0.dist-info → rubigramclient-1.7.1.dist-info}/WHEEL +0 -0
- {rubigramclient-1.7.0.dist-info → rubigramclient-1.7.1.dist-info}/licenses/LICENSE +0 -0
- {rubigramclient-1.7.0.dist-info → rubigramclient-1.7.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RubigramClient
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.1
|
|
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
|
License: MIT License
|
|
@@ -34,12 +34,15 @@ Requires-Dist: aiohttp
|
|
|
34
34
|
Requires-Dist: aiofiles
|
|
35
35
|
Dynamic: license-file
|
|
36
36
|
|
|
37
|
-
<img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
|
|
38
|
-
|
|
39
|
-
|
|
40
37
|
# Rubigram
|
|
41
38
|
A lightweight Python library to build Rubika bots easily.
|
|
42
39
|
|
|
40
|
+
<div align="center">
|
|
41
|
+
<img src="http://rubigram.ir/Rubigram.jpg" alt="Rubigram Logo" width="200"/>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
43
46
|
## Installation
|
|
44
47
|
```bash
|
|
45
48
|
pip install RubigramClient
|
|
@@ -52,7 +55,7 @@ from rubigram import Client
|
|
|
52
55
|
bot = Client(token="YOUR_TOKEN")
|
|
53
56
|
|
|
54
57
|
@bot.on_message()
|
|
55
|
-
async def
|
|
58
|
+
async def handler(client, message):
|
|
56
59
|
await message.reply("Hello Rubigram!")
|
|
57
60
|
|
|
58
61
|
bot.run()
|
|
@@ -66,8 +69,8 @@ from rubigram.types import Update
|
|
|
66
69
|
bot = Client(token="YOUR_TOKEN_BOT")
|
|
67
70
|
|
|
68
71
|
@bot.on_message(filters.private)
|
|
69
|
-
async def
|
|
70
|
-
send = await message.reply("Hi,
|
|
72
|
+
async def echo(client, message: Update):
|
|
73
|
+
send = await message.reply(f"Hi, {message.new_message.text}")
|
|
71
74
|
await send.edit_text("message was edited")
|
|
72
75
|
|
|
73
76
|
bot.run()
|
|
@@ -8,8 +8,8 @@ rubigram/state.py,sha256=_g13o87MHfuudbgvbfu9vAOrSzw4GhdEYkD6dSn7t2s,997
|
|
|
8
8
|
rubigram/types.py,sha256=mMABq921FiWfOeurSJgtdkyIbz31bNE7ru14C9GyYSk,17195
|
|
9
9
|
rubigram/rubino/__init__.py,sha256=6-ztB6rLeIB3SV4tbVPPUxmNqHQUYQhDee6bnNQdECw,26
|
|
10
10
|
rubigram/rubino/client.py,sha256=nIYkADXe85BGK7N3qI3FB4fiMX1KuLfXtDATO8czhzc,18387
|
|
11
|
-
rubigramclient-1.7.
|
|
12
|
-
rubigramclient-1.7.
|
|
13
|
-
rubigramclient-1.7.
|
|
14
|
-
rubigramclient-1.7.
|
|
15
|
-
rubigramclient-1.7.
|
|
11
|
+
rubigramclient-1.7.1.dist-info/licenses/LICENSE,sha256=W2bekuLJMG2c-8SvTkJflMF5wY_Mx6rsXfXoCQvRzOI,1081
|
|
12
|
+
rubigramclient-1.7.1.dist-info/METADATA,sha256=A4OFG5w9NwzAn44SHxqsaCBw8IA1RnFRAedY7nTIPYk,4492
|
|
13
|
+
rubigramclient-1.7.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
+
rubigramclient-1.7.1.dist-info/top_level.txt,sha256=Mhg5HfkL6rLec5sI4ClGmwoqYUANAZUz8sVa1sT_cas,9
|
|
15
|
+
rubigramclient-1.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|