RubigramClient 1.5.3__tar.gz → 1.5.4__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.3
3
+ Version: 1.5.4
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.3
3
+ Version: 1.5.4
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.3"
3
+ version = "1.5.4"
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"
@@ -417,14 +417,14 @@ class Update(Dict):
417
417
  self,
418
418
  file: str,
419
419
  file_name: str,
420
- type: Literal["File", "Image", "Voice",
421
- "Music", "Gif", "Video"] = "File",
420
+ text: str = None,
421
+ type: Literal["File", "Image", "Voice", "Music", "Gif", "Video"] = "File",
422
422
  chat_keypad: Keypad = None,
423
423
  inline_keypad: Keypad = None,
424
424
  chat_keypad_type: Literal["New", "Remove"] = None,
425
425
  disable_notification: bool = False,
426
426
  ) -> "MessageId":
427
- return await self.client.send_file(self.chat_id, file, file_name, type, chat_keypad, inline_keypad, chat_keypad_type, disable_notification, self.new_message.message_id)
427
+ return await self.client.send_file(self.chat_id, file, file_name, text, type, chat_keypad, inline_keypad, chat_keypad_type, disable_notification, self.new_message.message_id)
428
428
 
429
429
  async def reply_document(self, document: str, name: str, **kwargs) -> "MessageId":
430
430
  return await self.reply_file(document, name, "File", **kwargs)
File without changes
File without changes
File without changes