botapi-py 1.5.8__tar.gz → 1.5.10__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.5.8
3
+ Version: 1.5.10
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.5.8"
3
+ version = "1.5.10"
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 = [
@@ -42,6 +42,8 @@ class UpdateType(enum.StrEnum):
42
42
  EDITED_BUSINESS_MESSAGE = 'edited_business_message'
43
43
  DELETED_BUSINESS_MESSAGES = 'deleted_business_messages'
44
44
  PURCHASED_PAID_MEDIA = 'purchased_paid_media'
45
+ MANAGED_BOT = 'managed_bot'
46
+ GUEST_MESSAGE = 'guest_message'
45
47
 
46
48
  class MediaType(enum.StrEnum):
47
49
  '''
@@ -59,6 +61,7 @@ class MediaType(enum.StrEnum):
59
61
  VOICE = 'voice'
60
62
  STORY = 'story' # does not have `file_id`, only `id`
61
63
  PAID_MEDIA = 'paid_media' # this contains a `photo` attribute that is a list of `PhotoSize` objects
64
+ LIVE_PHOTO = 'live_photo'
62
65
 
63
66
  class ServiceMessage(enum.StrEnum):
64
67
  '''
@@ -130,6 +133,7 @@ class OtherMessageType(enum.StrEnum):
130
133
  multimedia nor service content.
131
134
  '''
132
135
  TEXT = 'text'
136
+ RICH_MESSAGE = 'rich_message'
133
137
  CHECKLIST = 'checklist'
134
138
  POLL = 'poll'
135
139
  GAME = 'game'