botapi-py 1.4.1__tar.gz → 1.4.2__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.1
3
+ Version: 1.4.2
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.1"
3
+ version = "1.4.2"
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 = [
@@ -14,6 +14,8 @@ class UpdateType(enum.StrEnum):
14
14
 
15
15
  You can use these to filter updates, using the `allowed_updates`
16
16
  parameter in `getUpdates` and `setWebhook` methods.
17
+
18
+ Source: https://github.com/tdlib/telegram-bot-api/blob/3b6a0b769c4a7fbe064087a4ad9fe6b1dbda498f/telegram-bot-api/Client.cpp#L15491
17
19
  '''
18
20
  MESSAGE = 'message'
19
21
  EDITED_MESSAGE = 'edited_message'
@@ -22,12 +24,24 @@ class UpdateType(enum.StrEnum):
22
24
  INLINE_QUERY = 'inline_query'
23
25
  CHOSEN_INLINE_RESULT = 'chosen_inline_result'
24
26
  CALLBACK_QUERY = 'callback_query'
27
+ CUSTOM_EVENT = 'custom_event'
28
+ CUSTOM_QUERY = 'custom_query'
25
29
  SHIPPING_QUERY = 'shipping_query'
26
30
  PRE_CHECKOUT_QUERY = 'pre_checkout_query'
27
31
  POLL = 'poll'
28
32
  POLL_ANSWER = 'poll_answer'
29
- CHAT_MEMBER_UPDATED = 'chat_member_updated'
33
+ MY_CHAT_MEMBER = 'my_chat_member'
34
+ CHAT_MEMBER = 'chat_member'
30
35
  CHAT_JOIN_REQUEST = 'chat_join_request'
36
+ CHAT_BOOST = 'chat_boost'
37
+ REMOVED_CHAT_BOOST = 'removed_chat_boost'
38
+ MESSAGE_REACTION = 'message_reaction'
39
+ MESSAGE_REACTION_COUNT = 'message_reaction_count'
40
+ BUSINESS_CONNECTION = 'business_connection'
41
+ BUSINESS_MESSAGE = 'business_message'
42
+ EDITED_BUSINESS_MESSAGE = 'edited_business_message'
43
+ DELETED_BUSINESS_MESSAGES = 'deleted_business_messages'
44
+ PURCHASED_PAID_MEDIA = 'purchased_paid_media'
31
45
 
32
46
  class MediaType(enum.StrEnum):
33
47
  '''
File without changes
File without changes
File without changes