botapi-py 1.4.12__tar.gz → 1.4.13__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: botapi-py
3
- Version: 1.4.12
3
+ Version: 1.4.13
4
4
  Summary: A simple and flexible Python library to conveniently build fast Telegram bots using the Bot API.
5
5
  Requires-Dist: httpx>=0.28.1
6
6
  Requires-Dist: pydantic>=2.12.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "botapi-py"
3
- version = "1.4.12"
3
+ version = "1.4.13"
4
4
  description = "A simple and flexible Python library to conveniently build fast Telegram bots using the Bot API."
5
5
  # readme = "README.md"
6
6
  # authors = [
@@ -18,7 +18,7 @@ class BotShortcuts:
18
18
  self,
19
19
  chat_id: Union[int, str],
20
20
  media: Union[types.InputFile, str, None],
21
- file_type: Optional[enums.MediaType],
21
+ file_type: Optional[enums.MediaType | str],
22
22
  caption: Optional[str] = None,
23
23
  parse_mode: Optional[enums.ParseMode] = enums.ParseMode.HTML,
24
24
  caption_entities: Optional[List[types.MessageEntity]] = None,