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.
- {botapi_py-1.4.1 → botapi_py-1.4.2}/PKG-INFO +1 -1
- {botapi_py-1.4.1 → botapi_py-1.4.2}/pyproject.toml +1 -1
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/enums.py +15 -1
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/__init__.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/__init__.pyi +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/core.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/dispatchers/__init__.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/dispatchers/__init__.pyi +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/dispatchers/common.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/dispatchers/get_updates_handler.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/dispatchers/redis_pubsub_handler.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/errors.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/methods.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/types.py +0 -0
- {botapi_py-1.4.1 → botapi_py-1.4.2}/src/botapi/utils.py +0 -0
|
@@ -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
|
-
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|