@grom.js/bot-api-spec 0.4.0 → 0.5.0
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.
- package/dist/format.d.ts +149 -0
- package/dist/format.d.ts.map +1 -0
- package/dist/format.js +2 -0
- package/dist/format.js.map +1 -0
- package/dist/index.d.ts +3 -601
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -21765
- package/dist/index.js.map +1 -0
- package/dist/methods.gen.d.ts +175 -0
- package/dist/methods.gen.d.ts.map +1 -0
- package/dist/methods.gen.js +12380 -0
- package/dist/methods.gen.js.map +1 -0
- package/dist/types.gen.d.ts +293 -0
- package/dist/types.gen.d.ts.map +1 -0
- package/dist/types.gen.js +19804 -0
- package/dist/types.gen.js.map +1 -0
- package/package.json +30 -21
- package/src/format.ts +188 -0
- package/src/index.ts +2 -0
- package/src/methods.gen.ts +12544 -0
- package/src/types.gen.ts +20087 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,601 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* or a {@link ApiTypeOneOf union}.
|
|
5
|
-
*/
|
|
6
|
-
type ApiType = ApiTypeObject | ApiTypeOneOf;
|
|
7
|
-
interface ApiTypeObject {
|
|
8
|
-
/**
|
|
9
|
-
* Name of the type.
|
|
10
|
-
*/
|
|
11
|
-
name: string;
|
|
12
|
-
/**
|
|
13
|
-
* Description of the type.
|
|
14
|
-
*/
|
|
15
|
-
description: Description;
|
|
16
|
-
/**
|
|
17
|
-
* Fields of the object representing this type.
|
|
18
|
-
*/
|
|
19
|
-
fields: Array<FieldOrParam>;
|
|
20
|
-
oneOf?: never;
|
|
21
|
-
}
|
|
22
|
-
interface ApiTypeOneOf {
|
|
23
|
-
/**
|
|
24
|
-
* Name of the type.
|
|
25
|
-
*/
|
|
26
|
-
name: string;
|
|
27
|
-
/**
|
|
28
|
-
* Description of the type.
|
|
29
|
-
*/
|
|
30
|
-
description: Description;
|
|
31
|
-
/**
|
|
32
|
-
* Array of possible types this type can be.
|
|
33
|
-
*/
|
|
34
|
-
oneOf: Array<ValueTypeApiType>;
|
|
35
|
-
fields?: never;
|
|
36
|
-
}
|
|
37
|
-
interface ApiMethod {
|
|
38
|
-
/**
|
|
39
|
-
* Name of the method.
|
|
40
|
-
*/
|
|
41
|
-
name: string;
|
|
42
|
-
/**
|
|
43
|
-
* Description of the method.
|
|
44
|
-
*/
|
|
45
|
-
description: Description;
|
|
46
|
-
/**
|
|
47
|
-
* Parameters this method takes.
|
|
48
|
-
*/
|
|
49
|
-
parameters: Array<FieldOrParam>;
|
|
50
|
-
/**
|
|
51
|
-
* Type of the value this method returns.
|
|
52
|
-
*/
|
|
53
|
-
returnType: ValueType;
|
|
54
|
-
}
|
|
55
|
-
interface FieldOrParam {
|
|
56
|
-
/**
|
|
57
|
-
* Name of the field/parameter.
|
|
58
|
-
*/
|
|
59
|
-
name: string;
|
|
60
|
-
/**
|
|
61
|
-
* Type of the value this field/parameter can be assigned.
|
|
62
|
-
*/
|
|
63
|
-
type: ValueType;
|
|
64
|
-
/**
|
|
65
|
-
* Whether this is a required field/parameter.
|
|
66
|
-
*/
|
|
67
|
-
required: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Description of the field/parameter.
|
|
70
|
-
*/
|
|
71
|
-
description: Description;
|
|
72
|
-
/**
|
|
73
|
-
* Whether this field/parameter should be JSON-serialized.
|
|
74
|
-
*/
|
|
75
|
-
jsonSerialized: boolean;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Description of a type/method/field/parameter.
|
|
79
|
-
*/
|
|
80
|
-
interface Description {
|
|
81
|
-
markdown: string;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Type of a value.
|
|
85
|
-
*/
|
|
86
|
-
type ValueType = ValueTypeString | ValueTypeBoolean | ValueTypeInteger32 | ValueTypeInteger53 | ValueTypeFloat | ValueTypeInputFile | ValueTypeApiType | ValueTypeArray | ValueTypeUnion;
|
|
87
|
-
/**
|
|
88
|
-
* `String` value type.
|
|
89
|
-
*/
|
|
90
|
-
interface ValueTypeString {
|
|
91
|
-
type: 'str';
|
|
92
|
-
literal?: string;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* `Boolean` value type.
|
|
96
|
-
*/
|
|
97
|
-
interface ValueTypeBoolean {
|
|
98
|
-
type: 'bool';
|
|
99
|
-
literal?: boolean;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* `Integer` value type, which fits in a 32-bit integer.
|
|
103
|
-
*/
|
|
104
|
-
interface ValueTypeInteger32 {
|
|
105
|
-
type: 'int32';
|
|
106
|
-
literal?: number;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* `Integer` value type, which may have more than 32 significant bits, but has
|
|
110
|
-
* at most 52 significant bits, so a 64-bit integer or double-precision float
|
|
111
|
-
* type are safe for storing values of this type.
|
|
112
|
-
*/
|
|
113
|
-
interface ValueTypeInteger53 {
|
|
114
|
-
type: 'int53';
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* `Float` value type.
|
|
118
|
-
*/
|
|
119
|
-
interface ValueTypeFloat {
|
|
120
|
-
type: 'float';
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* [`InputFile`](https://core.telegram.org/bots/api#inputfile) value type.
|
|
124
|
-
*/
|
|
125
|
-
interface ValueTypeInputFile {
|
|
126
|
-
type: 'input-file';
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Any {@link ApiType} value type.
|
|
130
|
-
*/
|
|
131
|
-
interface ValueTypeApiType {
|
|
132
|
-
type: 'api-type';
|
|
133
|
-
name: keyof typeof types;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Array of any value type.
|
|
137
|
-
*/
|
|
138
|
-
interface ValueTypeArray {
|
|
139
|
-
type: 'array';
|
|
140
|
-
of: ValueType;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Union of any value types.
|
|
144
|
-
*/
|
|
145
|
-
interface ValueTypeUnion {
|
|
146
|
-
type: 'union';
|
|
147
|
-
types: Array<ValueType>;
|
|
148
|
-
}
|
|
149
|
-
//#endregion
|
|
150
|
-
//#region src/bot-api/methods.gen.d.ts
|
|
151
|
-
/**
|
|
152
|
-
* Definition of all Bot API methods as an object.
|
|
153
|
-
* Properties are created in the same order as they appear in the docs.
|
|
154
|
-
*/
|
|
155
|
-
declare const methods: {
|
|
156
|
-
getUpdates: ApiMethod;
|
|
157
|
-
setWebhook: ApiMethod;
|
|
158
|
-
deleteWebhook: ApiMethod;
|
|
159
|
-
getWebhookInfo: ApiMethod;
|
|
160
|
-
getMe: ApiMethod;
|
|
161
|
-
logOut: ApiMethod;
|
|
162
|
-
close: ApiMethod;
|
|
163
|
-
sendMessage: ApiMethod;
|
|
164
|
-
forwardMessage: ApiMethod;
|
|
165
|
-
forwardMessages: ApiMethod;
|
|
166
|
-
copyMessage: ApiMethod;
|
|
167
|
-
copyMessages: ApiMethod;
|
|
168
|
-
sendPhoto: ApiMethod;
|
|
169
|
-
sendAudio: ApiMethod;
|
|
170
|
-
sendDocument: ApiMethod;
|
|
171
|
-
sendVideo: ApiMethod;
|
|
172
|
-
sendAnimation: ApiMethod;
|
|
173
|
-
sendVoice: ApiMethod;
|
|
174
|
-
sendVideoNote: ApiMethod;
|
|
175
|
-
sendPaidMedia: ApiMethod;
|
|
176
|
-
sendMediaGroup: ApiMethod;
|
|
177
|
-
sendLocation: ApiMethod;
|
|
178
|
-
sendVenue: ApiMethod;
|
|
179
|
-
sendContact: ApiMethod;
|
|
180
|
-
sendPoll: ApiMethod;
|
|
181
|
-
sendChecklist: ApiMethod;
|
|
182
|
-
sendDice: ApiMethod;
|
|
183
|
-
sendChatAction: ApiMethod;
|
|
184
|
-
setMessageReaction: ApiMethod;
|
|
185
|
-
getUserProfilePhotos: ApiMethod;
|
|
186
|
-
setUserEmojiStatus: ApiMethod;
|
|
187
|
-
getFile: ApiMethod;
|
|
188
|
-
banChatMember: ApiMethod;
|
|
189
|
-
unbanChatMember: ApiMethod;
|
|
190
|
-
restrictChatMember: ApiMethod;
|
|
191
|
-
promoteChatMember: ApiMethod;
|
|
192
|
-
setChatAdministratorCustomTitle: ApiMethod;
|
|
193
|
-
banChatSenderChat: ApiMethod;
|
|
194
|
-
unbanChatSenderChat: ApiMethod;
|
|
195
|
-
setChatPermissions: ApiMethod;
|
|
196
|
-
exportChatInviteLink: ApiMethod;
|
|
197
|
-
createChatInviteLink: ApiMethod;
|
|
198
|
-
editChatInviteLink: ApiMethod;
|
|
199
|
-
createChatSubscriptionInviteLink: ApiMethod;
|
|
200
|
-
editChatSubscriptionInviteLink: ApiMethod;
|
|
201
|
-
revokeChatInviteLink: ApiMethod;
|
|
202
|
-
approveChatJoinRequest: ApiMethod;
|
|
203
|
-
declineChatJoinRequest: ApiMethod;
|
|
204
|
-
setChatPhoto: ApiMethod;
|
|
205
|
-
deleteChatPhoto: ApiMethod;
|
|
206
|
-
setChatTitle: ApiMethod;
|
|
207
|
-
setChatDescription: ApiMethod;
|
|
208
|
-
pinChatMessage: ApiMethod;
|
|
209
|
-
unpinChatMessage: ApiMethod;
|
|
210
|
-
unpinAllChatMessages: ApiMethod;
|
|
211
|
-
leaveChat: ApiMethod;
|
|
212
|
-
getChat: ApiMethod;
|
|
213
|
-
getChatAdministrators: ApiMethod;
|
|
214
|
-
getChatMemberCount: ApiMethod;
|
|
215
|
-
getChatMember: ApiMethod;
|
|
216
|
-
setChatStickerSet: ApiMethod;
|
|
217
|
-
deleteChatStickerSet: ApiMethod;
|
|
218
|
-
getForumTopicIconStickers: ApiMethod;
|
|
219
|
-
createForumTopic: ApiMethod;
|
|
220
|
-
editForumTopic: ApiMethod;
|
|
221
|
-
closeForumTopic: ApiMethod;
|
|
222
|
-
reopenForumTopic: ApiMethod;
|
|
223
|
-
deleteForumTopic: ApiMethod;
|
|
224
|
-
unpinAllForumTopicMessages: ApiMethod;
|
|
225
|
-
editGeneralForumTopic: ApiMethod;
|
|
226
|
-
closeGeneralForumTopic: ApiMethod;
|
|
227
|
-
reopenGeneralForumTopic: ApiMethod;
|
|
228
|
-
hideGeneralForumTopic: ApiMethod;
|
|
229
|
-
unhideGeneralForumTopic: ApiMethod;
|
|
230
|
-
unpinAllGeneralForumTopicMessages: ApiMethod;
|
|
231
|
-
answerCallbackQuery: ApiMethod;
|
|
232
|
-
getUserChatBoosts: ApiMethod;
|
|
233
|
-
getBusinessConnection: ApiMethod;
|
|
234
|
-
setMyCommands: ApiMethod;
|
|
235
|
-
deleteMyCommands: ApiMethod;
|
|
236
|
-
getMyCommands: ApiMethod;
|
|
237
|
-
setMyName: ApiMethod;
|
|
238
|
-
getMyName: ApiMethod;
|
|
239
|
-
setMyDescription: ApiMethod;
|
|
240
|
-
getMyDescription: ApiMethod;
|
|
241
|
-
setMyShortDescription: ApiMethod;
|
|
242
|
-
getMyShortDescription: ApiMethod;
|
|
243
|
-
setChatMenuButton: ApiMethod;
|
|
244
|
-
getChatMenuButton: ApiMethod;
|
|
245
|
-
setMyDefaultAdministratorRights: ApiMethod;
|
|
246
|
-
getMyDefaultAdministratorRights: ApiMethod;
|
|
247
|
-
getAvailableGifts: ApiMethod;
|
|
248
|
-
sendGift: ApiMethod;
|
|
249
|
-
giftPremiumSubscription: ApiMethod;
|
|
250
|
-
verifyUser: ApiMethod;
|
|
251
|
-
verifyChat: ApiMethod;
|
|
252
|
-
removeUserVerification: ApiMethod;
|
|
253
|
-
removeChatVerification: ApiMethod;
|
|
254
|
-
readBusinessMessage: ApiMethod;
|
|
255
|
-
deleteBusinessMessages: ApiMethod;
|
|
256
|
-
setBusinessAccountName: ApiMethod;
|
|
257
|
-
setBusinessAccountUsername: ApiMethod;
|
|
258
|
-
setBusinessAccountBio: ApiMethod;
|
|
259
|
-
setBusinessAccountProfilePhoto: ApiMethod;
|
|
260
|
-
removeBusinessAccountProfilePhoto: ApiMethod;
|
|
261
|
-
setBusinessAccountGiftSettings: ApiMethod;
|
|
262
|
-
getBusinessAccountStarBalance: ApiMethod;
|
|
263
|
-
transferBusinessAccountStars: ApiMethod;
|
|
264
|
-
getBusinessAccountGifts: ApiMethod;
|
|
265
|
-
convertGiftToStars: ApiMethod;
|
|
266
|
-
upgradeGift: ApiMethod;
|
|
267
|
-
transferGift: ApiMethod;
|
|
268
|
-
postStory: ApiMethod;
|
|
269
|
-
editStory: ApiMethod;
|
|
270
|
-
deleteStory: ApiMethod;
|
|
271
|
-
editMessageText: ApiMethod;
|
|
272
|
-
editMessageCaption: ApiMethod;
|
|
273
|
-
editMessageMedia: ApiMethod;
|
|
274
|
-
editMessageLiveLocation: ApiMethod;
|
|
275
|
-
stopMessageLiveLocation: ApiMethod;
|
|
276
|
-
editMessageChecklist: ApiMethod;
|
|
277
|
-
editMessageReplyMarkup: ApiMethod;
|
|
278
|
-
stopPoll: ApiMethod;
|
|
279
|
-
approveSuggestedPost: ApiMethod;
|
|
280
|
-
declineSuggestedPost: ApiMethod;
|
|
281
|
-
deleteMessage: ApiMethod;
|
|
282
|
-
deleteMessages: ApiMethod;
|
|
283
|
-
sendSticker: ApiMethod;
|
|
284
|
-
getStickerSet: ApiMethod;
|
|
285
|
-
getCustomEmojiStickers: ApiMethod;
|
|
286
|
-
uploadStickerFile: ApiMethod;
|
|
287
|
-
createNewStickerSet: ApiMethod;
|
|
288
|
-
addStickerToSet: ApiMethod;
|
|
289
|
-
setStickerPositionInSet: ApiMethod;
|
|
290
|
-
deleteStickerFromSet: ApiMethod;
|
|
291
|
-
replaceStickerInSet: ApiMethod;
|
|
292
|
-
setStickerEmojiList: ApiMethod;
|
|
293
|
-
setStickerKeywords: ApiMethod;
|
|
294
|
-
setStickerMaskPosition: ApiMethod;
|
|
295
|
-
setStickerSetTitle: ApiMethod;
|
|
296
|
-
setStickerSetThumbnail: ApiMethod;
|
|
297
|
-
setCustomEmojiStickerSetThumbnail: ApiMethod;
|
|
298
|
-
deleteStickerSet: ApiMethod;
|
|
299
|
-
answerInlineQuery: ApiMethod;
|
|
300
|
-
answerWebAppQuery: ApiMethod;
|
|
301
|
-
savePreparedInlineMessage: ApiMethod;
|
|
302
|
-
sendInvoice: ApiMethod;
|
|
303
|
-
createInvoiceLink: ApiMethod;
|
|
304
|
-
answerShippingQuery: ApiMethod;
|
|
305
|
-
answerPreCheckoutQuery: ApiMethod;
|
|
306
|
-
getMyStarBalance: ApiMethod;
|
|
307
|
-
getStarTransactions: ApiMethod;
|
|
308
|
-
refundStarPayment: ApiMethod;
|
|
309
|
-
editUserStarSubscription: ApiMethod;
|
|
310
|
-
setPassportDataErrors: ApiMethod;
|
|
311
|
-
sendGame: ApiMethod;
|
|
312
|
-
setGameScore: ApiMethod;
|
|
313
|
-
getGameHighScores: ApiMethod;
|
|
314
|
-
};
|
|
315
|
-
//#endregion
|
|
316
|
-
//#region src/bot-api/types.gen.d.ts
|
|
317
|
-
/**
|
|
318
|
-
* Definition of all Bot API types as an object.
|
|
319
|
-
* Properties are created in the same order as they appear in the docs.
|
|
320
|
-
*/
|
|
321
|
-
declare const types: {
|
|
322
|
-
Update: ApiType;
|
|
323
|
-
WebhookInfo: ApiType;
|
|
324
|
-
User: ApiType;
|
|
325
|
-
Chat: ApiType;
|
|
326
|
-
ChatFullInfo: ApiType;
|
|
327
|
-
Message: ApiType;
|
|
328
|
-
MessageId: ApiType;
|
|
329
|
-
InaccessibleMessage: ApiType;
|
|
330
|
-
MaybeInaccessibleMessage: ApiType;
|
|
331
|
-
MessageEntity: ApiType;
|
|
332
|
-
TextQuote: ApiType;
|
|
333
|
-
ExternalReplyInfo: ApiType;
|
|
334
|
-
ReplyParameters: ApiType;
|
|
335
|
-
MessageOrigin: ApiType;
|
|
336
|
-
MessageOriginUser: ApiType;
|
|
337
|
-
MessageOriginHiddenUser: ApiType;
|
|
338
|
-
MessageOriginChat: ApiType;
|
|
339
|
-
MessageOriginChannel: ApiType;
|
|
340
|
-
PhotoSize: ApiType;
|
|
341
|
-
Animation: ApiType;
|
|
342
|
-
Audio: ApiType;
|
|
343
|
-
Document: ApiType;
|
|
344
|
-
Story: ApiType;
|
|
345
|
-
Video: ApiType;
|
|
346
|
-
VideoNote: ApiType;
|
|
347
|
-
Voice: ApiType;
|
|
348
|
-
PaidMediaInfo: ApiType;
|
|
349
|
-
PaidMedia: ApiType;
|
|
350
|
-
PaidMediaPreview: ApiType;
|
|
351
|
-
PaidMediaPhoto: ApiType;
|
|
352
|
-
PaidMediaVideo: ApiType;
|
|
353
|
-
Contact: ApiType;
|
|
354
|
-
Dice: ApiType;
|
|
355
|
-
PollOption: ApiType;
|
|
356
|
-
InputPollOption: ApiType;
|
|
357
|
-
PollAnswer: ApiType;
|
|
358
|
-
Poll: ApiType;
|
|
359
|
-
ChecklistTask: ApiType;
|
|
360
|
-
Checklist: ApiType;
|
|
361
|
-
InputChecklistTask: ApiType;
|
|
362
|
-
InputChecklist: ApiType;
|
|
363
|
-
ChecklistTasksDone: ApiType;
|
|
364
|
-
ChecklistTasksAdded: ApiType;
|
|
365
|
-
Location: ApiType;
|
|
366
|
-
Venue: ApiType;
|
|
367
|
-
WebAppData: ApiType;
|
|
368
|
-
ProximityAlertTriggered: ApiType;
|
|
369
|
-
MessageAutoDeleteTimerChanged: ApiType;
|
|
370
|
-
ChatBoostAdded: ApiType;
|
|
371
|
-
BackgroundFill: ApiType;
|
|
372
|
-
BackgroundFillSolid: ApiType;
|
|
373
|
-
BackgroundFillGradient: ApiType;
|
|
374
|
-
BackgroundFillFreeformGradient: ApiType;
|
|
375
|
-
BackgroundType: ApiType;
|
|
376
|
-
BackgroundTypeFill: ApiType;
|
|
377
|
-
BackgroundTypeWallpaper: ApiType;
|
|
378
|
-
BackgroundTypePattern: ApiType;
|
|
379
|
-
BackgroundTypeChatTheme: ApiType;
|
|
380
|
-
ChatBackground: ApiType;
|
|
381
|
-
ForumTopicCreated: ApiType;
|
|
382
|
-
ForumTopicClosed: ApiType;
|
|
383
|
-
ForumTopicEdited: ApiType;
|
|
384
|
-
ForumTopicReopened: ApiType;
|
|
385
|
-
GeneralForumTopicHidden: ApiType;
|
|
386
|
-
GeneralForumTopicUnhidden: ApiType;
|
|
387
|
-
SharedUser: ApiType;
|
|
388
|
-
UsersShared: ApiType;
|
|
389
|
-
ChatShared: ApiType;
|
|
390
|
-
WriteAccessAllowed: ApiType;
|
|
391
|
-
VideoChatScheduled: ApiType;
|
|
392
|
-
VideoChatStarted: ApiType;
|
|
393
|
-
VideoChatEnded: ApiType;
|
|
394
|
-
VideoChatParticipantsInvited: ApiType;
|
|
395
|
-
PaidMessagePriceChanged: ApiType;
|
|
396
|
-
DirectMessagePriceChanged: ApiType;
|
|
397
|
-
SuggestedPostApproved: ApiType;
|
|
398
|
-
SuggestedPostApprovalFailed: ApiType;
|
|
399
|
-
SuggestedPostDeclined: ApiType;
|
|
400
|
-
SuggestedPostPaid: ApiType;
|
|
401
|
-
SuggestedPostRefunded: ApiType;
|
|
402
|
-
GiveawayCreated: ApiType;
|
|
403
|
-
Giveaway: ApiType;
|
|
404
|
-
GiveawayWinners: ApiType;
|
|
405
|
-
GiveawayCompleted: ApiType;
|
|
406
|
-
LinkPreviewOptions: ApiType;
|
|
407
|
-
SuggestedPostPrice: ApiType;
|
|
408
|
-
SuggestedPostInfo: ApiType;
|
|
409
|
-
SuggestedPostParameters: ApiType;
|
|
410
|
-
DirectMessagesTopic: ApiType;
|
|
411
|
-
UserProfilePhotos: ApiType;
|
|
412
|
-
File: ApiType;
|
|
413
|
-
WebAppInfo: ApiType;
|
|
414
|
-
ReplyKeyboardMarkup: ApiType;
|
|
415
|
-
KeyboardButton: ApiType;
|
|
416
|
-
KeyboardButtonRequestUsers: ApiType;
|
|
417
|
-
KeyboardButtonRequestChat: ApiType;
|
|
418
|
-
KeyboardButtonPollType: ApiType;
|
|
419
|
-
ReplyKeyboardRemove: ApiType;
|
|
420
|
-
InlineKeyboardMarkup: ApiType;
|
|
421
|
-
InlineKeyboardButton: ApiType;
|
|
422
|
-
LoginUrl: ApiType;
|
|
423
|
-
SwitchInlineQueryChosenChat: ApiType;
|
|
424
|
-
CopyTextButton: ApiType;
|
|
425
|
-
CallbackQuery: ApiType;
|
|
426
|
-
ForceReply: ApiType;
|
|
427
|
-
ChatPhoto: ApiType;
|
|
428
|
-
ChatInviteLink: ApiType;
|
|
429
|
-
ChatAdministratorRights: ApiType;
|
|
430
|
-
ChatMemberUpdated: ApiType;
|
|
431
|
-
ChatMember: ApiType;
|
|
432
|
-
ChatMemberOwner: ApiType;
|
|
433
|
-
ChatMemberAdministrator: ApiType;
|
|
434
|
-
ChatMemberMember: ApiType;
|
|
435
|
-
ChatMemberRestricted: ApiType;
|
|
436
|
-
ChatMemberLeft: ApiType;
|
|
437
|
-
ChatMemberBanned: ApiType;
|
|
438
|
-
ChatJoinRequest: ApiType;
|
|
439
|
-
ChatPermissions: ApiType;
|
|
440
|
-
Birthdate: ApiType;
|
|
441
|
-
BusinessIntro: ApiType;
|
|
442
|
-
BusinessLocation: ApiType;
|
|
443
|
-
BusinessOpeningHoursInterval: ApiType;
|
|
444
|
-
BusinessOpeningHours: ApiType;
|
|
445
|
-
StoryAreaPosition: ApiType;
|
|
446
|
-
LocationAddress: ApiType;
|
|
447
|
-
StoryAreaType: ApiType;
|
|
448
|
-
StoryAreaTypeLocation: ApiType;
|
|
449
|
-
StoryAreaTypeSuggestedReaction: ApiType;
|
|
450
|
-
StoryAreaTypeLink: ApiType;
|
|
451
|
-
StoryAreaTypeWeather: ApiType;
|
|
452
|
-
StoryAreaTypeUniqueGift: ApiType;
|
|
453
|
-
StoryArea: ApiType;
|
|
454
|
-
ChatLocation: ApiType;
|
|
455
|
-
ReactionType: ApiType;
|
|
456
|
-
ReactionTypeEmoji: ApiType;
|
|
457
|
-
ReactionTypeCustomEmoji: ApiType;
|
|
458
|
-
ReactionTypePaid: ApiType;
|
|
459
|
-
ReactionCount: ApiType;
|
|
460
|
-
MessageReactionUpdated: ApiType;
|
|
461
|
-
MessageReactionCountUpdated: ApiType;
|
|
462
|
-
ForumTopic: ApiType;
|
|
463
|
-
Gift: ApiType;
|
|
464
|
-
Gifts: ApiType;
|
|
465
|
-
UniqueGiftModel: ApiType;
|
|
466
|
-
UniqueGiftSymbol: ApiType;
|
|
467
|
-
UniqueGiftBackdropColors: ApiType;
|
|
468
|
-
UniqueGiftBackdrop: ApiType;
|
|
469
|
-
UniqueGift: ApiType;
|
|
470
|
-
GiftInfo: ApiType;
|
|
471
|
-
UniqueGiftInfo: ApiType;
|
|
472
|
-
OwnedGift: ApiType;
|
|
473
|
-
OwnedGiftRegular: ApiType;
|
|
474
|
-
OwnedGiftUnique: ApiType;
|
|
475
|
-
OwnedGifts: ApiType;
|
|
476
|
-
AcceptedGiftTypes: ApiType;
|
|
477
|
-
StarAmount: ApiType;
|
|
478
|
-
BotCommand: ApiType;
|
|
479
|
-
BotCommandScope: ApiType;
|
|
480
|
-
BotCommandScopeDefault: ApiType;
|
|
481
|
-
BotCommandScopeAllPrivateChats: ApiType;
|
|
482
|
-
BotCommandScopeAllGroupChats: ApiType;
|
|
483
|
-
BotCommandScopeAllChatAdministrators: ApiType;
|
|
484
|
-
BotCommandScopeChat: ApiType;
|
|
485
|
-
BotCommandScopeChatAdministrators: ApiType;
|
|
486
|
-
BotCommandScopeChatMember: ApiType;
|
|
487
|
-
BotName: ApiType;
|
|
488
|
-
BotDescription: ApiType;
|
|
489
|
-
BotShortDescription: ApiType;
|
|
490
|
-
MenuButton: ApiType;
|
|
491
|
-
MenuButtonCommands: ApiType;
|
|
492
|
-
MenuButtonWebApp: ApiType;
|
|
493
|
-
MenuButtonDefault: ApiType;
|
|
494
|
-
ChatBoostSource: ApiType;
|
|
495
|
-
ChatBoostSourcePremium: ApiType;
|
|
496
|
-
ChatBoostSourceGiftCode: ApiType;
|
|
497
|
-
ChatBoostSourceGiveaway: ApiType;
|
|
498
|
-
ChatBoost: ApiType;
|
|
499
|
-
ChatBoostUpdated: ApiType;
|
|
500
|
-
ChatBoostRemoved: ApiType;
|
|
501
|
-
UserChatBoosts: ApiType;
|
|
502
|
-
BusinessBotRights: ApiType;
|
|
503
|
-
BusinessConnection: ApiType;
|
|
504
|
-
BusinessMessagesDeleted: ApiType;
|
|
505
|
-
ResponseParameters: ApiType;
|
|
506
|
-
InputMedia: ApiType;
|
|
507
|
-
InputMediaPhoto: ApiType;
|
|
508
|
-
InputMediaVideo: ApiType;
|
|
509
|
-
InputMediaAnimation: ApiType;
|
|
510
|
-
InputMediaAudio: ApiType;
|
|
511
|
-
InputMediaDocument: ApiType;
|
|
512
|
-
InputPaidMedia: ApiType;
|
|
513
|
-
InputPaidMediaPhoto: ApiType;
|
|
514
|
-
InputPaidMediaVideo: ApiType;
|
|
515
|
-
InputProfilePhoto: ApiType;
|
|
516
|
-
InputProfilePhotoStatic: ApiType;
|
|
517
|
-
InputProfilePhotoAnimated: ApiType;
|
|
518
|
-
InputStoryContent: ApiType;
|
|
519
|
-
InputStoryContentPhoto: ApiType;
|
|
520
|
-
InputStoryContentVideo: ApiType;
|
|
521
|
-
Sticker: ApiType;
|
|
522
|
-
StickerSet: ApiType;
|
|
523
|
-
MaskPosition: ApiType;
|
|
524
|
-
InputSticker: ApiType;
|
|
525
|
-
InlineQuery: ApiType;
|
|
526
|
-
InlineQueryResultsButton: ApiType;
|
|
527
|
-
InlineQueryResult: ApiType;
|
|
528
|
-
InlineQueryResultArticle: ApiType;
|
|
529
|
-
InlineQueryResultPhoto: ApiType;
|
|
530
|
-
InlineQueryResultGif: ApiType;
|
|
531
|
-
InlineQueryResultMpeg4Gif: ApiType;
|
|
532
|
-
InlineQueryResultVideo: ApiType;
|
|
533
|
-
InlineQueryResultAudio: ApiType;
|
|
534
|
-
InlineQueryResultVoice: ApiType;
|
|
535
|
-
InlineQueryResultDocument: ApiType;
|
|
536
|
-
InlineQueryResultLocation: ApiType;
|
|
537
|
-
InlineQueryResultVenue: ApiType;
|
|
538
|
-
InlineQueryResultContact: ApiType;
|
|
539
|
-
InlineQueryResultGame: ApiType;
|
|
540
|
-
InlineQueryResultCachedPhoto: ApiType;
|
|
541
|
-
InlineQueryResultCachedGif: ApiType;
|
|
542
|
-
InlineQueryResultCachedMpeg4Gif: ApiType;
|
|
543
|
-
InlineQueryResultCachedSticker: ApiType;
|
|
544
|
-
InlineQueryResultCachedDocument: ApiType;
|
|
545
|
-
InlineQueryResultCachedVideo: ApiType;
|
|
546
|
-
InlineQueryResultCachedVoice: ApiType;
|
|
547
|
-
InlineQueryResultCachedAudio: ApiType;
|
|
548
|
-
InputMessageContent: ApiType;
|
|
549
|
-
InputTextMessageContent: ApiType;
|
|
550
|
-
InputLocationMessageContent: ApiType;
|
|
551
|
-
InputVenueMessageContent: ApiType;
|
|
552
|
-
InputContactMessageContent: ApiType;
|
|
553
|
-
InputInvoiceMessageContent: ApiType;
|
|
554
|
-
ChosenInlineResult: ApiType;
|
|
555
|
-
SentWebAppMessage: ApiType;
|
|
556
|
-
PreparedInlineMessage: ApiType;
|
|
557
|
-
LabeledPrice: ApiType;
|
|
558
|
-
Invoice: ApiType;
|
|
559
|
-
ShippingAddress: ApiType;
|
|
560
|
-
OrderInfo: ApiType;
|
|
561
|
-
ShippingOption: ApiType;
|
|
562
|
-
SuccessfulPayment: ApiType;
|
|
563
|
-
RefundedPayment: ApiType;
|
|
564
|
-
ShippingQuery: ApiType;
|
|
565
|
-
PreCheckoutQuery: ApiType;
|
|
566
|
-
PaidMediaPurchased: ApiType;
|
|
567
|
-
RevenueWithdrawalState: ApiType;
|
|
568
|
-
RevenueWithdrawalStatePending: ApiType;
|
|
569
|
-
RevenueWithdrawalStateSucceeded: ApiType;
|
|
570
|
-
RevenueWithdrawalStateFailed: ApiType;
|
|
571
|
-
AffiliateInfo: ApiType;
|
|
572
|
-
TransactionPartner: ApiType;
|
|
573
|
-
TransactionPartnerUser: ApiType;
|
|
574
|
-
TransactionPartnerChat: ApiType;
|
|
575
|
-
TransactionPartnerAffiliateProgram: ApiType;
|
|
576
|
-
TransactionPartnerFragment: ApiType;
|
|
577
|
-
TransactionPartnerTelegramAds: ApiType;
|
|
578
|
-
TransactionPartnerTelegramApi: ApiType;
|
|
579
|
-
TransactionPartnerOther: ApiType;
|
|
580
|
-
StarTransaction: ApiType;
|
|
581
|
-
StarTransactions: ApiType;
|
|
582
|
-
PassportData: ApiType;
|
|
583
|
-
PassportFile: ApiType;
|
|
584
|
-
EncryptedPassportElement: ApiType;
|
|
585
|
-
EncryptedCredentials: ApiType;
|
|
586
|
-
PassportElementError: ApiType;
|
|
587
|
-
PassportElementErrorDataField: ApiType;
|
|
588
|
-
PassportElementErrorFrontSide: ApiType;
|
|
589
|
-
PassportElementErrorReverseSide: ApiType;
|
|
590
|
-
PassportElementErrorSelfie: ApiType;
|
|
591
|
-
PassportElementErrorFile: ApiType;
|
|
592
|
-
PassportElementErrorFiles: ApiType;
|
|
593
|
-
PassportElementErrorTranslationFile: ApiType;
|
|
594
|
-
PassportElementErrorTranslationFiles: ApiType;
|
|
595
|
-
PassportElementErrorUnspecified: ApiType;
|
|
596
|
-
Game: ApiType;
|
|
597
|
-
CallbackGame: ApiType;
|
|
598
|
-
GameHighScore: ApiType;
|
|
599
|
-
};
|
|
600
|
-
//#endregion
|
|
601
|
-
export { ApiMethod, ApiType, ApiTypeObject, ApiTypeOneOf, Description, FieldOrParam, ValueType, ValueTypeApiType, ValueTypeArray, ValueTypeBoolean, ValueTypeFloat, ValueTypeInputFile, ValueTypeInteger32, ValueTypeInteger53, ValueTypeString, ValueTypeUnion, methods, types };
|
|
1
|
+
export { methods } from './methods.gen.ts';
|
|
2
|
+
export { types } from './types.gen.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA"}
|