@tgsnake/skema 1.9.0 → 1.11.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/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  This project was originally based on the source code from [`@tgsnake/core`](https://github.com/tgsnake/core). 🐍
5
5
 
6
6
  <center>
7
- <b>Layer 222</b>
7
+ <b>Layer 223</b>
8
8
  </center>
9
9
 
10
10
  ## Features ✨
@@ -1,4 +1,4 @@
1
- declare const count = 817;
1
+ declare const count = 844;
2
2
  declare const Exceptions: {
3
3
  303: {
4
4
  _: string;
@@ -138,6 +138,7 @@ declare const Exceptions: {
138
138
  CODE_INVALID: string;
139
139
  COLLECTIBLE_INVALID: string;
140
140
  COLLECTIBLE_NOT_FOUND: string;
141
+ COLLECTION_ID_INVALID: string;
141
142
  COLOR_INVALID: string;
142
143
  CONNECTION_API_ID_INVALID: string;
143
144
  CONNECTION_APP_VERSION_EMPTY: string;
@@ -154,6 +155,7 @@ declare const Exceptions: {
154
155
  CONTACT_NAME_EMPTY: string;
155
156
  CONTACT_REQ_MISSING: string;
156
157
  CREATE_CALL_FAILED: string;
158
+ CREDENTIAL_INVALID: string;
157
159
  CURRENCY_TOTAL_AMOUNT_INVALID: string;
158
160
  CUSTOM_REACTIONS_TOO_MANY: string;
159
161
  DATA_HASH_SIZE_INVALID: string;
@@ -164,8 +166,10 @@ declare const Exceptions: {
164
166
  DC_ID_INVALID: string;
165
167
  DH_G_A_INVALID: string;
166
168
  DOCUMENT_INVALID: string;
169
+ EFFECT_CHAT_INVALID: string;
167
170
  EFFECT_ID_INVALID: string;
168
171
  EMAIL_HASH_EXPIRED: string;
172
+ EMAIL_INSTALL_MISSING: string;
169
173
  EMAIL_INVALID: string;
170
174
  EMAIL_NOT_ALLOWED: string;
171
175
  EMAIL_NOT_SETUP: string;
@@ -191,6 +195,7 @@ declare const Exceptions: {
191
195
  EXPIRE_DATE_INVALID: string;
192
196
  EXPORT_CARD_INVALID: string;
193
197
  EXTENDED_MEDIA_AMOUNT_INVALID: string;
198
+ EXTENDED_MEDIA_EMPTY: string;
194
199
  EXTENDED_MEDIA_INVALID: string;
195
200
  EXTERNAL_URL_INVALID: string;
196
201
  FIELD_NAME_EMPTY: string;
@@ -212,6 +217,7 @@ declare const Exceptions: {
212
217
  FILE_REFERENCE_EMPTY: string;
213
218
  FILE_REFERENCE_EXPIRED: string;
214
219
  FILE_REFERENCE_INVALID: string;
220
+ FILE_REFERENCE_X_EMPTY: string;
215
221
  FILE_REFERENCE_X_EXPIRED: string;
216
222
  FILE_REFERENCE_X_INVALID: string;
217
223
  FILE_TITLE_EMPTY: string;
@@ -277,6 +283,8 @@ declare const Exceptions: {
277
283
  INPUT_PEERS_EMPTY: string;
278
284
  INPUT_PURPOSE_INVALID: string;
279
285
  INPUT_REQUEST_TOO_LONG: string;
286
+ INPUT_STARS_AMOUNT_INVALID: string;
287
+ INPUT_STARS_NANOS_INVALID: string;
280
288
  INPUT_TEXT_EMPTY: string;
281
289
  INPUT_TEXT_TOO_LONG: string;
282
290
  INPUT_USER_DEACTIVATED: string;
@@ -327,6 +335,7 @@ declare const Exceptions: {
327
335
  MESSAGE_NOT_MODIFIED: string;
328
336
  MESSAGE_NOT_READ_YET: string;
329
337
  MESSAGE_POLL_CLOSED: string;
338
+ MESSAGE_REQUIRED: string;
330
339
  MESSAGE_TOO_LONG: string;
331
340
  MESSAGE_TOO_OLD: string;
332
341
  METHOD_INVALID: string;
@@ -337,6 +346,7 @@ declare const Exceptions: {
337
346
  MSG_VOICE_MISSING: string;
338
347
  MSG_WAIT_FAILED: string;
339
348
  MULTI_MEDIA_TOO_LONG: string;
349
+ NEED_ACTION_MISSING: string;
340
350
  NEW_SALT_INVALID: string;
341
351
  NEW_SETTINGS_EMPTY: string;
342
352
  NEW_SETTINGS_INVALID: string;
@@ -404,6 +414,7 @@ declare const Exceptions: {
404
414
  PHOTO_THUMB_URL_INVALID: string;
405
415
  PINNED_DIALOGS_TOO_MUCH: string;
406
416
  PINNED_TOO_MUCH: string;
417
+ PINNED_TOPIC_NOT_MODIFIED: string;
407
418
  PIN_RESTRICTED: string;
408
419
  POLL_ANSWERS_INVALID: string;
409
420
  POLL_ANSWER_INVALID: string;
@@ -413,6 +424,7 @@ declare const Exceptions: {
413
424
  POLL_UNSUPPORTED: string;
414
425
  POLL_VOTE_REQUIRED: string;
415
426
  PREMIUM_ACCOUNT_REQUIRED: string;
427
+ PREMIUM_PURPOSE_INVALID: string;
416
428
  PRICING_CHAT_INVALID: string;
417
429
  PRIVACY_KEY_INVALID: string;
418
430
  PRIVACY_TOO_LONG: string;
@@ -452,6 +464,8 @@ declare const Exceptions: {
452
464
  REPLY_TO_MONOFORUM_PEER_INVALID: string;
453
465
  REPLY_TO_USER_INVALID: string;
454
466
  REQUEST_TOKEN_INVALID: string;
467
+ RESELL_STARS_TOO_FEW: string;
468
+ RESELL_STARS_TOO_MUCH: string;
455
469
  RESET_REQUEST_MISSING: string;
456
470
  RESULTS_TOO_MUCH: string;
457
471
  RESULT_ID_DUPLICATE: string;
@@ -464,6 +478,7 @@ declare const Exceptions: {
464
478
  RINGTONE_MIME_INVALID: string;
465
479
  RSA_DECRYPT_FAILED: string;
466
480
  SAVED_ID_EMPTY: string;
481
+ SAVED_PEER_INVALID: string;
467
482
  SCHEDULE_BOT_NOT_ALLOWED: string;
468
483
  SCHEDULE_DATE_INVALID: string;
469
484
  SCHEDULE_DATE_TOO_LATE: string;
@@ -497,11 +512,18 @@ declare const Exceptions: {
497
512
  STARGIFT_ALREADY_CONVERTED: string;
498
513
  STARGIFT_ALREADY_REFUNDED: string;
499
514
  STARGIFT_ALREADY_UPGRADED: string;
515
+ STARGIFT_ATTRIBUTE_INVALID: string;
500
516
  STARGIFT_INVALID: string;
517
+ STARGIFT_MESSAGE_INVALID: string;
501
518
  STARGIFT_NOT_FOUND: string;
519
+ STARGIFT_NOT_OWNER: string;
520
+ STARGIFT_NOT_UNIQUE: string;
521
+ STARGIFT_OFFER_INVALID: string;
522
+ STARGIFT_OFFER_NOT_ALLOWED: string;
502
523
  STARGIFT_OWNER_INVALID: string;
503
524
  STARGIFT_PEER_INVALID: string;
504
525
  STARGIFT_RESELL_CURRENCY_NOT_ALLOWED: string;
526
+ STARGIFT_RESELL_TOO_EARLY_X: string;
505
527
  STARGIFT_SLUG_INVALID: string;
506
528
  STARGIFT_TRANSFER_TOO_EARLY_X: string;
507
529
  STARGIFT_UPGRADE_UNAVAILABLE: string;
@@ -669,6 +691,7 @@ declare const Exceptions: {
669
691
  };
670
692
  403: {
671
693
  _: string;
694
+ ACCESS_DENIED: string;
672
695
  ALLOW_PAYMENT_REQUIRED_X: string;
673
696
  ANONYMOUS_REACTIONS_DISABLED: string;
674
697
  BOT_ACCESS_FORBIDDEN: string;
@@ -794,6 +817,7 @@ declare const Exceptions: {
794
817
  CHAT_OCCUPY_LOC_FAILED: string;
795
818
  CHAT_OCCUPY_USERNAME_FAILED: string;
796
819
  CHP_CALL_FAIL: string;
820
+ ENCRYPTION_DECLINE_ADMIN_FAILED: string;
797
821
  ENCRYPTION_OCCUPY_ADMIN_FAILED: string;
798
822
  ENCRYPTION_OCCUPY_FAILED: string;
799
823
  FOLDER_DEAC_AUTOFIX_ALL: string;
@@ -814,9 +838,11 @@ declare const Exceptions: {
814
838
  MSG_WAIT_FAILED: string;
815
839
  MT_SEND_QUEUE_TOO_LONG: string;
816
840
  NEED_CHAT_INVALID: string;
841
+ NEED_DOC_INVALID: string;
817
842
  NEED_MEMBER_INVALID: string;
818
843
  No_workers_running: string;
819
844
  PARTICIPANT_CALL_FAILED: string;
845
+ PASSKEY_AUTH_RESTART: string;
820
846
  PERSISTENT_TIMESTAMP_OUTDATED: string;
821
847
  PHOTO_CREATE_FAILED: string;
822
848
  POSTPONED_TIMEOUT: string;
@@ -835,6 +861,7 @@ declare const Exceptions: {
835
861
  UNKNOWN_METHOD: string;
836
862
  UPLOAD_NO_VOLUME: string;
837
863
  VOLUME_LOC_NOT_FOUND: string;
864
+ VOLUME_MOVE_INVALID: string;
838
865
  WORKER_BUSY_TOO_LONG_RETRY: string;
839
866
  WP_ID_GENERATE_FAILED: string;
840
867
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.count = exports.Exceptions = void 0;
4
- const count = 817;
4
+ const count = 844;
5
5
  exports.count = count;
6
6
  const Exceptions = {
7
7
  303: {
@@ -142,6 +142,7 @@ const Exceptions = {
142
142
  CODE_INVALID: 'BadRequest.CodeInvalid',
143
143
  COLLECTIBLE_INVALID: 'BadRequest.CollectibleInvalid',
144
144
  COLLECTIBLE_NOT_FOUND: 'BadRequest.CollectibleNotFound',
145
+ COLLECTION_ID_INVALID: 'BadRequest.CollectionIdInvalid',
145
146
  COLOR_INVALID: 'BadRequest.ColorInvalid',
146
147
  CONNECTION_API_ID_INVALID: 'BadRequest.ConnectionApiIdInvalid',
147
148
  CONNECTION_APP_VERSION_EMPTY: 'BadRequest.ConnectionAppVersionEmpty',
@@ -158,6 +159,7 @@ const Exceptions = {
158
159
  CONTACT_NAME_EMPTY: 'BadRequest.ContactNameEmpty',
159
160
  CONTACT_REQ_MISSING: 'BadRequest.ContactReqMissing',
160
161
  CREATE_CALL_FAILED: 'BadRequest.CreateCallFailed',
162
+ CREDENTIAL_INVALID: 'BadRequest.CredentialInvalid',
161
163
  CURRENCY_TOTAL_AMOUNT_INVALID: 'BadRequest.CurrencyTotalAmountInvalid',
162
164
  CUSTOM_REACTIONS_TOO_MANY: 'BadRequest.CustomReactionsTooMany',
163
165
  DATA_HASH_SIZE_INVALID: 'BadRequest.DataHashSizeInvalid',
@@ -168,8 +170,10 @@ const Exceptions = {
168
170
  DC_ID_INVALID: 'BadRequest.DcIdInvalid',
169
171
  DH_G_A_INVALID: 'BadRequest.DhGAInvalid',
170
172
  DOCUMENT_INVALID: 'BadRequest.DocumentInvalid',
173
+ EFFECT_CHAT_INVALID: 'BadRequest.EffectChatInvalid',
171
174
  EFFECT_ID_INVALID: 'BadRequest.EffectIdInvalid',
172
175
  EMAIL_HASH_EXPIRED: 'BadRequest.EmailHashExpired',
176
+ EMAIL_INSTALL_MISSING: 'BadRequest.EmailInstallMissing',
173
177
  EMAIL_INVALID: 'BadRequest.EmailInvalid',
174
178
  EMAIL_NOT_ALLOWED: 'BadRequest.EmailNotAllowed',
175
179
  EMAIL_NOT_SETUP: 'BadRequest.EmailNotSetup',
@@ -195,6 +199,7 @@ const Exceptions = {
195
199
  EXPIRE_DATE_INVALID: 'BadRequest.ExpireDateInvalid',
196
200
  EXPORT_CARD_INVALID: 'BadRequest.ExportCardInvalid',
197
201
  EXTENDED_MEDIA_AMOUNT_INVALID: 'BadRequest.ExtendedMediaAmountInvalid',
202
+ EXTENDED_MEDIA_EMPTY: 'BadRequest.ExtendedMediaEmpty',
198
203
  EXTENDED_MEDIA_INVALID: 'BadRequest.ExtendedMediaInvalid',
199
204
  EXTERNAL_URL_INVALID: 'BadRequest.ExternalUrlInvalid',
200
205
  FIELD_NAME_EMPTY: 'BadRequest.FieldNameEmpty',
@@ -216,6 +221,7 @@ const Exceptions = {
216
221
  FILE_REFERENCE_EMPTY: 'BadRequest.FileReferenceEmpty',
217
222
  FILE_REFERENCE_EXPIRED: 'BadRequest.FileReferenceExpired',
218
223
  FILE_REFERENCE_INVALID: 'BadRequest.FileReferenceInvalid',
224
+ FILE_REFERENCE_X_EMPTY: 'BadRequest.FileReferenceXEmpty',
219
225
  FILE_REFERENCE_X_EXPIRED: 'BadRequest.FileReferenceXExpired',
220
226
  FILE_REFERENCE_X_INVALID: 'BadRequest.FileReferenceXInvalid',
221
227
  FILE_TITLE_EMPTY: 'BadRequest.FileTitleEmpty',
@@ -281,6 +287,8 @@ const Exceptions = {
281
287
  INPUT_PEERS_EMPTY: 'BadRequest.InputPeersEmpty',
282
288
  INPUT_PURPOSE_INVALID: 'BadRequest.InputPurposeInvalid',
283
289
  INPUT_REQUEST_TOO_LONG: 'BadRequest.InputRequestTooLong',
290
+ INPUT_STARS_AMOUNT_INVALID: 'BadRequest.InputStarsAmountInvalid',
291
+ INPUT_STARS_NANOS_INVALID: 'BadRequest.InputStarsNanosInvalid',
284
292
  INPUT_TEXT_EMPTY: 'BadRequest.InputTextEmpty',
285
293
  INPUT_TEXT_TOO_LONG: 'BadRequest.InputTextTooLong',
286
294
  INPUT_USER_DEACTIVATED: 'BadRequest.InputUserDeactivated',
@@ -331,6 +339,7 @@ const Exceptions = {
331
339
  MESSAGE_NOT_MODIFIED: 'BadRequest.MessageNotModified',
332
340
  MESSAGE_NOT_READ_YET: 'BadRequest.MessageNotReadYet',
333
341
  MESSAGE_POLL_CLOSED: 'BadRequest.MessagePollClosed',
342
+ MESSAGE_REQUIRED: 'BadRequest.MessageRequired',
334
343
  MESSAGE_TOO_LONG: 'BadRequest.MessageTooLong',
335
344
  MESSAGE_TOO_OLD: 'BadRequest.MessageTooOld',
336
345
  METHOD_INVALID: 'BadRequest.MethodInvalid',
@@ -341,6 +350,7 @@ const Exceptions = {
341
350
  MSG_VOICE_MISSING: 'BadRequest.MsgVoiceMissing',
342
351
  MSG_WAIT_FAILED: 'BadRequest.MsgWaitFailed',
343
352
  MULTI_MEDIA_TOO_LONG: 'BadRequest.MultiMediaTooLong',
353
+ NEED_ACTION_MISSING: 'BadRequest.NeedActionMissing',
344
354
  NEW_SALT_INVALID: 'BadRequest.NewSaltInvalid',
345
355
  NEW_SETTINGS_EMPTY: 'BadRequest.NewSettingsEmpty',
346
356
  NEW_SETTINGS_INVALID: 'BadRequest.NewSettingsInvalid',
@@ -408,6 +418,7 @@ const Exceptions = {
408
418
  PHOTO_THUMB_URL_INVALID: 'BadRequest.PhotoThumbUrlInvalid',
409
419
  PINNED_DIALOGS_TOO_MUCH: 'BadRequest.PinnedDialogsTooMuch',
410
420
  PINNED_TOO_MUCH: 'BadRequest.PinnedTooMuch',
421
+ PINNED_TOPIC_NOT_MODIFIED: 'BadRequest.PinnedTopicNotModified',
411
422
  PIN_RESTRICTED: 'BadRequest.PinRestricted',
412
423
  POLL_ANSWERS_INVALID: 'BadRequest.PollAnswersInvalid',
413
424
  POLL_ANSWER_INVALID: 'BadRequest.PollAnswerInvalid',
@@ -417,6 +428,7 @@ const Exceptions = {
417
428
  POLL_UNSUPPORTED: 'BadRequest.PollUnsupported',
418
429
  POLL_VOTE_REQUIRED: 'BadRequest.PollVoteRequired',
419
430
  PREMIUM_ACCOUNT_REQUIRED: 'BadRequest.PremiumAccountRequired',
431
+ PREMIUM_PURPOSE_INVALID: 'BadRequest.PremiumPurposeInvalid',
420
432
  PRICING_CHAT_INVALID: 'BadRequest.PricingChatInvalid',
421
433
  PRIVACY_KEY_INVALID: 'BadRequest.PrivacyKeyInvalid',
422
434
  PRIVACY_TOO_LONG: 'BadRequest.PrivacyTooLong',
@@ -456,6 +468,8 @@ const Exceptions = {
456
468
  REPLY_TO_MONOFORUM_PEER_INVALID: 'BadRequest.ReplyToMonoforumPeerInvalid',
457
469
  REPLY_TO_USER_INVALID: 'BadRequest.ReplyToUserInvalid',
458
470
  REQUEST_TOKEN_INVALID: 'BadRequest.RequestTokenInvalid',
471
+ RESELL_STARS_TOO_FEW: 'BadRequest.ResellStarsTooFew',
472
+ RESELL_STARS_TOO_MUCH: 'BadRequest.ResellStarsTooMuch',
459
473
  RESET_REQUEST_MISSING: 'BadRequest.ResetRequestMissing',
460
474
  RESULTS_TOO_MUCH: 'BadRequest.ResultsTooMuch',
461
475
  RESULT_ID_DUPLICATE: 'BadRequest.ResultIdDuplicate',
@@ -468,6 +482,7 @@ const Exceptions = {
468
482
  RINGTONE_MIME_INVALID: 'BadRequest.RingtoneMimeInvalid',
469
483
  RSA_DECRYPT_FAILED: 'BadRequest.RsaDecryptFailed',
470
484
  SAVED_ID_EMPTY: 'BadRequest.SavedIdEmpty',
485
+ SAVED_PEER_INVALID: 'BadRequest.SavedPeerInvalid',
471
486
  SCHEDULE_BOT_NOT_ALLOWED: 'BadRequest.ScheduleBotNotAllowed',
472
487
  SCHEDULE_DATE_INVALID: 'BadRequest.ScheduleDateInvalid',
473
488
  SCHEDULE_DATE_TOO_LATE: 'BadRequest.ScheduleDateTooLate',
@@ -501,11 +516,18 @@ const Exceptions = {
501
516
  STARGIFT_ALREADY_CONVERTED: 'BadRequest.StargiftAlreadyConverted',
502
517
  STARGIFT_ALREADY_REFUNDED: 'BadRequest.StargiftAlreadyRefunded',
503
518
  STARGIFT_ALREADY_UPGRADED: 'BadRequest.StargiftAlreadyUpgraded',
519
+ STARGIFT_ATTRIBUTE_INVALID: 'BadRequest.StargiftAttributeInvalid',
504
520
  STARGIFT_INVALID: 'BadRequest.StargiftInvalid',
521
+ STARGIFT_MESSAGE_INVALID: 'BadRequest.StargiftMessageInvalid',
505
522
  STARGIFT_NOT_FOUND: 'BadRequest.StargiftNotFound',
523
+ STARGIFT_NOT_OWNER: 'BadRequest.StargiftNotOwner',
524
+ STARGIFT_NOT_UNIQUE: 'BadRequest.StargiftNotUnique',
525
+ STARGIFT_OFFER_INVALID: 'BadRequest.StargiftOfferInvalid',
526
+ STARGIFT_OFFER_NOT_ALLOWED: 'BadRequest.StargiftOfferNotAllowed',
506
527
  STARGIFT_OWNER_INVALID: 'BadRequest.StargiftOwnerInvalid',
507
528
  STARGIFT_PEER_INVALID: 'BadRequest.StargiftPeerInvalid',
508
529
  STARGIFT_RESELL_CURRENCY_NOT_ALLOWED: 'BadRequest.StargiftResellCurrencyNotAllowed',
530
+ STARGIFT_RESELL_TOO_EARLY_X: 'BadRequest.StargiftResellTooEarly',
509
531
  STARGIFT_SLUG_INVALID: 'BadRequest.StargiftSlugInvalid',
510
532
  STARGIFT_TRANSFER_TOO_EARLY_X: 'BadRequest.StargiftTransferTooEarly',
511
533
  STARGIFT_UPGRADE_UNAVAILABLE: 'BadRequest.StargiftUpgradeUnavailable',
@@ -673,6 +695,7 @@ const Exceptions = {
673
695
  },
674
696
  403: {
675
697
  _: 'Forbidden.Forbidden',
698
+ ACCESS_DENIED: 'Forbidden.AccessDenied',
676
699
  ALLOW_PAYMENT_REQUIRED_X: 'Forbidden.AllowPaymentRequired',
677
700
  ANONYMOUS_REACTIONS_DISABLED: 'Forbidden.AnonymousReactionsDisabled',
678
701
  BOT_ACCESS_FORBIDDEN: 'Forbidden.BotAccessForbidden',
@@ -798,6 +821,7 @@ const Exceptions = {
798
821
  CHAT_OCCUPY_LOC_FAILED: 'InternalServerError.ChatOccupyLocFailed',
799
822
  CHAT_OCCUPY_USERNAME_FAILED: 'InternalServerError.ChatOccupyUsernameFailed',
800
823
  CHP_CALL_FAIL: 'InternalServerError.ChpCallFail',
824
+ ENCRYPTION_DECLINE_ADMIN_FAILED: 'InternalServerError.EncryptionDeclineAdminFailed',
801
825
  ENCRYPTION_OCCUPY_ADMIN_FAILED: 'InternalServerError.EncryptionOccupyAdminFailed',
802
826
  ENCRYPTION_OCCUPY_FAILED: 'InternalServerError.EncryptionOccupyFailed',
803
827
  FOLDER_DEAC_AUTOFIX_ALL: 'InternalServerError.FolderDeacAutofixAll',
@@ -818,9 +842,11 @@ const Exceptions = {
818
842
  MSG_WAIT_FAILED: 'InternalServerError.MsgWaitFailed',
819
843
  MT_SEND_QUEUE_TOO_LONG: 'InternalServerError.MtSendQueueTooLong',
820
844
  NEED_CHAT_INVALID: 'InternalServerError.NeedChatInvalid',
845
+ NEED_DOC_INVALID: 'InternalServerError.NeedDocInvalid',
821
846
  NEED_MEMBER_INVALID: 'InternalServerError.NeedMemberInvalid',
822
847
  No_workers_running: 'InternalServerError.NoWorkersRunning',
823
848
  PARTICIPANT_CALL_FAILED: 'InternalServerError.ParticipantCallFailed',
849
+ PASSKEY_AUTH_RESTART: 'InternalServerError.PasskeyAuthRestart',
824
850
  PERSISTENT_TIMESTAMP_OUTDATED: 'InternalServerError.PersistentTimestampOutdated',
825
851
  PHOTO_CREATE_FAILED: 'InternalServerError.PhotoCreateFailed',
826
852
  POSTPONED_TIMEOUT: 'InternalServerError.PostponedTimeout',
@@ -839,6 +865,7 @@ const Exceptions = {
839
865
  UNKNOWN_METHOD: 'InternalServerError.UnknownMethod',
840
866
  UPLOAD_NO_VOLUME: 'InternalServerError.UploadNoVolume',
841
867
  VOLUME_LOC_NOT_FOUND: 'InternalServerError.VolumeLocNotFound',
868
+ VOLUME_MOVE_INVALID: 'InternalServerError.VolumeMoveInvalid',
842
869
  WORKER_BUSY_TOO_LONG_RETRY: 'InternalServerError.WorkerBusyTooLongRetry',
843
870
  WP_ID_GENERATE_FAILED: 'InternalServerError.WpIdGenerateFailed',
844
871
  },
@@ -515,6 +515,10 @@ export declare class CollectibleNotFound extends BadRequest {
515
515
  id: string;
516
516
  message: string;
517
517
  }
518
+ export declare class CollectionIdInvalid extends BadRequest {
519
+ id: string;
520
+ message: string;
521
+ }
518
522
  export declare class ColorInvalid extends BadRequest {
519
523
  id: string;
520
524
  message: string;
@@ -579,6 +583,10 @@ export declare class CreateCallFailed extends BadRequest {
579
583
  id: string;
580
584
  message: string;
581
585
  }
586
+ export declare class CredentialInvalid extends BadRequest {
587
+ id: string;
588
+ message: string;
589
+ }
582
590
  export declare class CurrencyTotalAmountInvalid extends BadRequest {
583
591
  id: string;
584
592
  message: string;
@@ -619,6 +627,10 @@ export declare class DocumentInvalid extends BadRequest {
619
627
  id: string;
620
628
  message: string;
621
629
  }
630
+ export declare class EffectChatInvalid extends BadRequest {
631
+ id: string;
632
+ message: string;
633
+ }
622
634
  export declare class EffectIdInvalid extends BadRequest {
623
635
  id: string;
624
636
  message: string;
@@ -627,6 +639,10 @@ export declare class EmailHashExpired extends BadRequest {
627
639
  id: string;
628
640
  message: string;
629
641
  }
642
+ export declare class EmailInstallMissing extends BadRequest {
643
+ id: string;
644
+ message: string;
645
+ }
630
646
  export declare class EmailInvalid extends BadRequest {
631
647
  id: string;
632
648
  message: string;
@@ -727,6 +743,10 @@ export declare class ExtendedMediaAmountInvalid extends BadRequest {
727
743
  id: string;
728
744
  message: string;
729
745
  }
746
+ export declare class ExtendedMediaEmpty extends BadRequest {
747
+ id: string;
748
+ message: string;
749
+ }
730
750
  export declare class ExtendedMediaInvalid extends BadRequest {
731
751
  id: string;
732
752
  message: string;
@@ -811,6 +831,10 @@ export declare class FileReferenceInvalid extends BadRequest {
811
831
  id: string;
812
832
  message: string;
813
833
  }
834
+ export declare class FileReferenceXEmpty extends BadRequest {
835
+ id: string;
836
+ message: string;
837
+ }
814
838
  export declare class FileReferenceXExpired extends BadRequest {
815
839
  id: string;
816
840
  message: string;
@@ -1071,6 +1095,14 @@ export declare class InputRequestTooLong extends BadRequest {
1071
1095
  id: string;
1072
1096
  message: string;
1073
1097
  }
1098
+ export declare class InputStarsAmountInvalid extends BadRequest {
1099
+ id: string;
1100
+ message: string;
1101
+ }
1102
+ export declare class InputStarsNanosInvalid extends BadRequest {
1103
+ id: string;
1104
+ message: string;
1105
+ }
1074
1106
  export declare class InputTextEmpty extends BadRequest {
1075
1107
  id: string;
1076
1108
  message: string;
@@ -1271,6 +1303,10 @@ export declare class MessagePollClosed extends BadRequest {
1271
1303
  id: string;
1272
1304
  message: string;
1273
1305
  }
1306
+ export declare class MessageRequired extends BadRequest {
1307
+ id: string;
1308
+ message: string;
1309
+ }
1274
1310
  export declare class MessageTooLong extends BadRequest {
1275
1311
  id: string;
1276
1312
  message: string;
@@ -1311,6 +1347,10 @@ export declare class MultiMediaTooLong extends BadRequest {
1311
1347
  id: string;
1312
1348
  message: string;
1313
1349
  }
1350
+ export declare class NeedActionMissing extends BadRequest {
1351
+ id: string;
1352
+ message: string;
1353
+ }
1314
1354
  export declare class NewSaltInvalid extends BadRequest {
1315
1355
  id: string;
1316
1356
  message: string;
@@ -1579,6 +1619,10 @@ export declare class PinnedTooMuch extends BadRequest {
1579
1619
  id: string;
1580
1620
  message: string;
1581
1621
  }
1622
+ export declare class PinnedTopicNotModified extends BadRequest {
1623
+ id: string;
1624
+ message: string;
1625
+ }
1582
1626
  export declare class PinRestricted extends BadRequest {
1583
1627
  id: string;
1584
1628
  message: string;
@@ -1615,6 +1659,10 @@ export declare class PremiumAccountRequired extends BadRequest {
1615
1659
  id: string;
1616
1660
  message: string;
1617
1661
  }
1662
+ export declare class PremiumPurposeInvalid extends BadRequest {
1663
+ id: string;
1664
+ message: string;
1665
+ }
1618
1666
  export declare class PricingChatInvalid extends BadRequest {
1619
1667
  id: string;
1620
1668
  message: string;
@@ -1771,6 +1819,14 @@ export declare class RequestTokenInvalid extends BadRequest {
1771
1819
  id: string;
1772
1820
  message: string;
1773
1821
  }
1822
+ export declare class ResellStarsTooFew extends BadRequest {
1823
+ id: string;
1824
+ message: string;
1825
+ }
1826
+ export declare class ResellStarsTooMuch extends BadRequest {
1827
+ id: string;
1828
+ message: string;
1829
+ }
1774
1830
  export declare class ResetRequestMissing extends BadRequest {
1775
1831
  id: string;
1776
1832
  message: string;
@@ -1819,6 +1875,10 @@ export declare class SavedIdEmpty extends BadRequest {
1819
1875
  id: string;
1820
1876
  message: string;
1821
1877
  }
1878
+ export declare class SavedPeerInvalid extends BadRequest {
1879
+ id: string;
1880
+ message: string;
1881
+ }
1822
1882
  export declare class ScheduleBotNotAllowed extends BadRequest {
1823
1883
  id: string;
1824
1884
  message: string;
@@ -1951,14 +2011,38 @@ export declare class StargiftAlreadyUpgraded extends BadRequest {
1951
2011
  id: string;
1952
2012
  message: string;
1953
2013
  }
2014
+ export declare class StargiftAttributeInvalid extends BadRequest {
2015
+ id: string;
2016
+ message: string;
2017
+ }
1954
2018
  export declare class StargiftInvalid extends BadRequest {
1955
2019
  id: string;
1956
2020
  message: string;
1957
2021
  }
2022
+ export declare class StargiftMessageInvalid extends BadRequest {
2023
+ id: string;
2024
+ message: string;
2025
+ }
1958
2026
  export declare class StargiftNotFound extends BadRequest {
1959
2027
  id: string;
1960
2028
  message: string;
1961
2029
  }
2030
+ export declare class StargiftNotOwner extends BadRequest {
2031
+ id: string;
2032
+ message: string;
2033
+ }
2034
+ export declare class StargiftNotUnique extends BadRequest {
2035
+ id: string;
2036
+ message: string;
2037
+ }
2038
+ export declare class StargiftOfferInvalid extends BadRequest {
2039
+ id: string;
2040
+ message: string;
2041
+ }
2042
+ export declare class StargiftOfferNotAllowed extends BadRequest {
2043
+ id: string;
2044
+ message: string;
2045
+ }
1962
2046
  export declare class StargiftOwnerInvalid extends BadRequest {
1963
2047
  id: string;
1964
2048
  message: string;
@@ -1971,6 +2055,10 @@ export declare class StargiftResellCurrencyNotAllowed extends BadRequest {
1971
2055
  id: string;
1972
2056
  message: string;
1973
2057
  }
2058
+ export declare class StargiftResellTooEarly extends BadRequest {
2059
+ id: string;
2060
+ message: string;
2061
+ }
1974
2062
  export declare class StargiftSlugInvalid extends BadRequest {
1975
2063
  id: string;
1976
2064
  message: string;