telegrinder 0.3.2__py3-none-any.whl → 0.3.3.post1__py3-none-any.whl
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 telegrinder might be problematic. Click here for more details.
- telegrinder/bot/cute_types/__init__.py +6 -6
- telegrinder/bot/cute_types/callback_query.py +5 -2
- telegrinder/bot/cute_types/inline_query.py +3 -13
- telegrinder/bot/cute_types/message.py +9 -3
- telegrinder/bot/cute_types/update.py +45 -11
- telegrinder/bot/cute_types/utils.py +5 -5
- telegrinder/bot/dispatch/context.py +6 -0
- telegrinder/bot/dispatch/handler/func.py +10 -3
- telegrinder/bot/dispatch/waiter_machine/hasher/callback.py +2 -2
- telegrinder/bot/dispatch/waiter_machine/hasher/message.py +2 -2
- telegrinder/bot/dispatch/waiter_machine/machine.py +7 -8
- telegrinder/bot/dispatch/waiter_machine/short_state.py +4 -1
- telegrinder/bot/rules/abc.py +2 -27
- telegrinder/bot/rules/adapter/abc.py +1 -1
- telegrinder/bot/rules/adapter/event.py +22 -31
- telegrinder/bot/rules/adapter/node.py +1 -1
- telegrinder/bot/rules/adapter/raw_update.py +1 -1
- telegrinder/bot/rules/callback_data.py +1 -2
- telegrinder/bot/rules/chat_join.py +1 -3
- telegrinder/bot/rules/inline.py +1 -1
- telegrinder/bot/rules/is_from.py +19 -19
- telegrinder/bot/rules/message.py +2 -2
- telegrinder/model.py +51 -0
- telegrinder/msgspec_utils.py +2 -2
- telegrinder/node/__init__.py +24 -20
- telegrinder/node/attachment.py +5 -5
- telegrinder/node/base.py +30 -7
- telegrinder/node/callback_query.py +41 -2
- telegrinder/node/composer.py +6 -4
- telegrinder/node/event.py +3 -9
- telegrinder/node/text.py +22 -2
- telegrinder/tools/formatting/html.py +25 -25
- telegrinder/tools/i18n/__init__.py +5 -5
- telegrinder/tools/i18n/abc.py +2 -2
- telegrinder/tools/keyboard.py +5 -5
- telegrinder/tools/loop_wrapper/loop_wrapper.py +17 -9
- telegrinder/tools/magic.py +11 -11
- telegrinder/types/__init__.py +254 -254
- telegrinder/types/enums.py +29 -29
- telegrinder/types/objects.py +3723 -1703
- {telegrinder-0.3.2.dist-info → telegrinder-0.3.3.post1.dist-info}/METADATA +1 -1
- {telegrinder-0.3.2.dist-info → telegrinder-0.3.3.post1.dist-info}/RECORD +44 -44
- {telegrinder-0.3.2.dist-info → telegrinder-0.3.3.post1.dist-info}/LICENSE +0 -0
- {telegrinder-0.3.2.dist-info → telegrinder-0.3.3.post1.dist-info}/WHEEL +0 -0
telegrinder/types/__init__.py
CHANGED
|
@@ -2,259 +2,259 @@ from telegrinder.types.enums import *
|
|
|
2
2
|
from telegrinder.types.objects import *
|
|
3
3
|
|
|
4
4
|
__all__ = (
|
|
5
|
-
"Animation",
|
|
6
|
-
"Audio",
|
|
7
|
-
"BackgroundFill",
|
|
8
|
-
"BackgroundFillFreeformGradient",
|
|
9
|
-
"BackgroundFillGradient",
|
|
10
|
-
"BackgroundFillSolid",
|
|
11
|
-
"BackgroundType",
|
|
12
|
-
"BackgroundTypeChatTheme",
|
|
13
|
-
"BackgroundTypeFill",
|
|
14
|
-
"BackgroundTypePattern",
|
|
15
|
-
"BackgroundTypeWallpaper",
|
|
16
|
-
"Birthdate",
|
|
17
|
-
"BotCommand",
|
|
18
|
-
"BotCommandScope",
|
|
19
|
-
"BotCommandScopeAllChatAdministrators",
|
|
20
|
-
"BotCommandScopeAllGroupChats",
|
|
21
|
-
"BotCommandScopeAllPrivateChats",
|
|
22
|
-
"BotCommandScopeChat",
|
|
23
|
-
"BotCommandScopeChatAdministrators",
|
|
24
|
-
"BotCommandScopeChatMember",
|
|
25
|
-
"BotCommandScopeDefault",
|
|
26
|
-
"BotCommandScopeType",
|
|
27
|
-
"BotDescription",
|
|
28
|
-
"BotName",
|
|
29
|
-
"BotShortDescription",
|
|
30
|
-
"BusinessConnection",
|
|
31
|
-
"BusinessIntro",
|
|
32
|
-
"BusinessLocation",
|
|
33
|
-
"BusinessMessagesDeleted",
|
|
34
|
-
"BusinessOpeningHours",
|
|
35
|
-
"BusinessOpeningHoursInterval",
|
|
36
|
-
"CallbackGame",
|
|
37
|
-
"CallbackQuery",
|
|
38
|
-
"Chat",
|
|
39
|
-
"ChatAction",
|
|
40
|
-
"ChatAdministratorRights",
|
|
41
|
-
"ChatBackground",
|
|
42
|
-
"ChatBoost",
|
|
43
|
-
"ChatBoostAdded",
|
|
44
|
-
"ChatBoostRemoved",
|
|
45
|
-
"ChatBoostSource",
|
|
46
|
-
"ChatBoostSourceGiftCode",
|
|
47
|
-
"ChatBoostSourceGiveaway",
|
|
48
|
-
"ChatBoostSourcePremium",
|
|
49
|
-
"ChatBoostSourceType",
|
|
50
|
-
"ChatBoostUpdated",
|
|
51
|
-
"ChatFullInfo",
|
|
52
|
-
"ChatInviteLink",
|
|
53
|
-
"ChatJoinRequest",
|
|
54
|
-
"ChatLocation",
|
|
55
|
-
"ChatMember",
|
|
56
|
-
"ChatMemberAdministrator",
|
|
57
|
-
"ChatMemberBanned",
|
|
58
|
-
"ChatMemberLeft",
|
|
59
|
-
"ChatMemberMember",
|
|
60
|
-
"ChatMemberOwner",
|
|
61
|
-
"ChatMemberRestricted",
|
|
62
|
-
"ChatMemberStatus",
|
|
63
|
-
"ChatMemberUpdated",
|
|
64
|
-
"ChatPermissions",
|
|
65
|
-
"ChatPhoto",
|
|
66
|
-
"ChatShared",
|
|
67
|
-
"ChatType",
|
|
68
|
-
"ChosenInlineResult",
|
|
69
|
-
"Contact",
|
|
70
|
-
"ContentType",
|
|
71
|
-
"Currency",
|
|
72
|
-
"DefaultAccentColor",
|
|
73
|
-
"Dice",
|
|
74
|
-
"DiceEmoji",
|
|
75
|
-
"Document",
|
|
76
|
-
"EncryptedCredentials",
|
|
77
|
-
"EncryptedPassportElement",
|
|
78
|
-
"EncryptedPassportElementType",
|
|
79
|
-
"ExternalReplyInfo",
|
|
80
|
-
"File",
|
|
81
|
-
"ForceReply",
|
|
82
|
-
"ForumTopic",
|
|
83
|
-
"ForumTopicClosed",
|
|
84
|
-
"ForumTopicCreated",
|
|
85
|
-
"ForumTopicEdited",
|
|
86
|
-
"ForumTopicReopened",
|
|
87
|
-
"Game",
|
|
88
|
-
"GameHighScore",
|
|
89
|
-
"GeneralForumTopicHidden",
|
|
90
|
-
"GeneralForumTopicUnhidden",
|
|
91
|
-
"Giveaway",
|
|
92
|
-
"GiveawayCompleted",
|
|
93
|
-
"GiveawayCreated",
|
|
94
|
-
"GiveawayWinners",
|
|
95
|
-
"InaccessibleMessage",
|
|
96
|
-
"InlineKeyboardButton",
|
|
97
|
-
"InlineKeyboardMarkup",
|
|
98
|
-
"InlineQuery",
|
|
99
|
-
"InlineQueryChatType",
|
|
100
|
-
"InlineQueryResult",
|
|
101
|
-
"InlineQueryResultArticle",
|
|
102
|
-
"InlineQueryResultAudio",
|
|
103
|
-
"InlineQueryResultCachedAudio",
|
|
104
|
-
"InlineQueryResultCachedDocument",
|
|
105
|
-
"InlineQueryResultCachedGif",
|
|
106
|
-
"InlineQueryResultCachedMpeg4Gif",
|
|
107
|
-
"InlineQueryResultCachedPhoto",
|
|
108
|
-
"InlineQueryResultCachedSticker",
|
|
109
|
-
"InlineQueryResultCachedVideo",
|
|
110
|
-
"InlineQueryResultCachedVoice",
|
|
111
|
-
"InlineQueryResultContact",
|
|
112
|
-
"InlineQueryResultDocument",
|
|
113
|
-
"InlineQueryResultDocumentMimeType",
|
|
114
|
-
"InlineQueryResultGame",
|
|
115
|
-
"InlineQueryResultGif",
|
|
116
|
-
"InlineQueryResultGifThumbnailMimeType",
|
|
117
|
-
"InlineQueryResultLocation",
|
|
118
|
-
"InlineQueryResultMimeType",
|
|
119
|
-
"InlineQueryResultMpeg4Gif",
|
|
120
|
-
"InlineQueryResultMpeg4GifThumbnailMimeType",
|
|
121
|
-
"InlineQueryResultPhoto",
|
|
122
|
-
"InlineQueryResultThumbnailMimeType",
|
|
123
|
-
"InlineQueryResultVenue",
|
|
124
|
-
"InlineQueryResultVideo",
|
|
125
|
-
"InlineQueryResultVideoMimeType",
|
|
126
|
-
"InlineQueryResultVoice",
|
|
127
|
-
"InlineQueryResultsButton",
|
|
128
|
-
"InputContactMessageContent",
|
|
129
|
-
"InputFile",
|
|
130
|
-
"InputInvoiceMessageContent",
|
|
131
|
-
"InputLocationMessageContent",
|
|
132
|
-
"InputMedia",
|
|
133
|
-
"InputMediaAnimation",
|
|
134
|
-
"InputMediaAudio",
|
|
135
|
-
"InputMediaDocument",
|
|
136
|
-
"InputMediaPhoto",
|
|
137
|
-
"InputMediaVideo",
|
|
138
|
-
"InputMessageContent",
|
|
139
|
-
"InputPaidMedia",
|
|
140
|
-
"InputPaidMediaPhoto",
|
|
141
|
-
"InputPaidMediaVideo",
|
|
142
|
-
"InputPollOption",
|
|
143
|
-
"InputSticker",
|
|
144
|
-
"InputTextMessageContent",
|
|
145
|
-
"InputVenueMessageContent",
|
|
146
|
-
"Invoice",
|
|
147
|
-
"KeyboardButton",
|
|
148
|
-
"KeyboardButtonPollType",
|
|
149
|
-
"KeyboardButtonRequestChat",
|
|
150
|
-
"KeyboardButtonRequestUsers",
|
|
151
|
-
"LabeledPrice",
|
|
152
|
-
"LinkPreviewOptions",
|
|
153
|
-
"Location",
|
|
154
|
-
"LoginUrl",
|
|
155
|
-
"MaskPosition",
|
|
156
|
-
"MaskPositionPoint",
|
|
157
|
-
"MaybeInaccessibleMessage",
|
|
158
|
-
"MenuButton",
|
|
159
|
-
"MenuButtonCommands",
|
|
160
|
-
"MenuButtonDefault",
|
|
161
|
-
"MenuButtonWebApp",
|
|
162
|
-
"Message",
|
|
163
|
-
"MessageAutoDeleteTimerChanged",
|
|
164
|
-
"MessageEntity",
|
|
165
|
-
"MessageEntityType",
|
|
166
|
-
"MessageId",
|
|
167
|
-
"MessageOrigin",
|
|
168
|
-
"MessageOriginChannel",
|
|
169
|
-
"MessageOriginChat",
|
|
170
|
-
"MessageOriginHiddenUser",
|
|
171
|
-
"MessageOriginType",
|
|
172
|
-
"MessageOriginUser",
|
|
173
|
-
"MessageReactionCountUpdated",
|
|
174
|
-
"MessageReactionUpdated",
|
|
175
|
-
"Model",
|
|
176
|
-
"OrderInfo",
|
|
177
|
-
"PaidMedia",
|
|
178
|
-
"PaidMediaInfo",
|
|
179
|
-
"PaidMediaPhoto",
|
|
180
|
-
"PaidMediaPreview",
|
|
181
|
-
"PaidMediaPurchased",
|
|
182
|
-
"PaidMediaVideo",
|
|
183
|
-
"PassportData",
|
|
184
|
-
"PassportElementError",
|
|
185
|
-
"PassportElementErrorDataField",
|
|
186
|
-
"PassportElementErrorFile",
|
|
187
|
-
"PassportElementErrorFiles",
|
|
188
|
-
"PassportElementErrorFrontSide",
|
|
189
|
-
"PassportElementErrorReverseSide",
|
|
190
|
-
"PassportElementErrorSelfie",
|
|
191
|
-
"PassportElementErrorTranslationFile",
|
|
192
|
-
"PassportElementErrorTranslationFiles",
|
|
193
|
-
"PassportElementErrorType",
|
|
194
|
-
"PassportElementErrorUnspecified",
|
|
195
|
-
"PassportFile",
|
|
196
|
-
"PhotoSize",
|
|
197
|
-
"Poll",
|
|
198
|
-
"PollAnswer",
|
|
199
|
-
"PollOption",
|
|
200
|
-
"PollType",
|
|
201
|
-
"PreCheckoutQuery",
|
|
202
|
-
"ProgrammingLanguage",
|
|
203
|
-
"ProximityAlertTriggered",
|
|
204
|
-
"ReactionCount",
|
|
205
|
-
"ReactionEmoji",
|
|
206
|
-
"ReactionType",
|
|
207
|
-
"ReactionTypeCustomEmoji",
|
|
208
|
-
"ReactionTypeEmoji",
|
|
209
|
-
"ReactionTypePaid",
|
|
210
|
-
"ReactionTypeType",
|
|
211
|
-
"RefundedPayment",
|
|
212
|
-
"ReplyKeyboardMarkup",
|
|
213
|
-
"ReplyKeyboardRemove",
|
|
214
|
-
"ReplyParameters",
|
|
215
|
-
"ResponseParameters",
|
|
216
|
-
"RevenueWithdrawalState",
|
|
217
|
-
"RevenueWithdrawalStateFailed",
|
|
218
|
-
"RevenueWithdrawalStatePending",
|
|
219
|
-
"RevenueWithdrawalStateSucceeded",
|
|
220
|
-
"SentWebAppMessage",
|
|
221
|
-
"SharedUser",
|
|
222
|
-
"ShippingAddress",
|
|
223
|
-
"ShippingOption",
|
|
224
|
-
"ShippingQuery",
|
|
225
|
-
"StarTransaction",
|
|
226
|
-
"StarTransactions",
|
|
227
|
-
"Sticker",
|
|
228
|
-
"StickerFormat",
|
|
229
|
-
"StickerSet",
|
|
230
|
-
"StickerSetStickerType",
|
|
231
|
-
"StickerType",
|
|
232
|
-
"Story",
|
|
233
|
-
"SuccessfulPayment",
|
|
234
|
-
"SwitchInlineQueryChosenChat",
|
|
235
|
-
"TextQuote",
|
|
236
|
-
"TopicIconColor",
|
|
237
|
-
"TransactionPartner",
|
|
238
|
-
"TransactionPartnerFragment",
|
|
239
|
-
"TransactionPartnerOther",
|
|
240
|
-
"TransactionPartnerTelegramAds",
|
|
241
|
-
"TransactionPartnerUser",
|
|
242
|
-
"Update",
|
|
243
|
-
"UpdateType",
|
|
244
|
-
"User",
|
|
245
|
-
"UserChatBoosts",
|
|
246
|
-
"UserProfilePhotos",
|
|
247
|
-
"UsersShared",
|
|
248
|
-
"Venue",
|
|
249
|
-
"Video",
|
|
250
|
-
"VideoChatEnded",
|
|
251
|
-
"VideoChatParticipantsInvited",
|
|
252
|
-
"VideoChatScheduled",
|
|
253
|
-
"VideoChatStarted",
|
|
254
|
-
"VideoNote",
|
|
255
|
-
"Voice",
|
|
256
|
-
"WebAppData",
|
|
257
|
-
"WebAppInfo",
|
|
258
|
-
"WebhookInfo",
|
|
5
|
+
"Animation",
|
|
6
|
+
"Audio",
|
|
7
|
+
"BackgroundFill",
|
|
8
|
+
"BackgroundFillFreeformGradient",
|
|
9
|
+
"BackgroundFillGradient",
|
|
10
|
+
"BackgroundFillSolid",
|
|
11
|
+
"BackgroundType",
|
|
12
|
+
"BackgroundTypeChatTheme",
|
|
13
|
+
"BackgroundTypeFill",
|
|
14
|
+
"BackgroundTypePattern",
|
|
15
|
+
"BackgroundTypeWallpaper",
|
|
16
|
+
"Birthdate",
|
|
17
|
+
"BotCommand",
|
|
18
|
+
"BotCommandScope",
|
|
19
|
+
"BotCommandScopeAllChatAdministrators",
|
|
20
|
+
"BotCommandScopeAllGroupChats",
|
|
21
|
+
"BotCommandScopeAllPrivateChats",
|
|
22
|
+
"BotCommandScopeChat",
|
|
23
|
+
"BotCommandScopeChatAdministrators",
|
|
24
|
+
"BotCommandScopeChatMember",
|
|
25
|
+
"BotCommandScopeDefault",
|
|
26
|
+
"BotCommandScopeType",
|
|
27
|
+
"BotDescription",
|
|
28
|
+
"BotName",
|
|
29
|
+
"BotShortDescription",
|
|
30
|
+
"BusinessConnection",
|
|
31
|
+
"BusinessIntro",
|
|
32
|
+
"BusinessLocation",
|
|
33
|
+
"BusinessMessagesDeleted",
|
|
34
|
+
"BusinessOpeningHours",
|
|
35
|
+
"BusinessOpeningHoursInterval",
|
|
36
|
+
"CallbackGame",
|
|
37
|
+
"CallbackQuery",
|
|
38
|
+
"Chat",
|
|
39
|
+
"ChatAction",
|
|
40
|
+
"ChatAdministratorRights",
|
|
41
|
+
"ChatBackground",
|
|
42
|
+
"ChatBoost",
|
|
43
|
+
"ChatBoostAdded",
|
|
44
|
+
"ChatBoostRemoved",
|
|
45
|
+
"ChatBoostSource",
|
|
46
|
+
"ChatBoostSourceGiftCode",
|
|
47
|
+
"ChatBoostSourceGiveaway",
|
|
48
|
+
"ChatBoostSourcePremium",
|
|
49
|
+
"ChatBoostSourceType",
|
|
50
|
+
"ChatBoostUpdated",
|
|
51
|
+
"ChatFullInfo",
|
|
52
|
+
"ChatInviteLink",
|
|
53
|
+
"ChatJoinRequest",
|
|
54
|
+
"ChatLocation",
|
|
55
|
+
"ChatMember",
|
|
56
|
+
"ChatMemberAdministrator",
|
|
57
|
+
"ChatMemberBanned",
|
|
58
|
+
"ChatMemberLeft",
|
|
59
|
+
"ChatMemberMember",
|
|
60
|
+
"ChatMemberOwner",
|
|
61
|
+
"ChatMemberRestricted",
|
|
62
|
+
"ChatMemberStatus",
|
|
63
|
+
"ChatMemberUpdated",
|
|
64
|
+
"ChatPermissions",
|
|
65
|
+
"ChatPhoto",
|
|
66
|
+
"ChatShared",
|
|
67
|
+
"ChatType",
|
|
68
|
+
"ChosenInlineResult",
|
|
69
|
+
"Contact",
|
|
70
|
+
"ContentType",
|
|
71
|
+
"Currency",
|
|
72
|
+
"DefaultAccentColor",
|
|
73
|
+
"Dice",
|
|
74
|
+
"DiceEmoji",
|
|
75
|
+
"Document",
|
|
76
|
+
"EncryptedCredentials",
|
|
77
|
+
"EncryptedPassportElement",
|
|
78
|
+
"EncryptedPassportElementType",
|
|
79
|
+
"ExternalReplyInfo",
|
|
80
|
+
"File",
|
|
81
|
+
"ForceReply",
|
|
82
|
+
"ForumTopic",
|
|
83
|
+
"ForumTopicClosed",
|
|
84
|
+
"ForumTopicCreated",
|
|
85
|
+
"ForumTopicEdited",
|
|
86
|
+
"ForumTopicReopened",
|
|
87
|
+
"Game",
|
|
88
|
+
"GameHighScore",
|
|
89
|
+
"GeneralForumTopicHidden",
|
|
90
|
+
"GeneralForumTopicUnhidden",
|
|
91
|
+
"Giveaway",
|
|
92
|
+
"GiveawayCompleted",
|
|
93
|
+
"GiveawayCreated",
|
|
94
|
+
"GiveawayWinners",
|
|
95
|
+
"InaccessibleMessage",
|
|
96
|
+
"InlineKeyboardButton",
|
|
97
|
+
"InlineKeyboardMarkup",
|
|
98
|
+
"InlineQuery",
|
|
99
|
+
"InlineQueryChatType",
|
|
100
|
+
"InlineQueryResult",
|
|
101
|
+
"InlineQueryResultArticle",
|
|
102
|
+
"InlineQueryResultAudio",
|
|
103
|
+
"InlineQueryResultCachedAudio",
|
|
104
|
+
"InlineQueryResultCachedDocument",
|
|
105
|
+
"InlineQueryResultCachedGif",
|
|
106
|
+
"InlineQueryResultCachedMpeg4Gif",
|
|
107
|
+
"InlineQueryResultCachedPhoto",
|
|
108
|
+
"InlineQueryResultCachedSticker",
|
|
109
|
+
"InlineQueryResultCachedVideo",
|
|
110
|
+
"InlineQueryResultCachedVoice",
|
|
111
|
+
"InlineQueryResultContact",
|
|
112
|
+
"InlineQueryResultDocument",
|
|
113
|
+
"InlineQueryResultDocumentMimeType",
|
|
114
|
+
"InlineQueryResultGame",
|
|
115
|
+
"InlineQueryResultGif",
|
|
116
|
+
"InlineQueryResultGifThumbnailMimeType",
|
|
117
|
+
"InlineQueryResultLocation",
|
|
118
|
+
"InlineQueryResultMimeType",
|
|
119
|
+
"InlineQueryResultMpeg4Gif",
|
|
120
|
+
"InlineQueryResultMpeg4GifThumbnailMimeType",
|
|
121
|
+
"InlineQueryResultPhoto",
|
|
122
|
+
"InlineQueryResultThumbnailMimeType",
|
|
123
|
+
"InlineQueryResultVenue",
|
|
124
|
+
"InlineQueryResultVideo",
|
|
125
|
+
"InlineQueryResultVideoMimeType",
|
|
126
|
+
"InlineQueryResultVoice",
|
|
127
|
+
"InlineQueryResultsButton",
|
|
128
|
+
"InputContactMessageContent",
|
|
129
|
+
"InputFile",
|
|
130
|
+
"InputInvoiceMessageContent",
|
|
131
|
+
"InputLocationMessageContent",
|
|
132
|
+
"InputMedia",
|
|
133
|
+
"InputMediaAnimation",
|
|
134
|
+
"InputMediaAudio",
|
|
135
|
+
"InputMediaDocument",
|
|
136
|
+
"InputMediaPhoto",
|
|
137
|
+
"InputMediaVideo",
|
|
138
|
+
"InputMessageContent",
|
|
139
|
+
"InputPaidMedia",
|
|
140
|
+
"InputPaidMediaPhoto",
|
|
141
|
+
"InputPaidMediaVideo",
|
|
142
|
+
"InputPollOption",
|
|
143
|
+
"InputSticker",
|
|
144
|
+
"InputTextMessageContent",
|
|
145
|
+
"InputVenueMessageContent",
|
|
146
|
+
"Invoice",
|
|
147
|
+
"KeyboardButton",
|
|
148
|
+
"KeyboardButtonPollType",
|
|
149
|
+
"KeyboardButtonRequestChat",
|
|
150
|
+
"KeyboardButtonRequestUsers",
|
|
151
|
+
"LabeledPrice",
|
|
152
|
+
"LinkPreviewOptions",
|
|
153
|
+
"Location",
|
|
154
|
+
"LoginUrl",
|
|
155
|
+
"MaskPosition",
|
|
156
|
+
"MaskPositionPoint",
|
|
157
|
+
"MaybeInaccessibleMessage",
|
|
158
|
+
"MenuButton",
|
|
159
|
+
"MenuButtonCommands",
|
|
160
|
+
"MenuButtonDefault",
|
|
161
|
+
"MenuButtonWebApp",
|
|
162
|
+
"Message",
|
|
163
|
+
"MessageAutoDeleteTimerChanged",
|
|
164
|
+
"MessageEntity",
|
|
165
|
+
"MessageEntityType",
|
|
166
|
+
"MessageId",
|
|
167
|
+
"MessageOrigin",
|
|
168
|
+
"MessageOriginChannel",
|
|
169
|
+
"MessageOriginChat",
|
|
170
|
+
"MessageOriginHiddenUser",
|
|
171
|
+
"MessageOriginType",
|
|
172
|
+
"MessageOriginUser",
|
|
173
|
+
"MessageReactionCountUpdated",
|
|
174
|
+
"MessageReactionUpdated",
|
|
175
|
+
"Model",
|
|
176
|
+
"OrderInfo",
|
|
177
|
+
"PaidMedia",
|
|
178
|
+
"PaidMediaInfo",
|
|
179
|
+
"PaidMediaPhoto",
|
|
180
|
+
"PaidMediaPreview",
|
|
181
|
+
"PaidMediaPurchased",
|
|
182
|
+
"PaidMediaVideo",
|
|
183
|
+
"PassportData",
|
|
184
|
+
"PassportElementError",
|
|
185
|
+
"PassportElementErrorDataField",
|
|
186
|
+
"PassportElementErrorFile",
|
|
187
|
+
"PassportElementErrorFiles",
|
|
188
|
+
"PassportElementErrorFrontSide",
|
|
189
|
+
"PassportElementErrorReverseSide",
|
|
190
|
+
"PassportElementErrorSelfie",
|
|
191
|
+
"PassportElementErrorTranslationFile",
|
|
192
|
+
"PassportElementErrorTranslationFiles",
|
|
193
|
+
"PassportElementErrorType",
|
|
194
|
+
"PassportElementErrorUnspecified",
|
|
195
|
+
"PassportFile",
|
|
196
|
+
"PhotoSize",
|
|
197
|
+
"Poll",
|
|
198
|
+
"PollAnswer",
|
|
199
|
+
"PollOption",
|
|
200
|
+
"PollType",
|
|
201
|
+
"PreCheckoutQuery",
|
|
202
|
+
"ProgrammingLanguage",
|
|
203
|
+
"ProximityAlertTriggered",
|
|
204
|
+
"ReactionCount",
|
|
205
|
+
"ReactionEmoji",
|
|
206
|
+
"ReactionType",
|
|
207
|
+
"ReactionTypeCustomEmoji",
|
|
208
|
+
"ReactionTypeEmoji",
|
|
209
|
+
"ReactionTypePaid",
|
|
210
|
+
"ReactionTypeType",
|
|
211
|
+
"RefundedPayment",
|
|
212
|
+
"ReplyKeyboardMarkup",
|
|
213
|
+
"ReplyKeyboardRemove",
|
|
214
|
+
"ReplyParameters",
|
|
215
|
+
"ResponseParameters",
|
|
216
|
+
"RevenueWithdrawalState",
|
|
217
|
+
"RevenueWithdrawalStateFailed",
|
|
218
|
+
"RevenueWithdrawalStatePending",
|
|
219
|
+
"RevenueWithdrawalStateSucceeded",
|
|
220
|
+
"SentWebAppMessage",
|
|
221
|
+
"SharedUser",
|
|
222
|
+
"ShippingAddress",
|
|
223
|
+
"ShippingOption",
|
|
224
|
+
"ShippingQuery",
|
|
225
|
+
"StarTransaction",
|
|
226
|
+
"StarTransactions",
|
|
227
|
+
"Sticker",
|
|
228
|
+
"StickerFormat",
|
|
229
|
+
"StickerSet",
|
|
230
|
+
"StickerSetStickerType",
|
|
231
|
+
"StickerType",
|
|
232
|
+
"Story",
|
|
233
|
+
"SuccessfulPayment",
|
|
234
|
+
"SwitchInlineQueryChosenChat",
|
|
235
|
+
"TextQuote",
|
|
236
|
+
"TopicIconColor",
|
|
237
|
+
"TransactionPartner",
|
|
238
|
+
"TransactionPartnerFragment",
|
|
239
|
+
"TransactionPartnerOther",
|
|
240
|
+
"TransactionPartnerTelegramAds",
|
|
241
|
+
"TransactionPartnerUser",
|
|
242
|
+
"Update",
|
|
243
|
+
"UpdateType",
|
|
244
|
+
"User",
|
|
245
|
+
"UserChatBoosts",
|
|
246
|
+
"UserProfilePhotos",
|
|
247
|
+
"UsersShared",
|
|
248
|
+
"Venue",
|
|
249
|
+
"Video",
|
|
250
|
+
"VideoChatEnded",
|
|
251
|
+
"VideoChatParticipantsInvited",
|
|
252
|
+
"VideoChatScheduled",
|
|
253
|
+
"VideoChatStarted",
|
|
254
|
+
"VideoNote",
|
|
255
|
+
"Voice",
|
|
256
|
+
"WebAppData",
|
|
257
|
+
"WebAppInfo",
|
|
258
|
+
"WebhookInfo",
|
|
259
259
|
"WriteAccessAllowed",
|
|
260
260
|
)
|
telegrinder/types/enums.py
CHANGED
|
@@ -668,34 +668,34 @@ class StickerFormat(str, enum.Enum):
|
|
|
668
668
|
|
|
669
669
|
|
|
670
670
|
__all__ = (
|
|
671
|
-
"BotCommandScopeType",
|
|
672
|
-
"ChatAction",
|
|
673
|
-
"ChatBoostSourceType",
|
|
674
|
-
"ChatMemberStatus",
|
|
675
|
-
"ChatType",
|
|
676
|
-
"ContentType",
|
|
677
|
-
"Currency",
|
|
678
|
-
"DefaultAccentColor",
|
|
679
|
-
"DiceEmoji",
|
|
680
|
-
"EncryptedPassportElementType",
|
|
681
|
-
"InlineQueryChatType",
|
|
682
|
-
"InlineQueryResultDocumentMimeType",
|
|
683
|
-
"InlineQueryResultGifThumbnailMimeType",
|
|
684
|
-
"InlineQueryResultMimeType",
|
|
685
|
-
"InlineQueryResultMpeg4GifThumbnailMimeType",
|
|
686
|
-
"InlineQueryResultThumbnailMimeType",
|
|
687
|
-
"InlineQueryResultVideoMimeType",
|
|
688
|
-
"MaskPositionPoint",
|
|
689
|
-
"MessageEntityType",
|
|
690
|
-
"MessageOriginType",
|
|
691
|
-
"PassportElementErrorType",
|
|
692
|
-
"PollType",
|
|
693
|
-
"ProgrammingLanguage",
|
|
694
|
-
"ReactionEmoji",
|
|
695
|
-
"ReactionTypeType",
|
|
696
|
-
"StickerFormat",
|
|
697
|
-
"StickerSetStickerType",
|
|
698
|
-
"StickerType",
|
|
699
|
-
"TopicIconColor",
|
|
671
|
+
"BotCommandScopeType",
|
|
672
|
+
"ChatAction",
|
|
673
|
+
"ChatBoostSourceType",
|
|
674
|
+
"ChatMemberStatus",
|
|
675
|
+
"ChatType",
|
|
676
|
+
"ContentType",
|
|
677
|
+
"Currency",
|
|
678
|
+
"DefaultAccentColor",
|
|
679
|
+
"DiceEmoji",
|
|
680
|
+
"EncryptedPassportElementType",
|
|
681
|
+
"InlineQueryChatType",
|
|
682
|
+
"InlineQueryResultDocumentMimeType",
|
|
683
|
+
"InlineQueryResultGifThumbnailMimeType",
|
|
684
|
+
"InlineQueryResultMimeType",
|
|
685
|
+
"InlineQueryResultMpeg4GifThumbnailMimeType",
|
|
686
|
+
"InlineQueryResultThumbnailMimeType",
|
|
687
|
+
"InlineQueryResultVideoMimeType",
|
|
688
|
+
"MaskPositionPoint",
|
|
689
|
+
"MessageEntityType",
|
|
690
|
+
"MessageOriginType",
|
|
691
|
+
"PassportElementErrorType",
|
|
692
|
+
"PollType",
|
|
693
|
+
"ProgrammingLanguage",
|
|
694
|
+
"ReactionEmoji",
|
|
695
|
+
"ReactionTypeType",
|
|
696
|
+
"StickerFormat",
|
|
697
|
+
"StickerSetStickerType",
|
|
698
|
+
"StickerType",
|
|
699
|
+
"TopicIconColor",
|
|
700
700
|
"UpdateType",
|
|
701
701
|
)
|