@tgsnake/skema 1.7.0 → 1.9.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/LICENSE +0 -0
- package/README.md +1 -1
- package/dist/errors/exceptions/All.d.ts +74 -1
- package/dist/errors/exceptions/All.js +74 -1
- package/dist/errors/exceptions/BadRequest400.d.ts +232 -0
- package/dist/errors/exceptions/BadRequest400.js +311 -20
- package/dist/errors/exceptions/Flood420.d.ts +4 -0
- package/dist/errors/exceptions/Flood420.js +6 -1
- package/dist/errors/exceptions/Forbidden403.d.ts +20 -0
- package/dist/errors/exceptions/Forbidden403.js +27 -2
- package/dist/errors/exceptions/InternalServerError500.d.ts +4 -0
- package/dist/errors/exceptions/InternalServerError500.js +6 -1
- package/dist/errors/exceptions/NotAcceptable406.d.ts +28 -0
- package/dist/errors/exceptions/NotAcceptable406.js +37 -2
- package/dist/errors/exceptions/NotFound404.d.ts +4 -0
- package/dist/errors/exceptions/NotFound404.js +6 -1
- package/dist/raw/All.d.ts +48 -28
- package/dist/raw/All.js +48 -28
- package/dist/raw/Raw.d.ts +263 -13
- package/dist/raw/Raw.js +988 -89
- package/package.json +1 -1
package/dist/raw/All.js
CHANGED
|
@@ -93,6 +93,7 @@ exports.AllTLObject = {
|
|
|
93
93
|
0xc21b8849: 'Raw.InputMediaWebPage',
|
|
94
94
|
0xc4103386: 'Raw.InputMediaPaidMedia',
|
|
95
95
|
0x9fc55fde: 'Raw.InputMediaTodo',
|
|
96
|
+
0xf3a9244a: 'Raw.InputMediaStakeDice',
|
|
96
97
|
0x1ca48f57: 'Raw.InputChatPhotoEmpty',
|
|
97
98
|
0xbdcdaec0: 'Raw.InputChatUploadedPhoto',
|
|
98
99
|
0x8953ad37: 'Raw.InputChatPhoto',
|
|
@@ -148,7 +149,7 @@ exports.AllTLObject = {
|
|
|
148
149
|
0x37c1011c: 'Raw.ChatPhotoEmpty',
|
|
149
150
|
0x1c6e1c11: 'Raw.ChatPhoto',
|
|
150
151
|
0x90a6ca84: 'Raw.MessageEmpty',
|
|
151
|
-
|
|
152
|
+
0x9cb490e9: 'Raw.Message',
|
|
152
153
|
0x7a800e0a: 'Raw.MessageService',
|
|
153
154
|
0x3ded6320: 'Raw.MessageMediaEmpty',
|
|
154
155
|
0x695150d7: 'Raw.MessageMediaPhoto',
|
|
@@ -162,7 +163,7 @@ exports.AllTLObject = {
|
|
|
162
163
|
0xf6a548d3: 'Raw.MessageMediaInvoice',
|
|
163
164
|
0xb940c666: 'Raw.MessageMediaGeoLive',
|
|
164
165
|
0x4bd6e798: 'Raw.MessageMediaPoll',
|
|
165
|
-
|
|
166
|
+
0x8cbec07: 'Raw.MessageMediaDice',
|
|
166
167
|
0x68cb6283: 'Raw.MessageMediaStory',
|
|
167
168
|
0xaa073beb: 'Raw.MessageMediaGiveaway',
|
|
168
169
|
0xceaa3ea1: 'Raw.MessageMediaGiveawayResults',
|
|
@@ -216,7 +217,7 @@ exports.AllTLObject = {
|
|
|
216
217
|
0x45d5b021: 'Raw.MessageActionGiftStars',
|
|
217
218
|
0xb00c47a2: 'Raw.MessageActionPrizeStars',
|
|
218
219
|
0xea2c31d3: 'Raw.MessageActionStarGift',
|
|
219
|
-
|
|
220
|
+
0xe6c31522: 'Raw.MessageActionStarGiftUnique',
|
|
220
221
|
0xac1f1fcd: 'Raw.MessageActionPaidMessagesRefunded',
|
|
221
222
|
0x84b88578: 'Raw.MessageActionPaidMessagesPrice',
|
|
222
223
|
0x2ffe2f7a: 'Raw.MessageActionConferenceCall',
|
|
@@ -229,6 +230,8 @@ exports.AllTLObject = {
|
|
|
229
230
|
0x2c8f2a25: 'Raw.MessageActionSuggestBirthday',
|
|
230
231
|
0x774278d4: 'Raw.MessageActionStarGiftPurchaseOffer',
|
|
231
232
|
0x73ada76b: 'Raw.MessageActionStarGiftPurchaseOfferDeclined',
|
|
233
|
+
0xb07ed085: 'Raw.MessageActionNewCreatorPending',
|
|
234
|
+
0xe188503b: 'Raw.MessageActionChangeCreator',
|
|
232
235
|
0xd58a08c6: 'Raw.Dialog',
|
|
233
236
|
0x71bd134c: 'Raw.DialogFolder',
|
|
234
237
|
0x2331b22d: 'Raw.PhotoEmpty',
|
|
@@ -454,6 +457,8 @@ exports.AllTLObject = {
|
|
|
454
457
|
0x3e85e92c: 'Raw.UpdateDeleteGroupCallMessages',
|
|
455
458
|
0x48e246c2: 'Raw.UpdateStarGiftAuctionState',
|
|
456
459
|
0xdc58f31e: 'Raw.UpdateStarGiftAuctionUserState',
|
|
460
|
+
0xfb9c547a: 'Raw.UpdateEmojiGameInfo',
|
|
461
|
+
0xac072444: 'Raw.UpdateStarGiftCraftFail',
|
|
457
462
|
0xa56c2a3e: 'Raw.updates.State',
|
|
458
463
|
0x5d75a138: 'Raw.updates.DifferenceEmpty',
|
|
459
464
|
0xf49ca0: 'Raw.updates.Difference',
|
|
@@ -626,24 +631,24 @@ exports.AllTLObject = {
|
|
|
626
631
|
0xd3f924eb: 'Raw.messages.StickerSetNotModified',
|
|
627
632
|
0xc27ac8c7: 'Raw.BotCommand',
|
|
628
633
|
0x4d8a0299: 'Raw.BotInfo',
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
634
|
+
0x7d170cff: 'Raw.KeyboardButton',
|
|
635
|
+
0xd80c25ec: 'Raw.KeyboardButtonUrl',
|
|
636
|
+
0xe62bc960: 'Raw.KeyboardButtonCallback',
|
|
637
|
+
0x417efd8f: 'Raw.KeyboardButtonRequestPhone',
|
|
638
|
+
0xaa40f94d: 'Raw.KeyboardButtonRequestGeoLocation',
|
|
639
|
+
0x991399fc: 'Raw.KeyboardButtonSwitchInline',
|
|
640
|
+
0x89c590f9: 'Raw.KeyboardButtonGame',
|
|
641
|
+
0x3fa53905: 'Raw.KeyboardButtonBuy',
|
|
642
|
+
0xf51006f9: 'Raw.KeyboardButtonUrlAuth',
|
|
643
|
+
0x68013e72: 'Raw.InputKeyboardButtonUrlAuth',
|
|
644
|
+
0x7a11d782: 'Raw.KeyboardButtonRequestPoll',
|
|
645
|
+
0x7d5e07c7: 'Raw.InputKeyboardButtonUserProfile',
|
|
646
|
+
0xc0fd5d09: 'Raw.KeyboardButtonUserProfile',
|
|
647
|
+
0xe846b1a0: 'Raw.KeyboardButtonWebView',
|
|
648
|
+
0xe15c4370: 'Raw.KeyboardButtonSimpleWebView',
|
|
649
|
+
0x5b0f15f5: 'Raw.KeyboardButtonRequestPeer',
|
|
650
|
+
0x2b78156: 'Raw.InputKeyboardButtonRequestPeer',
|
|
651
|
+
0xbcc4af10: 'Raw.KeyboardButtonCopy',
|
|
647
652
|
0x77608b83: 'Raw.KeyboardButtonRow',
|
|
648
653
|
0xa03e5b85: 'Raw.ReplyKeyboardHide',
|
|
649
654
|
0x86b40b08: 'Raw.ReplyKeyboardForceReply',
|
|
@@ -1058,8 +1063,8 @@ exports.AllTLObject = {
|
|
|
1058
1063
|
0xfbd2c296: 'Raw.InputFolderPeer',
|
|
1059
1064
|
0xe9baa668: 'Raw.FolderPeer',
|
|
1060
1065
|
0xe844ebff: 'Raw.messages.SearchCounter',
|
|
1061
|
-
|
|
1062
|
-
|
|
1066
|
+
0x32fabf1a: 'Raw.UrlAuthResultRequest',
|
|
1067
|
+
0x623a8fa0: 'Raw.UrlAuthResultAccepted',
|
|
1063
1068
|
0xa9d6db1f: 'Raw.UrlAuthResultDefault',
|
|
1064
1069
|
0xbfb5ad8b: 'Raw.ChannelLocationEmpty',
|
|
1065
1070
|
0x209b82db: 'Raw.ChannelLocation',
|
|
@@ -1466,7 +1471,7 @@ exports.AllTLObject = {
|
|
|
1466
1471
|
0x94ce852a: 'Raw.StarsGiveawayOption',
|
|
1467
1472
|
0x54236209: 'Raw.StarsGiveawayWinnersOption',
|
|
1468
1473
|
0x313a9547: 'Raw.StarGift',
|
|
1469
|
-
|
|
1474
|
+
0x85f0a9cd: 'Raw.StarGiftUnique',
|
|
1470
1475
|
0xa388a368: 'Raw.payments.StarGiftsNotModified',
|
|
1471
1476
|
0x2ed82995: 'Raw.payments.StarGifts',
|
|
1472
1477
|
0x7903e3d9: 'Raw.MessageReportOption',
|
|
@@ -1486,16 +1491,16 @@ exports.AllTLObject = {
|
|
|
1486
1491
|
0x82c9e290: 'Raw.messages.FoundStickers',
|
|
1487
1492
|
0xb0cd6617: 'Raw.BotVerifierSettings',
|
|
1488
1493
|
0xf93cd45c: 'Raw.BotVerification',
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1494
|
+
0x565251e2: 'Raw.StarGiftAttributeModel',
|
|
1495
|
+
0x4e7085ea: 'Raw.StarGiftAttributePattern',
|
|
1496
|
+
0x9f2504e4: 'Raw.StarGiftAttributeBackdrop',
|
|
1492
1497
|
0xe0bff26c: 'Raw.StarGiftAttributeOriginalDetails',
|
|
1493
1498
|
0x3de1dfed: 'Raw.payments.StarGiftUpgradePreview',
|
|
1494
1499
|
0x62d706b8: 'Raw.users.Users',
|
|
1495
1500
|
0x315a4974: 'Raw.users.UsersSlice',
|
|
1496
1501
|
0x416c56e8: 'Raw.payments.UniqueStarGift',
|
|
1497
1502
|
0x8c9a88ac: 'Raw.messages.WebPagePreview',
|
|
1498
|
-
|
|
1503
|
+
0x41df43fc: 'Raw.SavedStarGift',
|
|
1499
1504
|
0x95f389b1: 'Raw.payments.SavedStarGifts',
|
|
1500
1505
|
0x69279795: 'Raw.InputSavedStarGiftUser',
|
|
1501
1506
|
0xf101aa7f: 'Raw.InputSavedStarGiftChat',
|
|
@@ -1575,10 +1580,20 @@ exports.AllTLObject = {
|
|
|
1575
1580
|
0x3e63935c: 'Raw.InputPasskeyResponseRegister',
|
|
1576
1581
|
0xc31fc14a: 'Raw.InputPasskeyResponseLogin',
|
|
1577
1582
|
0x3c27b78f: 'Raw.InputPasskeyCredentialPublicKey',
|
|
1583
|
+
0x5b1ccb28: 'Raw.InputPasskeyCredentialFirebasePNV',
|
|
1578
1584
|
0xaff56398: 'Raw.StarGiftBackground',
|
|
1579
1585
|
0x3aae0528: 'Raw.StarGiftAuctionRound',
|
|
1580
1586
|
0xaa021e5: 'Raw.StarGiftAuctionRoundExtendable',
|
|
1581
1587
|
0x46c6e36f: 'Raw.payments.StarGiftUpgradeAttributes',
|
|
1588
|
+
0xda2ad647: 'Raw.messages.EmojiGameOutcome',
|
|
1589
|
+
0x59e65335: 'Raw.messages.EmojiGameUnavailable',
|
|
1590
|
+
0x44e56023: 'Raw.messages.EmojiGameDiceInfo',
|
|
1591
|
+
0x36437737: 'Raw.StarGiftAttributeRarity',
|
|
1592
|
+
0xdbce6389: 'Raw.StarGiftAttributeRarityUncommon',
|
|
1593
|
+
0xf08d516b: 'Raw.StarGiftAttributeRarityRare',
|
|
1594
|
+
0x78fbf3a8: 'Raw.StarGiftAttributeRarityEpic',
|
|
1595
|
+
0xcef7e7a8: 'Raw.StarGiftAttributeRarityLegendary',
|
|
1596
|
+
0x4fdd3430: 'Raw.KeyboardButtonStyle',
|
|
1582
1597
|
0xcb9f372d: 'Raw.InvokeAfterMsg',
|
|
1583
1598
|
0x3dc4b4f0: 'Raw.InvokeAfterMsgs',
|
|
1584
1599
|
0xc1cd5ea9: 'Raw.InitConnection',
|
|
@@ -2011,6 +2026,8 @@ exports.AllTLObject = {
|
|
|
2011
2026
|
0xe7841f0: 'Raw.messages.ReorderPinnedForumTopics',
|
|
2012
2027
|
0x2f98c3d5: 'Raw.messages.CreateForumTopic',
|
|
2013
2028
|
0xd2816f10: 'Raw.messages.DeleteTopicHistory',
|
|
2029
|
+
0xfb7e8ca7: 'Raw.messages.GetEmojiGameInfo',
|
|
2030
|
+
0x9d4104e2: 'Raw.messages.SummarizeText',
|
|
2014
2031
|
0xedd4882a: 'Raw.updates.GetState',
|
|
2015
2032
|
0x19c2f763: 'Raw.updates.GetDifference',
|
|
2016
2033
|
0x3173d78: 'Raw.updates.GetChannelDifference',
|
|
@@ -2111,6 +2128,7 @@ exports.AllTLObject = {
|
|
|
2111
2128
|
0xece2a0e6: 'Raw.channels.GetMessageAuthor',
|
|
2112
2129
|
0x22567115: 'Raw.channels.CheckSearchPostsFlood',
|
|
2113
2130
|
0x3583fcb1: 'Raw.channels.SetMainProfileTab',
|
|
2131
|
+
0xa00918af: 'Raw.channels.GetFutureCreatorAfterLeave',
|
|
2114
2132
|
0xaa2769ed: 'Raw.bots.SendCustomRequest',
|
|
2115
2133
|
0xe6213f4d: 'Raw.bots.AnswerWebhookJSONQuery',
|
|
2116
2134
|
0x517165a: 'Raw.bots.SetBotCommands',
|
|
@@ -2204,6 +2222,8 @@ exports.AllTLObject = {
|
|
|
2204
2222
|
0xe9ce781c: 'Raw.payments.ResolveStarGiftOffer',
|
|
2205
2223
|
0x8fb86b41: 'Raw.payments.SendStarGiftOffer',
|
|
2206
2224
|
0x6d038b58: 'Raw.payments.GetStarGiftUpgradeAttributes',
|
|
2225
|
+
0xfd05dd00: 'Raw.payments.GetCraftStarGifts',
|
|
2226
|
+
0xb0f9684f: 'Raw.payments.CraftStarGift',
|
|
2207
2227
|
0x9021ab67: 'Raw.stickers.CreateStickerSet',
|
|
2208
2228
|
0xf7760f51: 'Raw.stickers.RemoveStickerFromSet',
|
|
2209
2229
|
0xffb6d4ca: 'Raw.stickers.ChangeStickerPosition',
|