RubigramClient 1.5.9__tar.gz → 1.6.0__tar.gz

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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RubigramClient
3
- Version: 1.5.9
3
+ Version: 1.6.0
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 <Javad.Py1385@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RubigramClient
3
- Version: 1.5.9
3
+ Version: 1.6.0
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 <Javad.Py1385@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "RubigramClient"
3
- version = "1.5.9"
3
+ version = "1.6.0"
4
4
  description = "A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.7"
@@ -37,11 +37,11 @@ class Method(Network):
37
37
  async def remove_chat_keypad(self, chat_id: str):
38
38
  await self.request("editChatKeypad", {"chat_id": chat_id, "chat_keypad_type": "Remove"})
39
39
 
40
- async def edit_chat_keypad(self, chat_id: str, chat_keypad):
41
- await self.request("editChatKeypad", {"chat_id": chat_id, "chat_keypad_type": "New", "chat_keypad": chat_keypad})
40
+ async def edit_chat_keypad(self, chat_id: str, chat_keypad: Keypad):
41
+ await self.request("editChatKeypad", {"chat_id": chat_id, "chat_keypad_type": "New", "chat_keypad": chat_keypad.to_dict()})
42
42
 
43
- async def edit_message_keypad(self, chat_id: str, message_id: str, inline_keypad):
44
- await self.request("editMessageKeypad", {"chat_id": chat_id, "message_id": message_id, "inline_keypad": inline_keypad})
43
+ async def edit_message_keypad(self, chat_id: str, message_id: str, inline_keypad: Keypad):
44
+ await self.request("editMessageKeypad", {"chat_id": chat_id, "message_id": message_id, "inline_keypad": inline_keypad.to_dict()})
45
45
 
46
46
  async def edit_message_text(self, chat_id: str, message_id: str, text: str):
47
47
  await self.request("editMessageText", {"chat_id": chat_id, "message_id": message_id, "text": text})
File without changes
File without changes
File without changes