@mtkruto/node 0.1.106 → 0.1.108
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/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +3 -3
- package/esm/5_client.d.ts +1 -0
- package/esm/5_client.js +1 -0
- package/esm/client/3_types.d.ts +18 -13
- package/esm/client/4_client.d.ts +48 -21
- package/esm/client/4_client.js +56 -37
- package/esm/tl/2_types.d.ts +634 -75
- package/esm/tl/2_types.js +2387 -289
- package/esm/tl/3_functions.d.ts +260 -57
- package/esm/tl/3_functions.js +869 -203
- package/esm/types/0_audio.d.ts +9 -9
- package/esm/types/0_bot_command.d.ts +2 -0
- package/esm/types/0_chat_action.d.ts +1 -0
- package/esm/types/0_chat_administrator_rights.d.ts +13 -13
- package/esm/types/0_chat_photo.d.ts +7 -6
- package/esm/types/0_chat_photo.js +1 -1
- package/esm/types/0_contact.d.ts +6 -6
- package/esm/types/0_dice.d.ts +3 -3
- package/esm/types/0_force_reply.d.ts +4 -4
- package/esm/types/0_input_contact_message_content.d.ts +5 -0
- package/esm/types/0_input_location_message_content.d.ts +7 -0
- package/esm/types/0_input_venue_message_content.d.ts +10 -1
- package/esm/types/0_keyboard_button_poll_type.d.ts +3 -3
- package/esm/types/0_location.d.ts +7 -7
- package/esm/types/0_login_url.d.ts +4 -5
- package/esm/types/0_mask_position.d.ts +0 -1
- package/esm/types/0_message_entity.d.ts +6 -6
- package/esm/types/0_parse_mode.d.ts +1 -0
- package/esm/types/0_poll_option.d.ts +2 -2
- package/esm/types/0_reply_keyboard_remove.d.ts +3 -3
- package/esm/types/0_thumbnail.d.ts +6 -6
- package/esm/types/0_venue.d.ts +6 -6
- package/esm/types/0_voice.d.ts +6 -6
- package/esm/types/0_web_app_info.d.ts +1 -2
- package/esm/types/1_animation.d.ts +9 -9
- package/esm/types/1_chat.d.ts +29 -28
- package/esm/types/1_document.d.ts +6 -7
- package/esm/types/1_keyboard_button.d.ts +1 -1
- package/esm/types/1_photo.d.ts +3 -3
- package/esm/types/1_sticker.d.ts +2 -2
- package/esm/types/1_user.d.ts +2 -1
- package/esm/types/1_video.d.ts +4 -4
- package/esm/types/1_video_note.d.ts +3 -3
- package/esm/types/3_message.js +1 -1
- package/package.json +1 -1
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +3 -3
- package/script/5_client.d.ts +1 -0
- package/script/5_client.js +1 -0
- package/script/client/3_types.d.ts +18 -13
- package/script/client/4_client.d.ts +48 -21
- package/script/client/4_client.js +56 -37
- package/script/tl/2_types.d.ts +634 -75
- package/script/tl/2_types.js +2454 -321
- package/script/tl/3_functions.d.ts +260 -57
- package/script/tl/3_functions.js +895 -211
- package/script/types/0_audio.d.ts +9 -9
- package/script/types/0_bot_command.d.ts +2 -0
- package/script/types/0_chat_action.d.ts +1 -0
- package/script/types/0_chat_administrator_rights.d.ts +13 -13
- package/script/types/0_chat_photo.d.ts +7 -6
- package/script/types/0_chat_photo.js +1 -1
- package/script/types/0_contact.d.ts +6 -6
- package/script/types/0_dice.d.ts +3 -3
- package/script/types/0_force_reply.d.ts +4 -4
- package/script/types/0_input_contact_message_content.d.ts +5 -0
- package/script/types/0_input_location_message_content.d.ts +7 -0
- package/script/types/0_input_venue_message_content.d.ts +10 -1
- package/script/types/0_keyboard_button_poll_type.d.ts +3 -3
- package/script/types/0_location.d.ts +7 -7
- package/script/types/0_login_url.d.ts +4 -5
- package/script/types/0_mask_position.d.ts +0 -1
- package/script/types/0_message_entity.d.ts +6 -6
- package/script/types/0_parse_mode.d.ts +1 -0
- package/script/types/0_poll_option.d.ts +2 -2
- package/script/types/0_reply_keyboard_remove.d.ts +3 -3
- package/script/types/0_thumbnail.d.ts +6 -6
- package/script/types/0_venue.d.ts +6 -6
- package/script/types/0_voice.d.ts +6 -6
- package/script/types/0_web_app_info.d.ts +1 -2
- package/script/types/1_animation.d.ts +9 -9
- package/script/types/1_chat.d.ts +29 -28
- package/script/types/1_document.d.ts +6 -7
- package/script/types/1_keyboard_button.d.ts +1 -1
- package/script/types/1_photo.d.ts +3 -3
- package/script/types/1_sticker.d.ts +2 -2
- package/script/types/1_user.d.ts +2 -1
- package/script/types/1_video.d.ts +4 -4
- package/script/types/1_video_note.d.ts +3 -3
- package/script/types/3_message.js +1 -1
package/esm/tl/2_types.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
// deno-fmt-ignore-file
|
|
2
|
+
import { id, params, TLObject, paramDesc, flags } from "./1_tl_object.js";
|
|
2
3
|
export class Type extends TLObject {
|
|
3
4
|
}
|
|
4
5
|
// Unknown type (generic)
|
|
@@ -856,14 +857,10 @@ export class _TypeStoryViews extends Type {
|
|
|
856
857
|
}
|
|
857
858
|
export class _TypeStoryItem extends Type {
|
|
858
859
|
}
|
|
859
|
-
export class _TypeUserStories extends Type {
|
|
860
|
-
}
|
|
861
860
|
export class _TypeStoriesAllStories extends Type {
|
|
862
861
|
}
|
|
863
862
|
export class _TypeStoriesStories extends Type {
|
|
864
863
|
}
|
|
865
|
-
export class _TypeStoriesUserStories extends Type {
|
|
866
|
-
}
|
|
867
864
|
export class _TypeStoryView extends Type {
|
|
868
865
|
}
|
|
869
866
|
export class _TypeStoriesStoryViewsList extends Type {
|
|
@@ -880,6 +877,30 @@ export class _TypeMediaAreaCoordinates extends Type {
|
|
|
880
877
|
}
|
|
881
878
|
export class _TypeMediaArea extends Type {
|
|
882
879
|
}
|
|
880
|
+
export class _TypePeerStories extends Type {
|
|
881
|
+
}
|
|
882
|
+
export class _TypeStoriesPeerStories extends Type {
|
|
883
|
+
}
|
|
884
|
+
export class _TypeMessagesWebPage extends Type {
|
|
885
|
+
}
|
|
886
|
+
export class _TypePremiumGiftCodeOption extends Type {
|
|
887
|
+
}
|
|
888
|
+
export class _TypePaymentsCheckedGiftCode extends Type {
|
|
889
|
+
}
|
|
890
|
+
export class _TypePaymentsGiveawayInfo extends Type {
|
|
891
|
+
}
|
|
892
|
+
export class _TypePrepaidGiveaway extends Type {
|
|
893
|
+
}
|
|
894
|
+
export class _TypeBoost extends Type {
|
|
895
|
+
}
|
|
896
|
+
export class _TypePremiumBoostsList extends Type {
|
|
897
|
+
}
|
|
898
|
+
export class _TypeMyBoost extends Type {
|
|
899
|
+
}
|
|
900
|
+
export class _TypePremiumMyBoosts extends Type {
|
|
901
|
+
}
|
|
902
|
+
export class _TypePremiumBoostsStatus extends Type {
|
|
903
|
+
}
|
|
883
904
|
export class ResPQ extends _TypeResPQ {
|
|
884
905
|
get [id]() {
|
|
885
906
|
return 0x05162463;
|
|
@@ -3507,23 +3528,23 @@ export class InputMediaDice extends _TypeInputMedia {
|
|
|
3507
3528
|
}
|
|
3508
3529
|
export class InputMediaStory extends _TypeInputMedia {
|
|
3509
3530
|
get [id]() {
|
|
3510
|
-
return
|
|
3531
|
+
return 0x89FDD778;
|
|
3511
3532
|
}
|
|
3512
3533
|
static get [paramDesc]() {
|
|
3513
3534
|
return [
|
|
3514
|
-
["
|
|
3535
|
+
["peer", _TypeInputPeer, "InputPeer"],
|
|
3515
3536
|
["id", "number", "int"],
|
|
3516
3537
|
];
|
|
3517
3538
|
}
|
|
3518
3539
|
get [params]() {
|
|
3519
3540
|
return [
|
|
3520
|
-
[this.
|
|
3541
|
+
[this.peer, _TypeInputPeer, "InputPeer"],
|
|
3521
3542
|
[this.id, "number", "int"],
|
|
3522
3543
|
];
|
|
3523
3544
|
}
|
|
3524
3545
|
constructor(params) {
|
|
3525
3546
|
super();
|
|
3526
|
-
Object.defineProperty(this, "
|
|
3547
|
+
Object.defineProperty(this, "peer", {
|
|
3527
3548
|
enumerable: true,
|
|
3528
3549
|
configurable: true,
|
|
3529
3550
|
writable: true,
|
|
@@ -3535,10 +3556,64 @@ export class InputMediaStory extends _TypeInputMedia {
|
|
|
3535
3556
|
writable: true,
|
|
3536
3557
|
value: void 0
|
|
3537
3558
|
});
|
|
3538
|
-
this.
|
|
3559
|
+
this.peer = params.peer;
|
|
3539
3560
|
this.id = params.id;
|
|
3540
3561
|
}
|
|
3541
3562
|
}
|
|
3563
|
+
export class InputMediaWebPage extends _TypeInputMedia {
|
|
3564
|
+
get [id]() {
|
|
3565
|
+
return 0xC21B8849;
|
|
3566
|
+
}
|
|
3567
|
+
static get [paramDesc]() {
|
|
3568
|
+
return [
|
|
3569
|
+
["flags", flags, "#"],
|
|
3570
|
+
["forceLargeMedia", "true", "flags.0?true"],
|
|
3571
|
+
["forceSmallMedia", "true", "flags.1?true"],
|
|
3572
|
+
["optional", "true", "flags.2?true"],
|
|
3573
|
+
["url", "string", "string"],
|
|
3574
|
+
];
|
|
3575
|
+
}
|
|
3576
|
+
get [params]() {
|
|
3577
|
+
return [
|
|
3578
|
+
["flags", flags, "#"],
|
|
3579
|
+
[this.forceLargeMedia ?? null, "true", "flags.0?true"],
|
|
3580
|
+
[this.forceSmallMedia ?? null, "true", "flags.1?true"],
|
|
3581
|
+
[this.optional ?? null, "true", "flags.2?true"],
|
|
3582
|
+
[this.url, "string", "string"],
|
|
3583
|
+
];
|
|
3584
|
+
}
|
|
3585
|
+
constructor(params) {
|
|
3586
|
+
super();
|
|
3587
|
+
Object.defineProperty(this, "forceLargeMedia", {
|
|
3588
|
+
enumerable: true,
|
|
3589
|
+
configurable: true,
|
|
3590
|
+
writable: true,
|
|
3591
|
+
value: void 0
|
|
3592
|
+
});
|
|
3593
|
+
Object.defineProperty(this, "forceSmallMedia", {
|
|
3594
|
+
enumerable: true,
|
|
3595
|
+
configurable: true,
|
|
3596
|
+
writable: true,
|
|
3597
|
+
value: void 0
|
|
3598
|
+
});
|
|
3599
|
+
Object.defineProperty(this, "optional", {
|
|
3600
|
+
enumerable: true,
|
|
3601
|
+
configurable: true,
|
|
3602
|
+
writable: true,
|
|
3603
|
+
value: void 0
|
|
3604
|
+
});
|
|
3605
|
+
Object.defineProperty(this, "url", {
|
|
3606
|
+
enumerable: true,
|
|
3607
|
+
configurable: true,
|
|
3608
|
+
writable: true,
|
|
3609
|
+
value: void 0
|
|
3610
|
+
});
|
|
3611
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
3612
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
3613
|
+
this.optional = params.optional;
|
|
3614
|
+
this.url = params.url;
|
|
3615
|
+
}
|
|
3616
|
+
}
|
|
3542
3617
|
export class InputChatPhotoEmpty extends _TypeInputChatPhoto {
|
|
3543
3618
|
get [id]() {
|
|
3544
3619
|
return 0x1CA48F57;
|
|
@@ -4440,7 +4515,7 @@ export class UserEmpty extends _TypeUser {
|
|
|
4440
4515
|
}
|
|
4441
4516
|
export class User extends _TypeUser {
|
|
4442
4517
|
get [id]() {
|
|
4443
|
-
return
|
|
4518
|
+
return 0xEB602F25;
|
|
4444
4519
|
}
|
|
4445
4520
|
static get [paramDesc]() {
|
|
4446
4521
|
return [
|
|
@@ -4483,6 +4558,8 @@ export class User extends _TypeUser {
|
|
|
4483
4558
|
["emojiStatus", _TypeEmojiStatus, "flags.30?EmojiStatus"],
|
|
4484
4559
|
["usernames", [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
4485
4560
|
["storiesMaxId", "number", "flags2.5?int"],
|
|
4561
|
+
["color", "number", "flags2.7?int"],
|
|
4562
|
+
["backgroundEmojiId", "bigint", "flags2.6?long"],
|
|
4486
4563
|
];
|
|
4487
4564
|
}
|
|
4488
4565
|
get [params]() {
|
|
@@ -4526,6 +4603,8 @@ export class User extends _TypeUser {
|
|
|
4526
4603
|
[this.emojiStatus ?? null, _TypeEmojiStatus, "flags.30?EmojiStatus"],
|
|
4527
4604
|
[this.usernames ?? null, [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
4528
4605
|
[this.storiesMaxId ?? null, "number", "flags2.5?int"],
|
|
4606
|
+
[this.color ?? null, "number", "flags2.7?int"],
|
|
4607
|
+
[this.backgroundEmojiId ?? null, "bigint", "flags2.6?long"],
|
|
4529
4608
|
];
|
|
4530
4609
|
}
|
|
4531
4610
|
constructor(params) {
|
|
@@ -4752,6 +4831,18 @@ export class User extends _TypeUser {
|
|
|
4752
4831
|
writable: true,
|
|
4753
4832
|
value: void 0
|
|
4754
4833
|
});
|
|
4834
|
+
Object.defineProperty(this, "color", {
|
|
4835
|
+
enumerable: true,
|
|
4836
|
+
configurable: true,
|
|
4837
|
+
writable: true,
|
|
4838
|
+
value: void 0
|
|
4839
|
+
});
|
|
4840
|
+
Object.defineProperty(this, "backgroundEmojiId", {
|
|
4841
|
+
enumerable: true,
|
|
4842
|
+
configurable: true,
|
|
4843
|
+
writable: true,
|
|
4844
|
+
value: void 0
|
|
4845
|
+
});
|
|
4755
4846
|
this.self = params.self;
|
|
4756
4847
|
this.contact = params.contact;
|
|
4757
4848
|
this.mutualContact = params.mutualContact;
|
|
@@ -4789,6 +4880,8 @@ export class User extends _TypeUser {
|
|
|
4789
4880
|
this.emojiStatus = params.emojiStatus;
|
|
4790
4881
|
this.usernames = params.usernames;
|
|
4791
4882
|
this.storiesMaxId = params.storiesMaxId;
|
|
4883
|
+
this.color = params.color;
|
|
4884
|
+
this.backgroundEmojiId = params.backgroundEmojiId;
|
|
4792
4885
|
}
|
|
4793
4886
|
}
|
|
4794
4887
|
export class UserProfilePhotoEmpty extends _TypeUserProfilePhoto {
|
|
@@ -5188,7 +5281,7 @@ export class ChatForbidden extends _TypeChat {
|
|
|
5188
5281
|
}
|
|
5189
5282
|
export class Channel extends _TypeChat {
|
|
5190
5283
|
get [id]() {
|
|
5191
|
-
return
|
|
5284
|
+
return 0x1981EA7E;
|
|
5192
5285
|
}
|
|
5193
5286
|
static get [paramDesc]() {
|
|
5194
5287
|
return [
|
|
@@ -5214,6 +5307,9 @@ export class Channel extends _TypeChat {
|
|
|
5214
5307
|
["joinRequest", "true", "flags.29?true"],
|
|
5215
5308
|
["forum", "true", "flags.30?true"],
|
|
5216
5309
|
["flags2", flags, "#"],
|
|
5310
|
+
["storiesHidden", "true", "flags2.1?true"],
|
|
5311
|
+
["storiesHiddenMin", "true", "flags2.2?true"],
|
|
5312
|
+
["storiesUnavailable", "true", "flags2.3?true"],
|
|
5217
5313
|
["id", "bigint", "long"],
|
|
5218
5314
|
["accessHash", "bigint", "flags.13?long"],
|
|
5219
5315
|
["title", "string", "string"],
|
|
@@ -5226,6 +5322,9 @@ export class Channel extends _TypeChat {
|
|
|
5226
5322
|
["defaultBannedRights", _TypeChatBannedRights, "flags.18?ChatBannedRights"],
|
|
5227
5323
|
["participantsCount", "number", "flags.17?int"],
|
|
5228
5324
|
["usernames", [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
5325
|
+
["storiesMaxId", "number", "flags2.4?int"],
|
|
5326
|
+
["color", "number", "flags2.6?int"],
|
|
5327
|
+
["backgroundEmojiId", "bigint", "flags2.5?long"],
|
|
5229
5328
|
];
|
|
5230
5329
|
}
|
|
5231
5330
|
get [params]() {
|
|
@@ -5252,6 +5351,9 @@ export class Channel extends _TypeChat {
|
|
|
5252
5351
|
[this.joinRequest ?? null, "true", "flags.29?true"],
|
|
5253
5352
|
[this.forum ?? null, "true", "flags.30?true"],
|
|
5254
5353
|
["flags2", flags, "#"],
|
|
5354
|
+
[this.storiesHidden ?? null, "true", "flags2.1?true"],
|
|
5355
|
+
[this.storiesHiddenMin ?? null, "true", "flags2.2?true"],
|
|
5356
|
+
[this.storiesUnavailable ?? null, "true", "flags2.3?true"],
|
|
5255
5357
|
[this.id, "bigint", "long"],
|
|
5256
5358
|
[this.accessHash ?? null, "bigint", "flags.13?long"],
|
|
5257
5359
|
[this.title, "string", "string"],
|
|
@@ -5264,6 +5366,9 @@ export class Channel extends _TypeChat {
|
|
|
5264
5366
|
[this.defaultBannedRights ?? null, _TypeChatBannedRights, "flags.18?ChatBannedRights"],
|
|
5265
5367
|
[this.participantsCount ?? null, "number", "flags.17?int"],
|
|
5266
5368
|
[this.usernames ?? null, [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
5369
|
+
[this.storiesMaxId ?? null, "number", "flags2.4?int"],
|
|
5370
|
+
[this.color ?? null, "number", "flags2.6?int"],
|
|
5371
|
+
[this.backgroundEmojiId ?? null, "bigint", "flags2.5?long"],
|
|
5267
5372
|
];
|
|
5268
5373
|
}
|
|
5269
5374
|
constructor(params) {
|
|
@@ -5388,6 +5493,24 @@ export class Channel extends _TypeChat {
|
|
|
5388
5493
|
writable: true,
|
|
5389
5494
|
value: void 0
|
|
5390
5495
|
});
|
|
5496
|
+
Object.defineProperty(this, "storiesHidden", {
|
|
5497
|
+
enumerable: true,
|
|
5498
|
+
configurable: true,
|
|
5499
|
+
writable: true,
|
|
5500
|
+
value: void 0
|
|
5501
|
+
});
|
|
5502
|
+
Object.defineProperty(this, "storiesHiddenMin", {
|
|
5503
|
+
enumerable: true,
|
|
5504
|
+
configurable: true,
|
|
5505
|
+
writable: true,
|
|
5506
|
+
value: void 0
|
|
5507
|
+
});
|
|
5508
|
+
Object.defineProperty(this, "storiesUnavailable", {
|
|
5509
|
+
enumerable: true,
|
|
5510
|
+
configurable: true,
|
|
5511
|
+
writable: true,
|
|
5512
|
+
value: void 0
|
|
5513
|
+
});
|
|
5391
5514
|
Object.defineProperty(this, "id", {
|
|
5392
5515
|
enumerable: true,
|
|
5393
5516
|
configurable: true,
|
|
@@ -5460,6 +5583,24 @@ export class Channel extends _TypeChat {
|
|
|
5460
5583
|
writable: true,
|
|
5461
5584
|
value: void 0
|
|
5462
5585
|
});
|
|
5586
|
+
Object.defineProperty(this, "storiesMaxId", {
|
|
5587
|
+
enumerable: true,
|
|
5588
|
+
configurable: true,
|
|
5589
|
+
writable: true,
|
|
5590
|
+
value: void 0
|
|
5591
|
+
});
|
|
5592
|
+
Object.defineProperty(this, "color", {
|
|
5593
|
+
enumerable: true,
|
|
5594
|
+
configurable: true,
|
|
5595
|
+
writable: true,
|
|
5596
|
+
value: void 0
|
|
5597
|
+
});
|
|
5598
|
+
Object.defineProperty(this, "backgroundEmojiId", {
|
|
5599
|
+
enumerable: true,
|
|
5600
|
+
configurable: true,
|
|
5601
|
+
writable: true,
|
|
5602
|
+
value: void 0
|
|
5603
|
+
});
|
|
5463
5604
|
this.creator = params.creator;
|
|
5464
5605
|
this.left = params.left;
|
|
5465
5606
|
this.broadcast = params.broadcast;
|
|
@@ -5480,6 +5621,9 @@ export class Channel extends _TypeChat {
|
|
|
5480
5621
|
this.joinToSend = params.joinToSend;
|
|
5481
5622
|
this.joinRequest = params.joinRequest;
|
|
5482
5623
|
this.forum = params.forum;
|
|
5624
|
+
this.storiesHidden = params.storiesHidden;
|
|
5625
|
+
this.storiesHiddenMin = params.storiesHiddenMin;
|
|
5626
|
+
this.storiesUnavailable = params.storiesUnavailable;
|
|
5483
5627
|
this.id = params.id;
|
|
5484
5628
|
this.accessHash = params.accessHash;
|
|
5485
5629
|
this.title = params.title;
|
|
@@ -5492,6 +5636,9 @@ export class Channel extends _TypeChat {
|
|
|
5492
5636
|
this.defaultBannedRights = params.defaultBannedRights;
|
|
5493
5637
|
this.participantsCount = params.participantsCount;
|
|
5494
5638
|
this.usernames = params.usernames;
|
|
5639
|
+
this.storiesMaxId = params.storiesMaxId;
|
|
5640
|
+
this.color = params.color;
|
|
5641
|
+
this.backgroundEmojiId = params.backgroundEmojiId;
|
|
5495
5642
|
}
|
|
5496
5643
|
}
|
|
5497
5644
|
export class ChannelForbidden extends _TypeChat {
|
|
@@ -5757,7 +5904,7 @@ export class ChatFull extends _TypeChatFull {
|
|
|
5757
5904
|
}
|
|
5758
5905
|
export class ChannelFull extends _TypeChatFull {
|
|
5759
5906
|
get [id]() {
|
|
5760
|
-
return
|
|
5907
|
+
return 0x723027BD;
|
|
5761
5908
|
}
|
|
5762
5909
|
static get [paramDesc]() {
|
|
5763
5910
|
return [
|
|
@@ -5775,6 +5922,7 @@ export class ChannelFull extends _TypeChatFull {
|
|
|
5775
5922
|
["antispam", "true", "flags2.1?true"],
|
|
5776
5923
|
["participantsHidden", "true", "flags2.2?true"],
|
|
5777
5924
|
["translationsDisabled", "true", "flags2.3?true"],
|
|
5925
|
+
["storiesPinnedAvailable", "true", "flags2.5?true"],
|
|
5778
5926
|
["id", "bigint", "long"],
|
|
5779
5927
|
["about", "string", "string"],
|
|
5780
5928
|
["participantsCount", "number", "flags.0?int"],
|
|
@@ -5810,6 +5958,7 @@ export class ChannelFull extends _TypeChatFull {
|
|
|
5810
5958
|
["recentRequesters", ["bigint"], "flags.28?Vector<long>"],
|
|
5811
5959
|
["defaultSendAs", _TypePeer, "flags.29?Peer"],
|
|
5812
5960
|
["availableReactions", _TypeChatReactions, "flags.30?ChatReactions"],
|
|
5961
|
+
["stories", _TypePeerStories, "flags2.4?PeerStories"],
|
|
5813
5962
|
];
|
|
5814
5963
|
}
|
|
5815
5964
|
get [params]() {
|
|
@@ -5828,6 +5977,7 @@ export class ChannelFull extends _TypeChatFull {
|
|
|
5828
5977
|
[this.antispam ?? null, "true", "flags2.1?true"],
|
|
5829
5978
|
[this.participantsHidden ?? null, "true", "flags2.2?true"],
|
|
5830
5979
|
[this.translationsDisabled ?? null, "true", "flags2.3?true"],
|
|
5980
|
+
[this.storiesPinnedAvailable ?? null, "true", "flags2.5?true"],
|
|
5831
5981
|
[this.id, "bigint", "long"],
|
|
5832
5982
|
[this.about, "string", "string"],
|
|
5833
5983
|
[this.participantsCount ?? null, "number", "flags.0?int"],
|
|
@@ -5863,6 +6013,7 @@ export class ChannelFull extends _TypeChatFull {
|
|
|
5863
6013
|
[this.recentRequesters ?? null, ["bigint"], "flags.28?Vector<long>"],
|
|
5864
6014
|
[this.defaultSendAs ?? null, _TypePeer, "flags.29?Peer"],
|
|
5865
6015
|
[this.availableReactions ?? null, _TypeChatReactions, "flags.30?ChatReactions"],
|
|
6016
|
+
[this.stories ?? null, _TypePeerStories, "flags2.4?PeerStories"],
|
|
5866
6017
|
];
|
|
5867
6018
|
}
|
|
5868
6019
|
constructor(params) {
|
|
@@ -5939,6 +6090,12 @@ export class ChannelFull extends _TypeChatFull {
|
|
|
5939
6090
|
writable: true,
|
|
5940
6091
|
value: void 0
|
|
5941
6092
|
});
|
|
6093
|
+
Object.defineProperty(this, "storiesPinnedAvailable", {
|
|
6094
|
+
enumerable: true,
|
|
6095
|
+
configurable: true,
|
|
6096
|
+
writable: true,
|
|
6097
|
+
value: void 0
|
|
6098
|
+
});
|
|
5942
6099
|
Object.defineProperty(this, "id", {
|
|
5943
6100
|
enumerable: true,
|
|
5944
6101
|
configurable: true,
|
|
@@ -6149,6 +6306,12 @@ export class ChannelFull extends _TypeChatFull {
|
|
|
6149
6306
|
writable: true,
|
|
6150
6307
|
value: void 0
|
|
6151
6308
|
});
|
|
6309
|
+
Object.defineProperty(this, "stories", {
|
|
6310
|
+
enumerable: true,
|
|
6311
|
+
configurable: true,
|
|
6312
|
+
writable: true,
|
|
6313
|
+
value: void 0
|
|
6314
|
+
});
|
|
6152
6315
|
this.canViewParticipants = params.canViewParticipants;
|
|
6153
6316
|
this.canSetUsername = params.canSetUsername;
|
|
6154
6317
|
this.canSetStickers = params.canSetStickers;
|
|
@@ -6161,6 +6324,7 @@ export class ChannelFull extends _TypeChatFull {
|
|
|
6161
6324
|
this.antispam = params.antispam;
|
|
6162
6325
|
this.participantsHidden = params.participantsHidden;
|
|
6163
6326
|
this.translationsDisabled = params.translationsDisabled;
|
|
6327
|
+
this.storiesPinnedAvailable = params.storiesPinnedAvailable;
|
|
6164
6328
|
this.id = params.id;
|
|
6165
6329
|
this.about = params.about;
|
|
6166
6330
|
this.participantsCount = params.participantsCount;
|
|
@@ -6196,6 +6360,7 @@ export class ChannelFull extends _TypeChatFull {
|
|
|
6196
6360
|
this.recentRequesters = params.recentRequesters;
|
|
6197
6361
|
this.defaultSendAs = params.defaultSendAs;
|
|
6198
6362
|
this.availableReactions = params.availableReactions;
|
|
6363
|
+
this.stories = params.stories;
|
|
6199
6364
|
}
|
|
6200
6365
|
}
|
|
6201
6366
|
export class ChatParticipant extends _TypeChatParticipant {
|
|
@@ -6509,6 +6674,7 @@ export class Message extends _TypeMessage {
|
|
|
6509
6674
|
["editHide", "true", "flags.21?true"],
|
|
6510
6675
|
["pinned", "true", "flags.24?true"],
|
|
6511
6676
|
["noforwards", "true", "flags.26?true"],
|
|
6677
|
+
["invertMedia", "true", "flags.27?true"],
|
|
6512
6678
|
["id", "number", "int"],
|
|
6513
6679
|
["fromId", _TypePeer, "flags.8?Peer"],
|
|
6514
6680
|
["peerId", _TypePeer, "Peer"],
|
|
@@ -6544,6 +6710,7 @@ export class Message extends _TypeMessage {
|
|
|
6544
6710
|
[this.editHide ?? null, "true", "flags.21?true"],
|
|
6545
6711
|
[this.pinned ?? null, "true", "flags.24?true"],
|
|
6546
6712
|
[this.noforwards ?? null, "true", "flags.26?true"],
|
|
6713
|
+
[this.invertMedia ?? null, "true", "flags.27?true"],
|
|
6547
6714
|
[this.id, "number", "int"],
|
|
6548
6715
|
[this.fromId ?? null, _TypePeer, "flags.8?Peer"],
|
|
6549
6716
|
[this.peerId, _TypePeer, "Peer"],
|
|
@@ -6628,6 +6795,12 @@ export class Message extends _TypeMessage {
|
|
|
6628
6795
|
writable: true,
|
|
6629
6796
|
value: void 0
|
|
6630
6797
|
});
|
|
6798
|
+
Object.defineProperty(this, "invertMedia", {
|
|
6799
|
+
enumerable: true,
|
|
6800
|
+
configurable: true,
|
|
6801
|
+
writable: true,
|
|
6802
|
+
value: void 0
|
|
6803
|
+
});
|
|
6631
6804
|
Object.defineProperty(this, "id", {
|
|
6632
6805
|
enumerable: true,
|
|
6633
6806
|
configurable: true,
|
|
@@ -6758,6 +6931,7 @@ export class Message extends _TypeMessage {
|
|
|
6758
6931
|
this.editHide = params.editHide;
|
|
6759
6932
|
this.pinned = params.pinned;
|
|
6760
6933
|
this.noforwards = params.noforwards;
|
|
6934
|
+
this.invertMedia = params.invertMedia;
|
|
6761
6935
|
this.id = params.id;
|
|
6762
6936
|
this.fromId = params.fromId;
|
|
6763
6937
|
this.peerId = params.peerId;
|
|
@@ -7139,26 +7313,64 @@ export class MessageMediaDocument extends _TypeMessageMedia {
|
|
|
7139
7313
|
}
|
|
7140
7314
|
export class MessageMediaWebPage extends _TypeMessageMedia {
|
|
7141
7315
|
get [id]() {
|
|
7142
|
-
return
|
|
7316
|
+
return 0xDDF10C3B;
|
|
7143
7317
|
}
|
|
7144
7318
|
static get [paramDesc]() {
|
|
7145
7319
|
return [
|
|
7320
|
+
["flags", flags, "#"],
|
|
7321
|
+
["forceLargeMedia", "true", "flags.0?true"],
|
|
7322
|
+
["forceSmallMedia", "true", "flags.1?true"],
|
|
7323
|
+
["manual", "true", "flags.3?true"],
|
|
7324
|
+
["safe", "true", "flags.4?true"],
|
|
7146
7325
|
["webpage", _TypeWebPage, "WebPage"],
|
|
7147
7326
|
];
|
|
7148
7327
|
}
|
|
7149
7328
|
get [params]() {
|
|
7150
7329
|
return [
|
|
7330
|
+
["flags", flags, "#"],
|
|
7331
|
+
[this.forceLargeMedia ?? null, "true", "flags.0?true"],
|
|
7332
|
+
[this.forceSmallMedia ?? null, "true", "flags.1?true"],
|
|
7333
|
+
[this.manual ?? null, "true", "flags.3?true"],
|
|
7334
|
+
[this.safe ?? null, "true", "flags.4?true"],
|
|
7151
7335
|
[this.webpage, _TypeWebPage, "WebPage"],
|
|
7152
7336
|
];
|
|
7153
7337
|
}
|
|
7154
7338
|
constructor(params) {
|
|
7155
7339
|
super();
|
|
7340
|
+
Object.defineProperty(this, "forceLargeMedia", {
|
|
7341
|
+
enumerable: true,
|
|
7342
|
+
configurable: true,
|
|
7343
|
+
writable: true,
|
|
7344
|
+
value: void 0
|
|
7345
|
+
});
|
|
7346
|
+
Object.defineProperty(this, "forceSmallMedia", {
|
|
7347
|
+
enumerable: true,
|
|
7348
|
+
configurable: true,
|
|
7349
|
+
writable: true,
|
|
7350
|
+
value: void 0
|
|
7351
|
+
});
|
|
7352
|
+
Object.defineProperty(this, "manual", {
|
|
7353
|
+
enumerable: true,
|
|
7354
|
+
configurable: true,
|
|
7355
|
+
writable: true,
|
|
7356
|
+
value: void 0
|
|
7357
|
+
});
|
|
7358
|
+
Object.defineProperty(this, "safe", {
|
|
7359
|
+
enumerable: true,
|
|
7360
|
+
configurable: true,
|
|
7361
|
+
writable: true,
|
|
7362
|
+
value: void 0
|
|
7363
|
+
});
|
|
7156
7364
|
Object.defineProperty(this, "webpage", {
|
|
7157
7365
|
enumerable: true,
|
|
7158
7366
|
configurable: true,
|
|
7159
7367
|
writable: true,
|
|
7160
7368
|
value: void 0
|
|
7161
7369
|
});
|
|
7370
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
7371
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
7372
|
+
this.manual = params.manual;
|
|
7373
|
+
this.safe = params.safe;
|
|
7162
7374
|
this.webpage = params.webpage;
|
|
7163
7375
|
}
|
|
7164
7376
|
}
|
|
@@ -7489,13 +7701,13 @@ export class MessageMediaDice extends _TypeMessageMedia {
|
|
|
7489
7701
|
}
|
|
7490
7702
|
export class MessageMediaStory extends _TypeMessageMedia {
|
|
7491
7703
|
get [id]() {
|
|
7492
|
-
return
|
|
7704
|
+
return 0x68CB6283;
|
|
7493
7705
|
}
|
|
7494
7706
|
static get [paramDesc]() {
|
|
7495
7707
|
return [
|
|
7496
7708
|
["flags", flags, "#"],
|
|
7497
7709
|
["viaMention", "true", "flags.1?true"],
|
|
7498
|
-
["
|
|
7710
|
+
["peer", _TypePeer, "Peer"],
|
|
7499
7711
|
["id", "number", "int"],
|
|
7500
7712
|
["story", _TypeStoryItem, "flags.0?StoryItem"],
|
|
7501
7713
|
];
|
|
@@ -7504,7 +7716,7 @@ export class MessageMediaStory extends _TypeMessageMedia {
|
|
|
7504
7716
|
return [
|
|
7505
7717
|
["flags", flags, "#"],
|
|
7506
7718
|
[this.viaMention ?? null, "true", "flags.1?true"],
|
|
7507
|
-
[this.
|
|
7719
|
+
[this.peer, _TypePeer, "Peer"],
|
|
7508
7720
|
[this.id, "number", "int"],
|
|
7509
7721
|
[this.story ?? null, _TypeStoryItem, "flags.0?StoryItem"],
|
|
7510
7722
|
];
|
|
@@ -7517,7 +7729,7 @@ export class MessageMediaStory extends _TypeMessageMedia {
|
|
|
7517
7729
|
writable: true,
|
|
7518
7730
|
value: void 0
|
|
7519
7731
|
});
|
|
7520
|
-
Object.defineProperty(this, "
|
|
7732
|
+
Object.defineProperty(this, "peer", {
|
|
7521
7733
|
enumerable: true,
|
|
7522
7734
|
configurable: true,
|
|
7523
7735
|
writable: true,
|
|
@@ -7536,11 +7748,83 @@ export class MessageMediaStory extends _TypeMessageMedia {
|
|
|
7536
7748
|
value: void 0
|
|
7537
7749
|
});
|
|
7538
7750
|
this.viaMention = params.viaMention;
|
|
7539
|
-
this.
|
|
7751
|
+
this.peer = params.peer;
|
|
7540
7752
|
this.id = params.id;
|
|
7541
7753
|
this.story = params.story;
|
|
7542
7754
|
}
|
|
7543
7755
|
}
|
|
7756
|
+
export class MessageMediaGiveaway extends _TypeMessageMedia {
|
|
7757
|
+
get [id]() {
|
|
7758
|
+
return 0x58260664;
|
|
7759
|
+
}
|
|
7760
|
+
static get [paramDesc]() {
|
|
7761
|
+
return [
|
|
7762
|
+
["flags", flags, "#"],
|
|
7763
|
+
["onlyNewSubscribers", "true", "flags.0?true"],
|
|
7764
|
+
["channels", ["bigint"], "Vector<long>"],
|
|
7765
|
+
["countriesIso2", ["string"], "flags.1?Vector<string>"],
|
|
7766
|
+
["quantity", "number", "int"],
|
|
7767
|
+
["months", "number", "int"],
|
|
7768
|
+
["untilDate", "number", "int"],
|
|
7769
|
+
];
|
|
7770
|
+
}
|
|
7771
|
+
get [params]() {
|
|
7772
|
+
return [
|
|
7773
|
+
["flags", flags, "#"],
|
|
7774
|
+
[this.onlyNewSubscribers ?? null, "true", "flags.0?true"],
|
|
7775
|
+
[this.channels, ["bigint"], "Vector<long>"],
|
|
7776
|
+
[this.countriesIso2 ?? null, ["string"], "flags.1?Vector<string>"],
|
|
7777
|
+
[this.quantity, "number", "int"],
|
|
7778
|
+
[this.months, "number", "int"],
|
|
7779
|
+
[this.untilDate, "number", "int"],
|
|
7780
|
+
];
|
|
7781
|
+
}
|
|
7782
|
+
constructor(params) {
|
|
7783
|
+
super();
|
|
7784
|
+
Object.defineProperty(this, "onlyNewSubscribers", {
|
|
7785
|
+
enumerable: true,
|
|
7786
|
+
configurable: true,
|
|
7787
|
+
writable: true,
|
|
7788
|
+
value: void 0
|
|
7789
|
+
});
|
|
7790
|
+
Object.defineProperty(this, "channels", {
|
|
7791
|
+
enumerable: true,
|
|
7792
|
+
configurable: true,
|
|
7793
|
+
writable: true,
|
|
7794
|
+
value: void 0
|
|
7795
|
+
});
|
|
7796
|
+
Object.defineProperty(this, "countriesIso2", {
|
|
7797
|
+
enumerable: true,
|
|
7798
|
+
configurable: true,
|
|
7799
|
+
writable: true,
|
|
7800
|
+
value: void 0
|
|
7801
|
+
});
|
|
7802
|
+
Object.defineProperty(this, "quantity", {
|
|
7803
|
+
enumerable: true,
|
|
7804
|
+
configurable: true,
|
|
7805
|
+
writable: true,
|
|
7806
|
+
value: void 0
|
|
7807
|
+
});
|
|
7808
|
+
Object.defineProperty(this, "months", {
|
|
7809
|
+
enumerable: true,
|
|
7810
|
+
configurable: true,
|
|
7811
|
+
writable: true,
|
|
7812
|
+
value: void 0
|
|
7813
|
+
});
|
|
7814
|
+
Object.defineProperty(this, "untilDate", {
|
|
7815
|
+
enumerable: true,
|
|
7816
|
+
configurable: true,
|
|
7817
|
+
writable: true,
|
|
7818
|
+
value: void 0
|
|
7819
|
+
});
|
|
7820
|
+
this.onlyNewSubscribers = params.onlyNewSubscribers;
|
|
7821
|
+
this.channels = params.channels;
|
|
7822
|
+
this.countriesIso2 = params.countriesIso2;
|
|
7823
|
+
this.quantity = params.quantity;
|
|
7824
|
+
this.months = params.months;
|
|
7825
|
+
this.untilDate = params.untilDate;
|
|
7826
|
+
}
|
|
7827
|
+
}
|
|
7544
7828
|
export class MessageActionEmpty extends _TypeMessageAction {
|
|
7545
7829
|
get [id]() {
|
|
7546
7830
|
return 0xB6AEF7B0;
|
|
@@ -8128,6 +8412,7 @@ export class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
8128
8412
|
return [
|
|
8129
8413
|
["flags", flags, "#"],
|
|
8130
8414
|
["attachMenu", "true", "flags.1?true"],
|
|
8415
|
+
["fromRequest", "true", "flags.3?true"],
|
|
8131
8416
|
["domain", "string", "flags.0?string"],
|
|
8132
8417
|
["app", _TypeBotApp, "flags.2?BotApp"],
|
|
8133
8418
|
];
|
|
@@ -8136,6 +8421,7 @@ export class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
8136
8421
|
return [
|
|
8137
8422
|
["flags", flags, "#"],
|
|
8138
8423
|
[this.attachMenu ?? null, "true", "flags.1?true"],
|
|
8424
|
+
[this.fromRequest ?? null, "true", "flags.3?true"],
|
|
8139
8425
|
[this.domain ?? null, "string", "flags.0?string"],
|
|
8140
8426
|
[this.app ?? null, _TypeBotApp, "flags.2?BotApp"],
|
|
8141
8427
|
];
|
|
@@ -8148,6 +8434,12 @@ export class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
8148
8434
|
writable: true,
|
|
8149
8435
|
value: void 0
|
|
8150
8436
|
});
|
|
8437
|
+
Object.defineProperty(this, "fromRequest", {
|
|
8438
|
+
enumerable: true,
|
|
8439
|
+
configurable: true,
|
|
8440
|
+
writable: true,
|
|
8441
|
+
value: void 0
|
|
8442
|
+
});
|
|
8151
8443
|
Object.defineProperty(this, "domain", {
|
|
8152
8444
|
enumerable: true,
|
|
8153
8445
|
configurable: true,
|
|
@@ -8161,6 +8453,7 @@ export class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
8161
8453
|
value: void 0
|
|
8162
8454
|
});
|
|
8163
8455
|
this.attachMenu = params?.attachMenu;
|
|
8456
|
+
this.fromRequest = params?.fromRequest;
|
|
8164
8457
|
this.domain = params?.domain;
|
|
8165
8458
|
this.app = params?.app;
|
|
8166
8459
|
}
|
|
@@ -8790,6 +9083,83 @@ export class MessageActionSetSameChatWallPaper extends _TypeMessageAction {
|
|
|
8790
9083
|
this.wallpaper = params.wallpaper;
|
|
8791
9084
|
}
|
|
8792
9085
|
}
|
|
9086
|
+
export class MessageActionGiftCode extends _TypeMessageAction {
|
|
9087
|
+
get [id]() {
|
|
9088
|
+
return 0xD2CFDB0E;
|
|
9089
|
+
}
|
|
9090
|
+
static get [paramDesc]() {
|
|
9091
|
+
return [
|
|
9092
|
+
["flags", flags, "#"],
|
|
9093
|
+
["viaGiveaway", "true", "flags.0?true"],
|
|
9094
|
+
["unclaimed", "true", "flags.2?true"],
|
|
9095
|
+
["boostPeer", _TypePeer, "flags.1?Peer"],
|
|
9096
|
+
["months", "number", "int"],
|
|
9097
|
+
["slug", "string", "string"],
|
|
9098
|
+
];
|
|
9099
|
+
}
|
|
9100
|
+
get [params]() {
|
|
9101
|
+
return [
|
|
9102
|
+
["flags", flags, "#"],
|
|
9103
|
+
[this.viaGiveaway ?? null, "true", "flags.0?true"],
|
|
9104
|
+
[this.unclaimed ?? null, "true", "flags.2?true"],
|
|
9105
|
+
[this.boostPeer ?? null, _TypePeer, "flags.1?Peer"],
|
|
9106
|
+
[this.months, "number", "int"],
|
|
9107
|
+
[this.slug, "string", "string"],
|
|
9108
|
+
];
|
|
9109
|
+
}
|
|
9110
|
+
constructor(params) {
|
|
9111
|
+
super();
|
|
9112
|
+
Object.defineProperty(this, "viaGiveaway", {
|
|
9113
|
+
enumerable: true,
|
|
9114
|
+
configurable: true,
|
|
9115
|
+
writable: true,
|
|
9116
|
+
value: void 0
|
|
9117
|
+
});
|
|
9118
|
+
Object.defineProperty(this, "unclaimed", {
|
|
9119
|
+
enumerable: true,
|
|
9120
|
+
configurable: true,
|
|
9121
|
+
writable: true,
|
|
9122
|
+
value: void 0
|
|
9123
|
+
});
|
|
9124
|
+
Object.defineProperty(this, "boostPeer", {
|
|
9125
|
+
enumerable: true,
|
|
9126
|
+
configurable: true,
|
|
9127
|
+
writable: true,
|
|
9128
|
+
value: void 0
|
|
9129
|
+
});
|
|
9130
|
+
Object.defineProperty(this, "months", {
|
|
9131
|
+
enumerable: true,
|
|
9132
|
+
configurable: true,
|
|
9133
|
+
writable: true,
|
|
9134
|
+
value: void 0
|
|
9135
|
+
});
|
|
9136
|
+
Object.defineProperty(this, "slug", {
|
|
9137
|
+
enumerable: true,
|
|
9138
|
+
configurable: true,
|
|
9139
|
+
writable: true,
|
|
9140
|
+
value: void 0
|
|
9141
|
+
});
|
|
9142
|
+
this.viaGiveaway = params.viaGiveaway;
|
|
9143
|
+
this.unclaimed = params.unclaimed;
|
|
9144
|
+
this.boostPeer = params.boostPeer;
|
|
9145
|
+
this.months = params.months;
|
|
9146
|
+
this.slug = params.slug;
|
|
9147
|
+
}
|
|
9148
|
+
}
|
|
9149
|
+
export class MessageActionGiveawayLaunch extends _TypeMessageAction {
|
|
9150
|
+
get [id]() {
|
|
9151
|
+
return 0x332BA9ED;
|
|
9152
|
+
}
|
|
9153
|
+
static get [paramDesc]() {
|
|
9154
|
+
return [];
|
|
9155
|
+
}
|
|
9156
|
+
get [params]() {
|
|
9157
|
+
return [];
|
|
9158
|
+
}
|
|
9159
|
+
constructor() {
|
|
9160
|
+
super();
|
|
9161
|
+
}
|
|
9162
|
+
}
|
|
8793
9163
|
export class Dialog extends _TypeDialog {
|
|
8794
9164
|
get [id]() {
|
|
8795
9165
|
return 0xD58A08C6;
|
|
@@ -10379,7 +10749,7 @@ export class InputReportReasonPersonalDetails extends _TypeReportReason {
|
|
|
10379
10749
|
}
|
|
10380
10750
|
export class UserFull extends _TypeUserFull {
|
|
10381
10751
|
get [id]() {
|
|
10382
|
-
return
|
|
10752
|
+
return 0xB9B12C6C;
|
|
10383
10753
|
}
|
|
10384
10754
|
static get [paramDesc]() {
|
|
10385
10755
|
return [
|
|
@@ -10412,7 +10782,7 @@ export class UserFull extends _TypeUserFull {
|
|
|
10412
10782
|
["botBroadcastAdminRights", _TypeChatAdminRights, "flags.18?ChatAdminRights"],
|
|
10413
10783
|
["premiumGifts", [_TypePremiumGiftOption], "flags.19?Vector<PremiumGiftOption>"],
|
|
10414
10784
|
["wallpaper", _TypeWallPaper, "flags.24?WallPaper"],
|
|
10415
|
-
["stories",
|
|
10785
|
+
["stories", _TypePeerStories, "flags.25?PeerStories"],
|
|
10416
10786
|
];
|
|
10417
10787
|
}
|
|
10418
10788
|
get [params]() {
|
|
@@ -10446,7 +10816,7 @@ export class UserFull extends _TypeUserFull {
|
|
|
10446
10816
|
[this.botBroadcastAdminRights ?? null, _TypeChatAdminRights, "flags.18?ChatAdminRights"],
|
|
10447
10817
|
[this.premiumGifts ?? null, [_TypePremiumGiftOption], "flags.19?Vector<PremiumGiftOption>"],
|
|
10448
10818
|
[this.wallpaper ?? null, _TypeWallPaper, "flags.24?WallPaper"],
|
|
10449
|
-
[this.stories ?? null,
|
|
10819
|
+
[this.stories ?? null, _TypePeerStories, "flags.25?PeerStories"],
|
|
10450
10820
|
];
|
|
10451
10821
|
}
|
|
10452
10822
|
constructor(params) {
|
|
@@ -12043,6 +12413,69 @@ export class UpdateUserName extends _TypeUpdate {
|
|
|
12043
12413
|
this.usernames = params.usernames;
|
|
12044
12414
|
}
|
|
12045
12415
|
}
|
|
12416
|
+
export class UpdateNewAuthorization extends _TypeUpdate {
|
|
12417
|
+
get [id]() {
|
|
12418
|
+
return 0x8951ABEF;
|
|
12419
|
+
}
|
|
12420
|
+
static get [paramDesc]() {
|
|
12421
|
+
return [
|
|
12422
|
+
["flags", flags, "#"],
|
|
12423
|
+
["unconfirmed", "true", "flags.0?true"],
|
|
12424
|
+
["hash", "bigint", "long"],
|
|
12425
|
+
["date", "number", "flags.0?int"],
|
|
12426
|
+
["device", "string", "flags.0?string"],
|
|
12427
|
+
["location", "string", "flags.0?string"],
|
|
12428
|
+
];
|
|
12429
|
+
}
|
|
12430
|
+
get [params]() {
|
|
12431
|
+
return [
|
|
12432
|
+
["flags", flags, "#"],
|
|
12433
|
+
[this.unconfirmed ?? null, "true", "flags.0?true"],
|
|
12434
|
+
[this.hash, "bigint", "long"],
|
|
12435
|
+
[this.date ?? null, "number", "flags.0?int"],
|
|
12436
|
+
[this.device ?? null, "string", "flags.0?string"],
|
|
12437
|
+
[this.location ?? null, "string", "flags.0?string"],
|
|
12438
|
+
];
|
|
12439
|
+
}
|
|
12440
|
+
constructor(params) {
|
|
12441
|
+
super();
|
|
12442
|
+
Object.defineProperty(this, "unconfirmed", {
|
|
12443
|
+
enumerable: true,
|
|
12444
|
+
configurable: true,
|
|
12445
|
+
writable: true,
|
|
12446
|
+
value: void 0
|
|
12447
|
+
});
|
|
12448
|
+
Object.defineProperty(this, "hash", {
|
|
12449
|
+
enumerable: true,
|
|
12450
|
+
configurable: true,
|
|
12451
|
+
writable: true,
|
|
12452
|
+
value: void 0
|
|
12453
|
+
});
|
|
12454
|
+
Object.defineProperty(this, "date", {
|
|
12455
|
+
enumerable: true,
|
|
12456
|
+
configurable: true,
|
|
12457
|
+
writable: true,
|
|
12458
|
+
value: void 0
|
|
12459
|
+
});
|
|
12460
|
+
Object.defineProperty(this, "device", {
|
|
12461
|
+
enumerable: true,
|
|
12462
|
+
configurable: true,
|
|
12463
|
+
writable: true,
|
|
12464
|
+
value: void 0
|
|
12465
|
+
});
|
|
12466
|
+
Object.defineProperty(this, "location", {
|
|
12467
|
+
enumerable: true,
|
|
12468
|
+
configurable: true,
|
|
12469
|
+
writable: true,
|
|
12470
|
+
value: void 0
|
|
12471
|
+
});
|
|
12472
|
+
this.unconfirmed = params.unconfirmed;
|
|
12473
|
+
this.hash = params.hash;
|
|
12474
|
+
this.date = params.date;
|
|
12475
|
+
this.device = params.device;
|
|
12476
|
+
this.location = params.location;
|
|
12477
|
+
}
|
|
12478
|
+
}
|
|
12046
12479
|
export class UpdateNewEncryptedMessage extends _TypeUpdate {
|
|
12047
12480
|
get [id]() {
|
|
12048
12481
|
return 0x12BCBD9A;
|
|
@@ -12350,6 +12783,7 @@ export class UpdateServiceNotification extends _TypeUpdate {
|
|
|
12350
12783
|
return [
|
|
12351
12784
|
["flags", flags, "#"],
|
|
12352
12785
|
["popup", "true", "flags.0?true"],
|
|
12786
|
+
["invertMedia", "true", "flags.2?true"],
|
|
12353
12787
|
["inboxDate", "number", "flags.1?int"],
|
|
12354
12788
|
["type", "string", "string"],
|
|
12355
12789
|
["message", "string", "string"],
|
|
@@ -12361,6 +12795,7 @@ export class UpdateServiceNotification extends _TypeUpdate {
|
|
|
12361
12795
|
return [
|
|
12362
12796
|
["flags", flags, "#"],
|
|
12363
12797
|
[this.popup ?? null, "true", "flags.0?true"],
|
|
12798
|
+
[this.invertMedia ?? null, "true", "flags.2?true"],
|
|
12364
12799
|
[this.inboxDate ?? null, "number", "flags.1?int"],
|
|
12365
12800
|
[this.type, "string", "string"],
|
|
12366
12801
|
[this.message, "string", "string"],
|
|
@@ -12376,6 +12811,12 @@ export class UpdateServiceNotification extends _TypeUpdate {
|
|
|
12376
12811
|
writable: true,
|
|
12377
12812
|
value: void 0
|
|
12378
12813
|
});
|
|
12814
|
+
Object.defineProperty(this, "invertMedia", {
|
|
12815
|
+
enumerable: true,
|
|
12816
|
+
configurable: true,
|
|
12817
|
+
writable: true,
|
|
12818
|
+
value: void 0
|
|
12819
|
+
});
|
|
12379
12820
|
Object.defineProperty(this, "inboxDate", {
|
|
12380
12821
|
enumerable: true,
|
|
12381
12822
|
configurable: true,
|
|
@@ -12407,6 +12848,7 @@ export class UpdateServiceNotification extends _TypeUpdate {
|
|
|
12407
12848
|
value: void 0
|
|
12408
12849
|
});
|
|
12409
12850
|
this.popup = params.popup;
|
|
12851
|
+
this.invertMedia = params.invertMedia;
|
|
12410
12852
|
this.inboxDate = params.inboxDate;
|
|
12411
12853
|
this.type = params.type;
|
|
12412
12854
|
this.message = params.message;
|
|
@@ -12651,20 +13093,24 @@ export class UpdateWebPage extends _TypeUpdate {
|
|
|
12651
13093
|
}
|
|
12652
13094
|
export class UpdateReadMessagesContents extends _TypeUpdate {
|
|
12653
13095
|
get [id]() {
|
|
12654
|
-
return
|
|
13096
|
+
return 0xF8227181;
|
|
12655
13097
|
}
|
|
12656
13098
|
static get [paramDesc]() {
|
|
12657
13099
|
return [
|
|
13100
|
+
["flags", flags, "#"],
|
|
12658
13101
|
["messages", ["number"], "Vector<int>"],
|
|
12659
13102
|
["pts", "number", "int"],
|
|
12660
13103
|
["ptsCount", "number", "int"],
|
|
13104
|
+
["date", "number", "flags.0?int"],
|
|
12661
13105
|
];
|
|
12662
13106
|
}
|
|
12663
13107
|
get [params]() {
|
|
12664
13108
|
return [
|
|
13109
|
+
["flags", flags, "#"],
|
|
12665
13110
|
[this.messages, ["number"], "Vector<int>"],
|
|
12666
13111
|
[this.pts, "number", "int"],
|
|
12667
13112
|
[this.ptsCount, "number", "int"],
|
|
13113
|
+
[this.date ?? null, "number", "flags.0?int"],
|
|
12668
13114
|
];
|
|
12669
13115
|
}
|
|
12670
13116
|
constructor(params) {
|
|
@@ -12687,9 +13133,16 @@ export class UpdateReadMessagesContents extends _TypeUpdate {
|
|
|
12687
13133
|
writable: true,
|
|
12688
13134
|
value: void 0
|
|
12689
13135
|
});
|
|
13136
|
+
Object.defineProperty(this, "date", {
|
|
13137
|
+
enumerable: true,
|
|
13138
|
+
configurable: true,
|
|
13139
|
+
writable: true,
|
|
13140
|
+
value: void 0
|
|
13141
|
+
});
|
|
12690
13142
|
this.messages = params.messages;
|
|
12691
13143
|
this.pts = params.pts;
|
|
12692
13144
|
this.ptsCount = params.ptsCount;
|
|
13145
|
+
this.date = params.date;
|
|
12693
13146
|
}
|
|
12694
13147
|
}
|
|
12695
13148
|
export class UpdateChannelTooLong extends _TypeUpdate {
|
|
@@ -16130,23 +16583,23 @@ export class UpdateGroupInvitePrivacyForbidden extends _TypeUpdate {
|
|
|
16130
16583
|
}
|
|
16131
16584
|
export class UpdateStory extends _TypeUpdate {
|
|
16132
16585
|
get [id]() {
|
|
16133
|
-
return
|
|
16586
|
+
return 0x75B3B798;
|
|
16134
16587
|
}
|
|
16135
16588
|
static get [paramDesc]() {
|
|
16136
16589
|
return [
|
|
16137
|
-
["
|
|
16590
|
+
["peer", _TypePeer, "Peer"],
|
|
16138
16591
|
["story", _TypeStoryItem, "StoryItem"],
|
|
16139
16592
|
];
|
|
16140
16593
|
}
|
|
16141
16594
|
get [params]() {
|
|
16142
16595
|
return [
|
|
16143
|
-
[this.
|
|
16596
|
+
[this.peer, _TypePeer, "Peer"],
|
|
16144
16597
|
[this.story, _TypeStoryItem, "StoryItem"],
|
|
16145
16598
|
];
|
|
16146
16599
|
}
|
|
16147
16600
|
constructor(params) {
|
|
16148
16601
|
super();
|
|
16149
|
-
Object.defineProperty(this, "
|
|
16602
|
+
Object.defineProperty(this, "peer", {
|
|
16150
16603
|
enumerable: true,
|
|
16151
16604
|
configurable: true,
|
|
16152
16605
|
writable: true,
|
|
@@ -16158,29 +16611,29 @@ export class UpdateStory extends _TypeUpdate {
|
|
|
16158
16611
|
writable: true,
|
|
16159
16612
|
value: void 0
|
|
16160
16613
|
});
|
|
16161
|
-
this.
|
|
16614
|
+
this.peer = params.peer;
|
|
16162
16615
|
this.story = params.story;
|
|
16163
16616
|
}
|
|
16164
16617
|
}
|
|
16165
16618
|
export class UpdateReadStories extends _TypeUpdate {
|
|
16166
16619
|
get [id]() {
|
|
16167
|
-
return
|
|
16620
|
+
return 0xF74E932B;
|
|
16168
16621
|
}
|
|
16169
16622
|
static get [paramDesc]() {
|
|
16170
16623
|
return [
|
|
16171
|
-
["
|
|
16624
|
+
["peer", _TypePeer, "Peer"],
|
|
16172
16625
|
["maxId", "number", "int"],
|
|
16173
16626
|
];
|
|
16174
16627
|
}
|
|
16175
16628
|
get [params]() {
|
|
16176
16629
|
return [
|
|
16177
|
-
[this.
|
|
16630
|
+
[this.peer, _TypePeer, "Peer"],
|
|
16178
16631
|
[this.maxId, "number", "int"],
|
|
16179
16632
|
];
|
|
16180
16633
|
}
|
|
16181
16634
|
constructor(params) {
|
|
16182
16635
|
super();
|
|
16183
|
-
Object.defineProperty(this, "
|
|
16636
|
+
Object.defineProperty(this, "peer", {
|
|
16184
16637
|
enumerable: true,
|
|
16185
16638
|
configurable: true,
|
|
16186
16639
|
writable: true,
|
|
@@ -16192,7 +16645,7 @@ export class UpdateReadStories extends _TypeUpdate {
|
|
|
16192
16645
|
writable: true,
|
|
16193
16646
|
value: void 0
|
|
16194
16647
|
});
|
|
16195
|
-
this.
|
|
16648
|
+
this.peer = params.peer;
|
|
16196
16649
|
this.maxId = params.maxId;
|
|
16197
16650
|
}
|
|
16198
16651
|
}
|
|
@@ -16257,25 +16710,25 @@ export class UpdateStoriesStealthMode extends _TypeUpdate {
|
|
|
16257
16710
|
}
|
|
16258
16711
|
export class UpdateSentStoryReaction extends _TypeUpdate {
|
|
16259
16712
|
get [id]() {
|
|
16260
|
-
return
|
|
16713
|
+
return 0x7D627683;
|
|
16261
16714
|
}
|
|
16262
16715
|
static get [paramDesc]() {
|
|
16263
16716
|
return [
|
|
16264
|
-
["
|
|
16717
|
+
["peer", _TypePeer, "Peer"],
|
|
16265
16718
|
["storyId", "number", "int"],
|
|
16266
16719
|
["reaction", _TypeReaction, "Reaction"],
|
|
16267
16720
|
];
|
|
16268
16721
|
}
|
|
16269
16722
|
get [params]() {
|
|
16270
16723
|
return [
|
|
16271
|
-
[this.
|
|
16724
|
+
[this.peer, _TypePeer, "Peer"],
|
|
16272
16725
|
[this.storyId, "number", "int"],
|
|
16273
16726
|
[this.reaction, _TypeReaction, "Reaction"],
|
|
16274
16727
|
];
|
|
16275
16728
|
}
|
|
16276
16729
|
constructor(params) {
|
|
16277
16730
|
super();
|
|
16278
|
-
Object.defineProperty(this, "
|
|
16731
|
+
Object.defineProperty(this, "peer", {
|
|
16279
16732
|
enumerable: true,
|
|
16280
16733
|
configurable: true,
|
|
16281
16734
|
writable: true,
|
|
@@ -16293,7 +16746,7 @@ export class UpdateSentStoryReaction extends _TypeUpdate {
|
|
|
16293
16746
|
writable: true,
|
|
16294
16747
|
value: void 0
|
|
16295
16748
|
});
|
|
16296
|
-
this.
|
|
16749
|
+
this.peer = params.peer;
|
|
16297
16750
|
this.storyId = params.storyId;
|
|
16298
16751
|
this.reaction = params.reaction;
|
|
16299
16752
|
}
|
|
@@ -20789,16 +21242,20 @@ export class MessagesAffectedMessages extends _TypeMessagesAffectedMessages {
|
|
|
20789
21242
|
}
|
|
20790
21243
|
export class WebPageEmpty extends _TypeWebPage {
|
|
20791
21244
|
get [id]() {
|
|
20792
|
-
return
|
|
21245
|
+
return 0x211A1788;
|
|
20793
21246
|
}
|
|
20794
21247
|
static get [paramDesc]() {
|
|
20795
21248
|
return [
|
|
21249
|
+
["flags", flags, "#"],
|
|
20796
21250
|
["id", "bigint", "long"],
|
|
21251
|
+
["url", "string", "flags.0?string"],
|
|
20797
21252
|
];
|
|
20798
21253
|
}
|
|
20799
21254
|
get [params]() {
|
|
20800
21255
|
return [
|
|
21256
|
+
["flags", flags, "#"],
|
|
20801
21257
|
[this.id, "bigint", "long"],
|
|
21258
|
+
[this.url ?? null, "string", "flags.0?string"],
|
|
20802
21259
|
];
|
|
20803
21260
|
}
|
|
20804
21261
|
constructor(params) {
|
|
@@ -20809,22 +21266,33 @@ export class WebPageEmpty extends _TypeWebPage {
|
|
|
20809
21266
|
writable: true,
|
|
20810
21267
|
value: void 0
|
|
20811
21268
|
});
|
|
21269
|
+
Object.defineProperty(this, "url", {
|
|
21270
|
+
enumerable: true,
|
|
21271
|
+
configurable: true,
|
|
21272
|
+
writable: true,
|
|
21273
|
+
value: void 0
|
|
21274
|
+
});
|
|
20812
21275
|
this.id = params.id;
|
|
21276
|
+
this.url = params.url;
|
|
20813
21277
|
}
|
|
20814
21278
|
}
|
|
20815
21279
|
export class WebPagePending extends _TypeWebPage {
|
|
20816
21280
|
get [id]() {
|
|
20817
|
-
return
|
|
21281
|
+
return 0xB0D13E47;
|
|
20818
21282
|
}
|
|
20819
21283
|
static get [paramDesc]() {
|
|
20820
21284
|
return [
|
|
21285
|
+
["flags", flags, "#"],
|
|
20821
21286
|
["id", "bigint", "long"],
|
|
21287
|
+
["url", "string", "flags.0?string"],
|
|
20822
21288
|
["date", "number", "int"],
|
|
20823
21289
|
];
|
|
20824
21290
|
}
|
|
20825
21291
|
get [params]() {
|
|
20826
21292
|
return [
|
|
21293
|
+
["flags", flags, "#"],
|
|
20827
21294
|
[this.id, "bigint", "long"],
|
|
21295
|
+
[this.url ?? null, "string", "flags.0?string"],
|
|
20828
21296
|
[this.date, "number", "int"],
|
|
20829
21297
|
];
|
|
20830
21298
|
}
|
|
@@ -20836,6 +21304,12 @@ export class WebPagePending extends _TypeWebPage {
|
|
|
20836
21304
|
writable: true,
|
|
20837
21305
|
value: void 0
|
|
20838
21306
|
});
|
|
21307
|
+
Object.defineProperty(this, "url", {
|
|
21308
|
+
enumerable: true,
|
|
21309
|
+
configurable: true,
|
|
21310
|
+
writable: true,
|
|
21311
|
+
value: void 0
|
|
21312
|
+
});
|
|
20839
21313
|
Object.defineProperty(this, "date", {
|
|
20840
21314
|
enumerable: true,
|
|
20841
21315
|
configurable: true,
|
|
@@ -20843,6 +21317,7 @@ export class WebPagePending extends _TypeWebPage {
|
|
|
20843
21317
|
value: void 0
|
|
20844
21318
|
});
|
|
20845
21319
|
this.id = params.id;
|
|
21320
|
+
this.url = params.url;
|
|
20846
21321
|
this.date = params.date;
|
|
20847
21322
|
}
|
|
20848
21323
|
}
|
|
@@ -20853,6 +21328,7 @@ export class WebPage extends _TypeWebPage {
|
|
|
20853
21328
|
static get [paramDesc]() {
|
|
20854
21329
|
return [
|
|
20855
21330
|
["flags", flags, "#"],
|
|
21331
|
+
["hasLargeMedia", "true", "flags.13?true"],
|
|
20856
21332
|
["id", "bigint", "long"],
|
|
20857
21333
|
["url", "string", "string"],
|
|
20858
21334
|
["displayUrl", "string", "string"],
|
|
@@ -20876,6 +21352,7 @@ export class WebPage extends _TypeWebPage {
|
|
|
20876
21352
|
get [params]() {
|
|
20877
21353
|
return [
|
|
20878
21354
|
["flags", flags, "#"],
|
|
21355
|
+
[this.hasLargeMedia ?? null, "true", "flags.13?true"],
|
|
20879
21356
|
[this.id, "bigint", "long"],
|
|
20880
21357
|
[this.url, "string", "string"],
|
|
20881
21358
|
[this.displayUrl, "string", "string"],
|
|
@@ -20898,6 +21375,12 @@ export class WebPage extends _TypeWebPage {
|
|
|
20898
21375
|
}
|
|
20899
21376
|
constructor(params) {
|
|
20900
21377
|
super();
|
|
21378
|
+
Object.defineProperty(this, "hasLargeMedia", {
|
|
21379
|
+
enumerable: true,
|
|
21380
|
+
configurable: true,
|
|
21381
|
+
writable: true,
|
|
21382
|
+
value: void 0
|
|
21383
|
+
});
|
|
20901
21384
|
Object.defineProperty(this, "id", {
|
|
20902
21385
|
enumerable: true,
|
|
20903
21386
|
configurable: true,
|
|
@@ -21006,6 +21489,7 @@ export class WebPage extends _TypeWebPage {
|
|
|
21006
21489
|
writable: true,
|
|
21007
21490
|
value: void 0
|
|
21008
21491
|
});
|
|
21492
|
+
this.hasLargeMedia = params.hasLargeMedia;
|
|
21009
21493
|
this.id = params.id;
|
|
21010
21494
|
this.url = params.url;
|
|
21011
21495
|
this.displayUrl = params.displayUrl;
|
|
@@ -21065,6 +21549,7 @@ export class Authorization extends _TypeAuthorization {
|
|
|
21065
21549
|
["passwordPending", "true", "flags.2?true"],
|
|
21066
21550
|
["encryptedRequestsDisabled", "true", "flags.3?true"],
|
|
21067
21551
|
["callRequestsDisabled", "true", "flags.4?true"],
|
|
21552
|
+
["unconfirmed", "true", "flags.5?true"],
|
|
21068
21553
|
["hash", "bigint", "long"],
|
|
21069
21554
|
["deviceModel", "string", "string"],
|
|
21070
21555
|
["platform", "string", "string"],
|
|
@@ -21087,6 +21572,7 @@ export class Authorization extends _TypeAuthorization {
|
|
|
21087
21572
|
[this.passwordPending ?? null, "true", "flags.2?true"],
|
|
21088
21573
|
[this.encryptedRequestsDisabled ?? null, "true", "flags.3?true"],
|
|
21089
21574
|
[this.callRequestsDisabled ?? null, "true", "flags.4?true"],
|
|
21575
|
+
[this.unconfirmed ?? null, "true", "flags.5?true"],
|
|
21090
21576
|
[this.hash, "bigint", "long"],
|
|
21091
21577
|
[this.deviceModel, "string", "string"],
|
|
21092
21578
|
[this.platform, "string", "string"],
|
|
@@ -21133,6 +21619,12 @@ export class Authorization extends _TypeAuthorization {
|
|
|
21133
21619
|
writable: true,
|
|
21134
21620
|
value: void 0
|
|
21135
21621
|
});
|
|
21622
|
+
Object.defineProperty(this, "unconfirmed", {
|
|
21623
|
+
enumerable: true,
|
|
21624
|
+
configurable: true,
|
|
21625
|
+
writable: true,
|
|
21626
|
+
value: void 0
|
|
21627
|
+
});
|
|
21136
21628
|
Object.defineProperty(this, "hash", {
|
|
21137
21629
|
enumerable: true,
|
|
21138
21630
|
configurable: true,
|
|
@@ -21210,6 +21702,7 @@ export class Authorization extends _TypeAuthorization {
|
|
|
21210
21702
|
this.passwordPending = params.passwordPending;
|
|
21211
21703
|
this.encryptedRequestsDisabled = params.encryptedRequestsDisabled;
|
|
21212
21704
|
this.callRequestsDisabled = params.callRequestsDisabled;
|
|
21705
|
+
this.unconfirmed = params.unconfirmed;
|
|
21213
21706
|
this.hash = params.hash;
|
|
21214
21707
|
this.deviceModel = params.deviceModel;
|
|
21215
21708
|
this.platform = params.platform;
|
|
@@ -21718,7 +22211,7 @@ export class ChatInviteAlready extends _TypeChatInvite {
|
|
|
21718
22211
|
}
|
|
21719
22212
|
export class ChatInvite extends _TypeChatInvite {
|
|
21720
22213
|
get [id]() {
|
|
21721
|
-
return
|
|
22214
|
+
return 0xCDE0EC40;
|
|
21722
22215
|
}
|
|
21723
22216
|
static get [paramDesc]() {
|
|
21724
22217
|
return [
|
|
@@ -21728,11 +22221,15 @@ export class ChatInvite extends _TypeChatInvite {
|
|
|
21728
22221
|
["public", "true", "flags.2?true"],
|
|
21729
22222
|
["megagroup", "true", "flags.3?true"],
|
|
21730
22223
|
["requestNeeded", "true", "flags.6?true"],
|
|
22224
|
+
["verified", "true", "flags.7?true"],
|
|
22225
|
+
["scam", "true", "flags.8?true"],
|
|
22226
|
+
["fake", "true", "flags.9?true"],
|
|
21731
22227
|
["title", "string", "string"],
|
|
21732
22228
|
["about", "string", "flags.5?string"],
|
|
21733
22229
|
["photo", _TypePhoto, "Photo"],
|
|
21734
22230
|
["participantsCount", "number", "int"],
|
|
21735
22231
|
["participants", [_TypeUser], "flags.4?Vector<User>"],
|
|
22232
|
+
["color", "number", "int"],
|
|
21736
22233
|
];
|
|
21737
22234
|
}
|
|
21738
22235
|
get [params]() {
|
|
@@ -21743,11 +22240,15 @@ export class ChatInvite extends _TypeChatInvite {
|
|
|
21743
22240
|
[this.public ?? null, "true", "flags.2?true"],
|
|
21744
22241
|
[this.megagroup ?? null, "true", "flags.3?true"],
|
|
21745
22242
|
[this.requestNeeded ?? null, "true", "flags.6?true"],
|
|
22243
|
+
[this.verified ?? null, "true", "flags.7?true"],
|
|
22244
|
+
[this.scam ?? null, "true", "flags.8?true"],
|
|
22245
|
+
[this.fake ?? null, "true", "flags.9?true"],
|
|
21746
22246
|
[this.title, "string", "string"],
|
|
21747
22247
|
[this.about ?? null, "string", "flags.5?string"],
|
|
21748
22248
|
[this.photo, _TypePhoto, "Photo"],
|
|
21749
22249
|
[this.participantsCount, "number", "int"],
|
|
21750
22250
|
[this.participants ?? null, [_TypeUser], "flags.4?Vector<User>"],
|
|
22251
|
+
[this.color, "number", "int"],
|
|
21751
22252
|
];
|
|
21752
22253
|
}
|
|
21753
22254
|
constructor(params) {
|
|
@@ -21782,6 +22283,24 @@ export class ChatInvite extends _TypeChatInvite {
|
|
|
21782
22283
|
writable: true,
|
|
21783
22284
|
value: void 0
|
|
21784
22285
|
});
|
|
22286
|
+
Object.defineProperty(this, "verified", {
|
|
22287
|
+
enumerable: true,
|
|
22288
|
+
configurable: true,
|
|
22289
|
+
writable: true,
|
|
22290
|
+
value: void 0
|
|
22291
|
+
});
|
|
22292
|
+
Object.defineProperty(this, "scam", {
|
|
22293
|
+
enumerable: true,
|
|
22294
|
+
configurable: true,
|
|
22295
|
+
writable: true,
|
|
22296
|
+
value: void 0
|
|
22297
|
+
});
|
|
22298
|
+
Object.defineProperty(this, "fake", {
|
|
22299
|
+
enumerable: true,
|
|
22300
|
+
configurable: true,
|
|
22301
|
+
writable: true,
|
|
22302
|
+
value: void 0
|
|
22303
|
+
});
|
|
21785
22304
|
Object.defineProperty(this, "title", {
|
|
21786
22305
|
enumerable: true,
|
|
21787
22306
|
configurable: true,
|
|
@@ -21812,16 +22331,26 @@ export class ChatInvite extends _TypeChatInvite {
|
|
|
21812
22331
|
writable: true,
|
|
21813
22332
|
value: void 0
|
|
21814
22333
|
});
|
|
22334
|
+
Object.defineProperty(this, "color", {
|
|
22335
|
+
enumerable: true,
|
|
22336
|
+
configurable: true,
|
|
22337
|
+
writable: true,
|
|
22338
|
+
value: void 0
|
|
22339
|
+
});
|
|
21815
22340
|
this.channel = params.channel;
|
|
21816
22341
|
this.broadcast = params.broadcast;
|
|
21817
22342
|
this.public = params.public;
|
|
21818
22343
|
this.megagroup = params.megagroup;
|
|
21819
22344
|
this.requestNeeded = params.requestNeeded;
|
|
22345
|
+
this.verified = params.verified;
|
|
22346
|
+
this.scam = params.scam;
|
|
22347
|
+
this.fake = params.fake;
|
|
21820
22348
|
this.title = params.title;
|
|
21821
22349
|
this.about = params.about;
|
|
21822
22350
|
this.photo = params.photo;
|
|
21823
22351
|
this.participantsCount = params.participantsCount;
|
|
21824
22352
|
this.participants = params.participants;
|
|
22353
|
+
this.color = params.color;
|
|
21825
22354
|
}
|
|
21826
22355
|
}
|
|
21827
22356
|
export class ChatInvitePeek extends _TypeChatInvite {
|
|
@@ -22053,6 +22582,7 @@ export class StickerSet extends _TypeStickerSet {
|
|
|
22053
22582
|
["animated", "true", "flags.5?true"],
|
|
22054
22583
|
["videos", "true", "flags.6?true"],
|
|
22055
22584
|
["emojis", "true", "flags.7?true"],
|
|
22585
|
+
["textColor", "true", "flags.9?true"],
|
|
22056
22586
|
["installedDate", "number", "flags.0?int"],
|
|
22057
22587
|
["id", "bigint", "long"],
|
|
22058
22588
|
["accessHash", "bigint", "long"],
|
|
@@ -22075,6 +22605,7 @@ export class StickerSet extends _TypeStickerSet {
|
|
|
22075
22605
|
[this.animated ?? null, "true", "flags.5?true"],
|
|
22076
22606
|
[this.videos ?? null, "true", "flags.6?true"],
|
|
22077
22607
|
[this.emojis ?? null, "true", "flags.7?true"],
|
|
22608
|
+
[this.textColor ?? null, "true", "flags.9?true"],
|
|
22078
22609
|
[this.installedDate ?? null, "number", "flags.0?int"],
|
|
22079
22610
|
[this.id, "bigint", "long"],
|
|
22080
22611
|
[this.accessHash, "bigint", "long"],
|
|
@@ -22126,6 +22657,12 @@ export class StickerSet extends _TypeStickerSet {
|
|
|
22126
22657
|
writable: true,
|
|
22127
22658
|
value: void 0
|
|
22128
22659
|
});
|
|
22660
|
+
Object.defineProperty(this, "textColor", {
|
|
22661
|
+
enumerable: true,
|
|
22662
|
+
configurable: true,
|
|
22663
|
+
writable: true,
|
|
22664
|
+
value: void 0
|
|
22665
|
+
});
|
|
22129
22666
|
Object.defineProperty(this, "installedDate", {
|
|
22130
22667
|
enumerable: true,
|
|
22131
22668
|
configurable: true,
|
|
@@ -22198,6 +22735,7 @@ export class StickerSet extends _TypeStickerSet {
|
|
|
22198
22735
|
this.animated = params.animated;
|
|
22199
22736
|
this.videos = params.videos;
|
|
22200
22737
|
this.emojis = params.emojis;
|
|
22738
|
+
this.textColor = params.textColor;
|
|
22201
22739
|
this.installedDate = params.installedDate;
|
|
22202
22740
|
this.id = params.id;
|
|
22203
22741
|
this.accessHash = params.accessHash;
|
|
@@ -23781,6 +24319,117 @@ export class MessageEntityStrike extends _TypeMessageEntity {
|
|
|
23781
24319
|
this.length = params.length;
|
|
23782
24320
|
}
|
|
23783
24321
|
}
|
|
24322
|
+
export class MessageEntityBankCard extends _TypeMessageEntity {
|
|
24323
|
+
get [id]() {
|
|
24324
|
+
return 0x761E6AF4;
|
|
24325
|
+
}
|
|
24326
|
+
static get [paramDesc]() {
|
|
24327
|
+
return [
|
|
24328
|
+
["offset", "number", "int"],
|
|
24329
|
+
["length", "number", "int"],
|
|
24330
|
+
];
|
|
24331
|
+
}
|
|
24332
|
+
get [params]() {
|
|
24333
|
+
return [
|
|
24334
|
+
[this.offset, "number", "int"],
|
|
24335
|
+
[this.length, "number", "int"],
|
|
24336
|
+
];
|
|
24337
|
+
}
|
|
24338
|
+
constructor(params) {
|
|
24339
|
+
super();
|
|
24340
|
+
Object.defineProperty(this, "offset", {
|
|
24341
|
+
enumerable: true,
|
|
24342
|
+
configurable: true,
|
|
24343
|
+
writable: true,
|
|
24344
|
+
value: void 0
|
|
24345
|
+
});
|
|
24346
|
+
Object.defineProperty(this, "length", {
|
|
24347
|
+
enumerable: true,
|
|
24348
|
+
configurable: true,
|
|
24349
|
+
writable: true,
|
|
24350
|
+
value: void 0
|
|
24351
|
+
});
|
|
24352
|
+
this.offset = params.offset;
|
|
24353
|
+
this.length = params.length;
|
|
24354
|
+
}
|
|
24355
|
+
}
|
|
24356
|
+
export class MessageEntitySpoiler extends _TypeMessageEntity {
|
|
24357
|
+
get [id]() {
|
|
24358
|
+
return 0x32CA960F;
|
|
24359
|
+
}
|
|
24360
|
+
static get [paramDesc]() {
|
|
24361
|
+
return [
|
|
24362
|
+
["offset", "number", "int"],
|
|
24363
|
+
["length", "number", "int"],
|
|
24364
|
+
];
|
|
24365
|
+
}
|
|
24366
|
+
get [params]() {
|
|
24367
|
+
return [
|
|
24368
|
+
[this.offset, "number", "int"],
|
|
24369
|
+
[this.length, "number", "int"],
|
|
24370
|
+
];
|
|
24371
|
+
}
|
|
24372
|
+
constructor(params) {
|
|
24373
|
+
super();
|
|
24374
|
+
Object.defineProperty(this, "offset", {
|
|
24375
|
+
enumerable: true,
|
|
24376
|
+
configurable: true,
|
|
24377
|
+
writable: true,
|
|
24378
|
+
value: void 0
|
|
24379
|
+
});
|
|
24380
|
+
Object.defineProperty(this, "length", {
|
|
24381
|
+
enumerable: true,
|
|
24382
|
+
configurable: true,
|
|
24383
|
+
writable: true,
|
|
24384
|
+
value: void 0
|
|
24385
|
+
});
|
|
24386
|
+
this.offset = params.offset;
|
|
24387
|
+
this.length = params.length;
|
|
24388
|
+
}
|
|
24389
|
+
}
|
|
24390
|
+
export class MessageEntityCustomEmoji extends _TypeMessageEntity {
|
|
24391
|
+
get [id]() {
|
|
24392
|
+
return 0xC8CF05F8;
|
|
24393
|
+
}
|
|
24394
|
+
static get [paramDesc]() {
|
|
24395
|
+
return [
|
|
24396
|
+
["offset", "number", "int"],
|
|
24397
|
+
["length", "number", "int"],
|
|
24398
|
+
["documentId", "bigint", "long"],
|
|
24399
|
+
];
|
|
24400
|
+
}
|
|
24401
|
+
get [params]() {
|
|
24402
|
+
return [
|
|
24403
|
+
[this.offset, "number", "int"],
|
|
24404
|
+
[this.length, "number", "int"],
|
|
24405
|
+
[this.documentId, "bigint", "long"],
|
|
24406
|
+
];
|
|
24407
|
+
}
|
|
24408
|
+
constructor(params) {
|
|
24409
|
+
super();
|
|
24410
|
+
Object.defineProperty(this, "offset", {
|
|
24411
|
+
enumerable: true,
|
|
24412
|
+
configurable: true,
|
|
24413
|
+
writable: true,
|
|
24414
|
+
value: void 0
|
|
24415
|
+
});
|
|
24416
|
+
Object.defineProperty(this, "length", {
|
|
24417
|
+
enumerable: true,
|
|
24418
|
+
configurable: true,
|
|
24419
|
+
writable: true,
|
|
24420
|
+
value: void 0
|
|
24421
|
+
});
|
|
24422
|
+
Object.defineProperty(this, "documentId", {
|
|
24423
|
+
enumerable: true,
|
|
24424
|
+
configurable: true,
|
|
24425
|
+
writable: true,
|
|
24426
|
+
value: void 0
|
|
24427
|
+
});
|
|
24428
|
+
this.offset = params.offset;
|
|
24429
|
+
this.length = params.length;
|
|
24430
|
+
this.documentId = params.documentId;
|
|
24431
|
+
}
|
|
24432
|
+
}
|
|
23784
24433
|
export class MessageEntityBlockquote extends _TypeMessageEntity {
|
|
23785
24434
|
get [id]() {
|
|
23786
24435
|
return 0x020DF5D0;
|
|
@@ -23815,117 +24464,6 @@ export class MessageEntityBlockquote extends _TypeMessageEntity {
|
|
|
23815
24464
|
this.length = params.length;
|
|
23816
24465
|
}
|
|
23817
24466
|
}
|
|
23818
|
-
export class MessageEntityBankCard extends _TypeMessageEntity {
|
|
23819
|
-
get [id]() {
|
|
23820
|
-
return 0x761E6AF4;
|
|
23821
|
-
}
|
|
23822
|
-
static get [paramDesc]() {
|
|
23823
|
-
return [
|
|
23824
|
-
["offset", "number", "int"],
|
|
23825
|
-
["length", "number", "int"],
|
|
23826
|
-
];
|
|
23827
|
-
}
|
|
23828
|
-
get [params]() {
|
|
23829
|
-
return [
|
|
23830
|
-
[this.offset, "number", "int"],
|
|
23831
|
-
[this.length, "number", "int"],
|
|
23832
|
-
];
|
|
23833
|
-
}
|
|
23834
|
-
constructor(params) {
|
|
23835
|
-
super();
|
|
23836
|
-
Object.defineProperty(this, "offset", {
|
|
23837
|
-
enumerable: true,
|
|
23838
|
-
configurable: true,
|
|
23839
|
-
writable: true,
|
|
23840
|
-
value: void 0
|
|
23841
|
-
});
|
|
23842
|
-
Object.defineProperty(this, "length", {
|
|
23843
|
-
enumerable: true,
|
|
23844
|
-
configurable: true,
|
|
23845
|
-
writable: true,
|
|
23846
|
-
value: void 0
|
|
23847
|
-
});
|
|
23848
|
-
this.offset = params.offset;
|
|
23849
|
-
this.length = params.length;
|
|
23850
|
-
}
|
|
23851
|
-
}
|
|
23852
|
-
export class MessageEntitySpoiler extends _TypeMessageEntity {
|
|
23853
|
-
get [id]() {
|
|
23854
|
-
return 0x32CA960F;
|
|
23855
|
-
}
|
|
23856
|
-
static get [paramDesc]() {
|
|
23857
|
-
return [
|
|
23858
|
-
["offset", "number", "int"],
|
|
23859
|
-
["length", "number", "int"],
|
|
23860
|
-
];
|
|
23861
|
-
}
|
|
23862
|
-
get [params]() {
|
|
23863
|
-
return [
|
|
23864
|
-
[this.offset, "number", "int"],
|
|
23865
|
-
[this.length, "number", "int"],
|
|
23866
|
-
];
|
|
23867
|
-
}
|
|
23868
|
-
constructor(params) {
|
|
23869
|
-
super();
|
|
23870
|
-
Object.defineProperty(this, "offset", {
|
|
23871
|
-
enumerable: true,
|
|
23872
|
-
configurable: true,
|
|
23873
|
-
writable: true,
|
|
23874
|
-
value: void 0
|
|
23875
|
-
});
|
|
23876
|
-
Object.defineProperty(this, "length", {
|
|
23877
|
-
enumerable: true,
|
|
23878
|
-
configurable: true,
|
|
23879
|
-
writable: true,
|
|
23880
|
-
value: void 0
|
|
23881
|
-
});
|
|
23882
|
-
this.offset = params.offset;
|
|
23883
|
-
this.length = params.length;
|
|
23884
|
-
}
|
|
23885
|
-
}
|
|
23886
|
-
export class MessageEntityCustomEmoji extends _TypeMessageEntity {
|
|
23887
|
-
get [id]() {
|
|
23888
|
-
return 0xC8CF05F8;
|
|
23889
|
-
}
|
|
23890
|
-
static get [paramDesc]() {
|
|
23891
|
-
return [
|
|
23892
|
-
["offset", "number", "int"],
|
|
23893
|
-
["length", "number", "int"],
|
|
23894
|
-
["documentId", "bigint", "long"],
|
|
23895
|
-
];
|
|
23896
|
-
}
|
|
23897
|
-
get [params]() {
|
|
23898
|
-
return [
|
|
23899
|
-
[this.offset, "number", "int"],
|
|
23900
|
-
[this.length, "number", "int"],
|
|
23901
|
-
[this.documentId, "bigint", "long"],
|
|
23902
|
-
];
|
|
23903
|
-
}
|
|
23904
|
-
constructor(params) {
|
|
23905
|
-
super();
|
|
23906
|
-
Object.defineProperty(this, "offset", {
|
|
23907
|
-
enumerable: true,
|
|
23908
|
-
configurable: true,
|
|
23909
|
-
writable: true,
|
|
23910
|
-
value: void 0
|
|
23911
|
-
});
|
|
23912
|
-
Object.defineProperty(this, "length", {
|
|
23913
|
-
enumerable: true,
|
|
23914
|
-
configurable: true,
|
|
23915
|
-
writable: true,
|
|
23916
|
-
value: void 0
|
|
23917
|
-
});
|
|
23918
|
-
Object.defineProperty(this, "documentId", {
|
|
23919
|
-
enumerable: true,
|
|
23920
|
-
configurable: true,
|
|
23921
|
-
writable: true,
|
|
23922
|
-
value: void 0
|
|
23923
|
-
});
|
|
23924
|
-
this.offset = params.offset;
|
|
23925
|
-
this.length = params.length;
|
|
23926
|
-
this.documentId = params.documentId;
|
|
23927
|
-
}
|
|
23928
|
-
}
|
|
23929
24467
|
export class InputChannelEmpty extends _TypeInputChannel {
|
|
23930
24468
|
get [id]() {
|
|
23931
24469
|
return 0xEE8C1E86;
|
|
@@ -25058,6 +25596,7 @@ export class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
25058
25596
|
static get [paramDesc]() {
|
|
25059
25597
|
return [
|
|
25060
25598
|
["flags", flags, "#"],
|
|
25599
|
+
["invertMedia", "true", "flags.3?true"],
|
|
25061
25600
|
["message", "string", "string"],
|
|
25062
25601
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25063
25602
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25066,6 +25605,7 @@ export class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
25066
25605
|
get [params]() {
|
|
25067
25606
|
return [
|
|
25068
25607
|
["flags", flags, "#"],
|
|
25608
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
25069
25609
|
[this.message, "string", "string"],
|
|
25070
25610
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25071
25611
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25073,6 +25613,12 @@ export class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
25073
25613
|
}
|
|
25074
25614
|
constructor(params) {
|
|
25075
25615
|
super();
|
|
25616
|
+
Object.defineProperty(this, "invertMedia", {
|
|
25617
|
+
enumerable: true,
|
|
25618
|
+
configurable: true,
|
|
25619
|
+
writable: true,
|
|
25620
|
+
value: void 0
|
|
25621
|
+
});
|
|
25076
25622
|
Object.defineProperty(this, "message", {
|
|
25077
25623
|
enumerable: true,
|
|
25078
25624
|
configurable: true,
|
|
@@ -25091,6 +25637,7 @@ export class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
25091
25637
|
writable: true,
|
|
25092
25638
|
value: void 0
|
|
25093
25639
|
});
|
|
25640
|
+
this.invertMedia = params.invertMedia;
|
|
25094
25641
|
this.message = params.message;
|
|
25095
25642
|
this.entities = params.entities;
|
|
25096
25643
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -25104,6 +25651,7 @@ export class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
25104
25651
|
return [
|
|
25105
25652
|
["flags", flags, "#"],
|
|
25106
25653
|
["noWebpage", "true", "flags.0?true"],
|
|
25654
|
+
["invertMedia", "true", "flags.3?true"],
|
|
25107
25655
|
["message", "string", "string"],
|
|
25108
25656
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25109
25657
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25113,6 +25661,7 @@ export class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
25113
25661
|
return [
|
|
25114
25662
|
["flags", flags, "#"],
|
|
25115
25663
|
[this.noWebpage ?? null, "true", "flags.0?true"],
|
|
25664
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
25116
25665
|
[this.message, "string", "string"],
|
|
25117
25666
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25118
25667
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25126,6 +25675,12 @@ export class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
25126
25675
|
writable: true,
|
|
25127
25676
|
value: void 0
|
|
25128
25677
|
});
|
|
25678
|
+
Object.defineProperty(this, "invertMedia", {
|
|
25679
|
+
enumerable: true,
|
|
25680
|
+
configurable: true,
|
|
25681
|
+
writable: true,
|
|
25682
|
+
value: void 0
|
|
25683
|
+
});
|
|
25129
25684
|
Object.defineProperty(this, "message", {
|
|
25130
25685
|
enumerable: true,
|
|
25131
25686
|
configurable: true,
|
|
@@ -25145,6 +25700,7 @@ export class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
25145
25700
|
value: void 0
|
|
25146
25701
|
});
|
|
25147
25702
|
this.noWebpage = params.noWebpage;
|
|
25703
|
+
this.invertMedia = params.invertMedia;
|
|
25148
25704
|
this.message = params.message;
|
|
25149
25705
|
this.entities = params.entities;
|
|
25150
25706
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -25474,6 +26030,96 @@ export class InputBotInlineMessageMediaInvoice extends _TypeInputBotInlineMessag
|
|
|
25474
26030
|
this.replyMarkup = params.replyMarkup;
|
|
25475
26031
|
}
|
|
25476
26032
|
}
|
|
26033
|
+
export class InputBotInlineMessageMediaWebPage extends _TypeInputBotInlineMessage {
|
|
26034
|
+
get [id]() {
|
|
26035
|
+
return 0xBDDCC510;
|
|
26036
|
+
}
|
|
26037
|
+
static get [paramDesc]() {
|
|
26038
|
+
return [
|
|
26039
|
+
["flags", flags, "#"],
|
|
26040
|
+
["invertMedia", "true", "flags.3?true"],
|
|
26041
|
+
["forceLargeMedia", "true", "flags.4?true"],
|
|
26042
|
+
["forceSmallMedia", "true", "flags.5?true"],
|
|
26043
|
+
["optional", "true", "flags.6?true"],
|
|
26044
|
+
["message", "string", "string"],
|
|
26045
|
+
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26046
|
+
["url", "string", "string"],
|
|
26047
|
+
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
26048
|
+
];
|
|
26049
|
+
}
|
|
26050
|
+
get [params]() {
|
|
26051
|
+
return [
|
|
26052
|
+
["flags", flags, "#"],
|
|
26053
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
26054
|
+
[this.forceLargeMedia ?? null, "true", "flags.4?true"],
|
|
26055
|
+
[this.forceSmallMedia ?? null, "true", "flags.5?true"],
|
|
26056
|
+
[this.optional ?? null, "true", "flags.6?true"],
|
|
26057
|
+
[this.message, "string", "string"],
|
|
26058
|
+
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26059
|
+
[this.url, "string", "string"],
|
|
26060
|
+
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
26061
|
+
];
|
|
26062
|
+
}
|
|
26063
|
+
constructor(params) {
|
|
26064
|
+
super();
|
|
26065
|
+
Object.defineProperty(this, "invertMedia", {
|
|
26066
|
+
enumerable: true,
|
|
26067
|
+
configurable: true,
|
|
26068
|
+
writable: true,
|
|
26069
|
+
value: void 0
|
|
26070
|
+
});
|
|
26071
|
+
Object.defineProperty(this, "forceLargeMedia", {
|
|
26072
|
+
enumerable: true,
|
|
26073
|
+
configurable: true,
|
|
26074
|
+
writable: true,
|
|
26075
|
+
value: void 0
|
|
26076
|
+
});
|
|
26077
|
+
Object.defineProperty(this, "forceSmallMedia", {
|
|
26078
|
+
enumerable: true,
|
|
26079
|
+
configurable: true,
|
|
26080
|
+
writable: true,
|
|
26081
|
+
value: void 0
|
|
26082
|
+
});
|
|
26083
|
+
Object.defineProperty(this, "optional", {
|
|
26084
|
+
enumerable: true,
|
|
26085
|
+
configurable: true,
|
|
26086
|
+
writable: true,
|
|
26087
|
+
value: void 0
|
|
26088
|
+
});
|
|
26089
|
+
Object.defineProperty(this, "message", {
|
|
26090
|
+
enumerable: true,
|
|
26091
|
+
configurable: true,
|
|
26092
|
+
writable: true,
|
|
26093
|
+
value: void 0
|
|
26094
|
+
});
|
|
26095
|
+
Object.defineProperty(this, "entities", {
|
|
26096
|
+
enumerable: true,
|
|
26097
|
+
configurable: true,
|
|
26098
|
+
writable: true,
|
|
26099
|
+
value: void 0
|
|
26100
|
+
});
|
|
26101
|
+
Object.defineProperty(this, "url", {
|
|
26102
|
+
enumerable: true,
|
|
26103
|
+
configurable: true,
|
|
26104
|
+
writable: true,
|
|
26105
|
+
value: void 0
|
|
26106
|
+
});
|
|
26107
|
+
Object.defineProperty(this, "replyMarkup", {
|
|
26108
|
+
enumerable: true,
|
|
26109
|
+
configurable: true,
|
|
26110
|
+
writable: true,
|
|
26111
|
+
value: void 0
|
|
26112
|
+
});
|
|
26113
|
+
this.invertMedia = params.invertMedia;
|
|
26114
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
26115
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
26116
|
+
this.optional = params.optional;
|
|
26117
|
+
this.message = params.message;
|
|
26118
|
+
this.entities = params.entities;
|
|
26119
|
+
this.url = params.url;
|
|
26120
|
+
this.replyMarkup = params.replyMarkup;
|
|
26121
|
+
}
|
|
26122
|
+
}
|
|
25477
26123
|
export class InputBotInlineResult extends _TypeInputBotInlineResult {
|
|
25478
26124
|
get [id]() {
|
|
25479
26125
|
return 0x88BF9319;
|
|
@@ -25738,6 +26384,7 @@ export class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
25738
26384
|
static get [paramDesc]() {
|
|
25739
26385
|
return [
|
|
25740
26386
|
["flags", flags, "#"],
|
|
26387
|
+
["invertMedia", "true", "flags.3?true"],
|
|
25741
26388
|
["message", "string", "string"],
|
|
25742
26389
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25743
26390
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25746,6 +26393,7 @@ export class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
25746
26393
|
get [params]() {
|
|
25747
26394
|
return [
|
|
25748
26395
|
["flags", flags, "#"],
|
|
26396
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
25749
26397
|
[this.message, "string", "string"],
|
|
25750
26398
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25751
26399
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25753,6 +26401,12 @@ export class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
25753
26401
|
}
|
|
25754
26402
|
constructor(params) {
|
|
25755
26403
|
super();
|
|
26404
|
+
Object.defineProperty(this, "invertMedia", {
|
|
26405
|
+
enumerable: true,
|
|
26406
|
+
configurable: true,
|
|
26407
|
+
writable: true,
|
|
26408
|
+
value: void 0
|
|
26409
|
+
});
|
|
25756
26410
|
Object.defineProperty(this, "message", {
|
|
25757
26411
|
enumerable: true,
|
|
25758
26412
|
configurable: true,
|
|
@@ -25771,6 +26425,7 @@ export class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
25771
26425
|
writable: true,
|
|
25772
26426
|
value: void 0
|
|
25773
26427
|
});
|
|
26428
|
+
this.invertMedia = params.invertMedia;
|
|
25774
26429
|
this.message = params.message;
|
|
25775
26430
|
this.entities = params.entities;
|
|
25776
26431
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -25784,6 +26439,7 @@ export class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
25784
26439
|
return [
|
|
25785
26440
|
["flags", flags, "#"],
|
|
25786
26441
|
["noWebpage", "true", "flags.0?true"],
|
|
26442
|
+
["invertMedia", "true", "flags.3?true"],
|
|
25787
26443
|
["message", "string", "string"],
|
|
25788
26444
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25789
26445
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25793,6 +26449,7 @@ export class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
25793
26449
|
return [
|
|
25794
26450
|
["flags", flags, "#"],
|
|
25795
26451
|
[this.noWebpage ?? null, "true", "flags.0?true"],
|
|
26452
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
25796
26453
|
[this.message, "string", "string"],
|
|
25797
26454
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25798
26455
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25806,6 +26463,12 @@ export class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
25806
26463
|
writable: true,
|
|
25807
26464
|
value: void 0
|
|
25808
26465
|
});
|
|
26466
|
+
Object.defineProperty(this, "invertMedia", {
|
|
26467
|
+
enumerable: true,
|
|
26468
|
+
configurable: true,
|
|
26469
|
+
writable: true,
|
|
26470
|
+
value: void 0
|
|
26471
|
+
});
|
|
25809
26472
|
Object.defineProperty(this, "message", {
|
|
25810
26473
|
enumerable: true,
|
|
25811
26474
|
configurable: true,
|
|
@@ -25825,6 +26488,7 @@ export class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
25825
26488
|
value: void 0
|
|
25826
26489
|
});
|
|
25827
26490
|
this.noWebpage = params.noWebpage;
|
|
26491
|
+
this.invertMedia = params.invertMedia;
|
|
25828
26492
|
this.message = params.message;
|
|
25829
26493
|
this.entities = params.entities;
|
|
25830
26494
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -26127,6 +26791,105 @@ export class BotInlineMessageMediaInvoice extends _TypeBotInlineMessage {
|
|
|
26127
26791
|
this.replyMarkup = params.replyMarkup;
|
|
26128
26792
|
}
|
|
26129
26793
|
}
|
|
26794
|
+
export class BotInlineMessageMediaWebPage extends _TypeBotInlineMessage {
|
|
26795
|
+
get [id]() {
|
|
26796
|
+
return 0x809AD9A6;
|
|
26797
|
+
}
|
|
26798
|
+
static get [paramDesc]() {
|
|
26799
|
+
return [
|
|
26800
|
+
["flags", flags, "#"],
|
|
26801
|
+
["invertMedia", "true", "flags.3?true"],
|
|
26802
|
+
["forceLargeMedia", "true", "flags.4?true"],
|
|
26803
|
+
["forceSmallMedia", "true", "flags.5?true"],
|
|
26804
|
+
["manual", "true", "flags.7?true"],
|
|
26805
|
+
["safe", "true", "flags.8?true"],
|
|
26806
|
+
["message", "string", "string"],
|
|
26807
|
+
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26808
|
+
["url", "string", "string"],
|
|
26809
|
+
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
26810
|
+
];
|
|
26811
|
+
}
|
|
26812
|
+
get [params]() {
|
|
26813
|
+
return [
|
|
26814
|
+
["flags", flags, "#"],
|
|
26815
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
26816
|
+
[this.forceLargeMedia ?? null, "true", "flags.4?true"],
|
|
26817
|
+
[this.forceSmallMedia ?? null, "true", "flags.5?true"],
|
|
26818
|
+
[this.manual ?? null, "true", "flags.7?true"],
|
|
26819
|
+
[this.safe ?? null, "true", "flags.8?true"],
|
|
26820
|
+
[this.message, "string", "string"],
|
|
26821
|
+
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
26822
|
+
[this.url, "string", "string"],
|
|
26823
|
+
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
26824
|
+
];
|
|
26825
|
+
}
|
|
26826
|
+
constructor(params) {
|
|
26827
|
+
super();
|
|
26828
|
+
Object.defineProperty(this, "invertMedia", {
|
|
26829
|
+
enumerable: true,
|
|
26830
|
+
configurable: true,
|
|
26831
|
+
writable: true,
|
|
26832
|
+
value: void 0
|
|
26833
|
+
});
|
|
26834
|
+
Object.defineProperty(this, "forceLargeMedia", {
|
|
26835
|
+
enumerable: true,
|
|
26836
|
+
configurable: true,
|
|
26837
|
+
writable: true,
|
|
26838
|
+
value: void 0
|
|
26839
|
+
});
|
|
26840
|
+
Object.defineProperty(this, "forceSmallMedia", {
|
|
26841
|
+
enumerable: true,
|
|
26842
|
+
configurable: true,
|
|
26843
|
+
writable: true,
|
|
26844
|
+
value: void 0
|
|
26845
|
+
});
|
|
26846
|
+
Object.defineProperty(this, "manual", {
|
|
26847
|
+
enumerable: true,
|
|
26848
|
+
configurable: true,
|
|
26849
|
+
writable: true,
|
|
26850
|
+
value: void 0
|
|
26851
|
+
});
|
|
26852
|
+
Object.defineProperty(this, "safe", {
|
|
26853
|
+
enumerable: true,
|
|
26854
|
+
configurable: true,
|
|
26855
|
+
writable: true,
|
|
26856
|
+
value: void 0
|
|
26857
|
+
});
|
|
26858
|
+
Object.defineProperty(this, "message", {
|
|
26859
|
+
enumerable: true,
|
|
26860
|
+
configurable: true,
|
|
26861
|
+
writable: true,
|
|
26862
|
+
value: void 0
|
|
26863
|
+
});
|
|
26864
|
+
Object.defineProperty(this, "entities", {
|
|
26865
|
+
enumerable: true,
|
|
26866
|
+
configurable: true,
|
|
26867
|
+
writable: true,
|
|
26868
|
+
value: void 0
|
|
26869
|
+
});
|
|
26870
|
+
Object.defineProperty(this, "url", {
|
|
26871
|
+
enumerable: true,
|
|
26872
|
+
configurable: true,
|
|
26873
|
+
writable: true,
|
|
26874
|
+
value: void 0
|
|
26875
|
+
});
|
|
26876
|
+
Object.defineProperty(this, "replyMarkup", {
|
|
26877
|
+
enumerable: true,
|
|
26878
|
+
configurable: true,
|
|
26879
|
+
writable: true,
|
|
26880
|
+
value: void 0
|
|
26881
|
+
});
|
|
26882
|
+
this.invertMedia = params.invertMedia;
|
|
26883
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
26884
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
26885
|
+
this.manual = params.manual;
|
|
26886
|
+
this.safe = params.safe;
|
|
26887
|
+
this.message = params.message;
|
|
26888
|
+
this.entities = params.entities;
|
|
26889
|
+
this.url = params.url;
|
|
26890
|
+
this.replyMarkup = params.replyMarkup;
|
|
26891
|
+
}
|
|
26892
|
+
}
|
|
26130
26893
|
export class BotInlineResult extends _TypeBotInlineResult {
|
|
26131
26894
|
get [id]() {
|
|
26132
26895
|
return 0x11965F3A;
|
|
@@ -27499,15 +28262,17 @@ export class DraftMessageEmpty extends _TypeDraftMessage {
|
|
|
27499
28262
|
}
|
|
27500
28263
|
export class DraftMessage extends _TypeDraftMessage {
|
|
27501
28264
|
get [id]() {
|
|
27502
|
-
return
|
|
28265
|
+
return 0x3FCCF7EF;
|
|
27503
28266
|
}
|
|
27504
28267
|
static get [paramDesc]() {
|
|
27505
28268
|
return [
|
|
27506
28269
|
["flags", flags, "#"],
|
|
27507
28270
|
["noWebpage", "true", "flags.1?true"],
|
|
27508
|
-
["
|
|
28271
|
+
["invertMedia", "true", "flags.6?true"],
|
|
28272
|
+
["replyTo", _TypeInputReplyTo, "flags.4?InputReplyTo"],
|
|
27509
28273
|
["message", "string", "string"],
|
|
27510
28274
|
["entities", [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
28275
|
+
["media", _TypeInputMedia, "flags.5?InputMedia"],
|
|
27511
28276
|
["date", "number", "int"],
|
|
27512
28277
|
];
|
|
27513
28278
|
}
|
|
@@ -27515,9 +28280,11 @@ export class DraftMessage extends _TypeDraftMessage {
|
|
|
27515
28280
|
return [
|
|
27516
28281
|
["flags", flags, "#"],
|
|
27517
28282
|
[this.noWebpage ?? null, "true", "flags.1?true"],
|
|
27518
|
-
[this.
|
|
28283
|
+
[this.invertMedia ?? null, "true", "flags.6?true"],
|
|
28284
|
+
[this.replyTo ?? null, _TypeInputReplyTo, "flags.4?InputReplyTo"],
|
|
27519
28285
|
[this.message, "string", "string"],
|
|
27520
28286
|
[this.entities ?? null, [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
28287
|
+
[this.media ?? null, _TypeInputMedia, "flags.5?InputMedia"],
|
|
27521
28288
|
[this.date, "number", "int"],
|
|
27522
28289
|
];
|
|
27523
28290
|
}
|
|
@@ -27529,7 +28296,13 @@ export class DraftMessage extends _TypeDraftMessage {
|
|
|
27529
28296
|
writable: true,
|
|
27530
28297
|
value: void 0
|
|
27531
28298
|
});
|
|
27532
|
-
Object.defineProperty(this, "
|
|
28299
|
+
Object.defineProperty(this, "invertMedia", {
|
|
28300
|
+
enumerable: true,
|
|
28301
|
+
configurable: true,
|
|
28302
|
+
writable: true,
|
|
28303
|
+
value: void 0
|
|
28304
|
+
});
|
|
28305
|
+
Object.defineProperty(this, "replyTo", {
|
|
27533
28306
|
enumerable: true,
|
|
27534
28307
|
configurable: true,
|
|
27535
28308
|
writable: true,
|
|
@@ -27547,6 +28320,12 @@ export class DraftMessage extends _TypeDraftMessage {
|
|
|
27547
28320
|
writable: true,
|
|
27548
28321
|
value: void 0
|
|
27549
28322
|
});
|
|
28323
|
+
Object.defineProperty(this, "media", {
|
|
28324
|
+
enumerable: true,
|
|
28325
|
+
configurable: true,
|
|
28326
|
+
writable: true,
|
|
28327
|
+
value: void 0
|
|
28328
|
+
});
|
|
27550
28329
|
Object.defineProperty(this, "date", {
|
|
27551
28330
|
enumerable: true,
|
|
27552
28331
|
configurable: true,
|
|
@@ -27554,9 +28333,11 @@ export class DraftMessage extends _TypeDraftMessage {
|
|
|
27554
28333
|
value: void 0
|
|
27555
28334
|
});
|
|
27556
28335
|
this.noWebpage = params.noWebpage;
|
|
27557
|
-
this.
|
|
28336
|
+
this.invertMedia = params.invertMedia;
|
|
28337
|
+
this.replyTo = params.replyTo;
|
|
27558
28338
|
this.message = params.message;
|
|
27559
28339
|
this.entities = params.entities;
|
|
28340
|
+
this.media = params.media;
|
|
27560
28341
|
this.date = params.date;
|
|
27561
28342
|
}
|
|
27562
28343
|
}
|
|
@@ -29866,7 +30647,7 @@ export class LabeledPrice extends _TypeLabeledPrice {
|
|
|
29866
30647
|
}
|
|
29867
30648
|
export class Invoice extends _TypeInvoice {
|
|
29868
30649
|
get [id]() {
|
|
29869
|
-
return
|
|
30650
|
+
return 0x5DB95A15;
|
|
29870
30651
|
}
|
|
29871
30652
|
static get [paramDesc]() {
|
|
29872
30653
|
return [
|
|
@@ -29884,7 +30665,7 @@ export class Invoice extends _TypeInvoice {
|
|
|
29884
30665
|
["prices", [_TypeLabeledPrice], "Vector<LabeledPrice>"],
|
|
29885
30666
|
["maxTipAmount", "bigint", "flags.8?long"],
|
|
29886
30667
|
["suggestedTipAmounts", ["bigint"], "flags.8?Vector<long>"],
|
|
29887
|
-
["
|
|
30668
|
+
["termsUrl", "string", "flags.10?string"],
|
|
29888
30669
|
];
|
|
29889
30670
|
}
|
|
29890
30671
|
get [params]() {
|
|
@@ -29903,7 +30684,7 @@ export class Invoice extends _TypeInvoice {
|
|
|
29903
30684
|
[this.prices, [_TypeLabeledPrice], "Vector<LabeledPrice>"],
|
|
29904
30685
|
[this.maxTipAmount ?? null, "bigint", "flags.8?long"],
|
|
29905
30686
|
[this.suggestedTipAmounts ?? null, ["bigint"], "flags.8?Vector<long>"],
|
|
29906
|
-
[this.
|
|
30687
|
+
[this.termsUrl ?? null, "string", "flags.10?string"],
|
|
29907
30688
|
];
|
|
29908
30689
|
}
|
|
29909
30690
|
constructor(params) {
|
|
@@ -29986,7 +30767,7 @@ export class Invoice extends _TypeInvoice {
|
|
|
29986
30767
|
writable: true,
|
|
29987
30768
|
value: void 0
|
|
29988
30769
|
});
|
|
29989
|
-
Object.defineProperty(this, "
|
|
30770
|
+
Object.defineProperty(this, "termsUrl", {
|
|
29990
30771
|
enumerable: true,
|
|
29991
30772
|
configurable: true,
|
|
29992
30773
|
writable: true,
|
|
@@ -30005,7 +30786,7 @@ export class Invoice extends _TypeInvoice {
|
|
|
30005
30786
|
this.prices = params.prices;
|
|
30006
30787
|
this.maxTipAmount = params.maxTipAmount;
|
|
30007
30788
|
this.suggestedTipAmounts = params.suggestedTipAmounts;
|
|
30008
|
-
this.
|
|
30789
|
+
this.termsUrl = params.termsUrl;
|
|
30009
30790
|
}
|
|
30010
30791
|
}
|
|
30011
30792
|
export class PaymentCharge extends _TypePaymentCharge {
|
|
@@ -33704,6 +34485,74 @@ export class ChannelAdminLogEventActionToggleAntiSpam extends _TypeChannelAdminL
|
|
|
33704
34485
|
this.newValue = params.newValue;
|
|
33705
34486
|
}
|
|
33706
34487
|
}
|
|
34488
|
+
export class ChannelAdminLogEventActionChangeColor extends _TypeChannelAdminLogEventAction {
|
|
34489
|
+
get [id]() {
|
|
34490
|
+
return 0x3C2B247B;
|
|
34491
|
+
}
|
|
34492
|
+
static get [paramDesc]() {
|
|
34493
|
+
return [
|
|
34494
|
+
["prevValue", "number", "int"],
|
|
34495
|
+
["newValue", "number", "int"],
|
|
34496
|
+
];
|
|
34497
|
+
}
|
|
34498
|
+
get [params]() {
|
|
34499
|
+
return [
|
|
34500
|
+
[this.prevValue, "number", "int"],
|
|
34501
|
+
[this.newValue, "number", "int"],
|
|
34502
|
+
];
|
|
34503
|
+
}
|
|
34504
|
+
constructor(params) {
|
|
34505
|
+
super();
|
|
34506
|
+
Object.defineProperty(this, "prevValue", {
|
|
34507
|
+
enumerable: true,
|
|
34508
|
+
configurable: true,
|
|
34509
|
+
writable: true,
|
|
34510
|
+
value: void 0
|
|
34511
|
+
});
|
|
34512
|
+
Object.defineProperty(this, "newValue", {
|
|
34513
|
+
enumerable: true,
|
|
34514
|
+
configurable: true,
|
|
34515
|
+
writable: true,
|
|
34516
|
+
value: void 0
|
|
34517
|
+
});
|
|
34518
|
+
this.prevValue = params.prevValue;
|
|
34519
|
+
this.newValue = params.newValue;
|
|
34520
|
+
}
|
|
34521
|
+
}
|
|
34522
|
+
export class ChannelAdminLogEventActionChangeBackgroundEmoji extends _TypeChannelAdminLogEventAction {
|
|
34523
|
+
get [id]() {
|
|
34524
|
+
return 0x445FC434;
|
|
34525
|
+
}
|
|
34526
|
+
static get [paramDesc]() {
|
|
34527
|
+
return [
|
|
34528
|
+
["prevValue", "bigint", "long"],
|
|
34529
|
+
["newValue", "bigint", "long"],
|
|
34530
|
+
];
|
|
34531
|
+
}
|
|
34532
|
+
get [params]() {
|
|
34533
|
+
return [
|
|
34534
|
+
[this.prevValue, "bigint", "long"],
|
|
34535
|
+
[this.newValue, "bigint", "long"],
|
|
34536
|
+
];
|
|
34537
|
+
}
|
|
34538
|
+
constructor(params) {
|
|
34539
|
+
super();
|
|
34540
|
+
Object.defineProperty(this, "prevValue", {
|
|
34541
|
+
enumerable: true,
|
|
34542
|
+
configurable: true,
|
|
34543
|
+
writable: true,
|
|
34544
|
+
value: void 0
|
|
34545
|
+
});
|
|
34546
|
+
Object.defineProperty(this, "newValue", {
|
|
34547
|
+
enumerable: true,
|
|
34548
|
+
configurable: true,
|
|
34549
|
+
writable: true,
|
|
34550
|
+
value: void 0
|
|
34551
|
+
});
|
|
34552
|
+
this.prevValue = params.prevValue;
|
|
34553
|
+
this.newValue = params.newValue;
|
|
34554
|
+
}
|
|
34555
|
+
}
|
|
33707
34556
|
export class ChannelAdminLogEvent extends _TypeChannelAdminLogEvent {
|
|
33708
34557
|
get [id]() {
|
|
33709
34558
|
return 0x1FAD68CD;
|
|
@@ -37638,6 +38487,9 @@ export class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
37638
38487
|
["manageCall", "true", "flags.11?true"],
|
|
37639
38488
|
["other", "true", "flags.12?true"],
|
|
37640
38489
|
["manageTopics", "true", "flags.13?true"],
|
|
38490
|
+
["postStories", "true", "flags.14?true"],
|
|
38491
|
+
["editStories", "true", "flags.15?true"],
|
|
38492
|
+
["deleteStories", "true", "flags.16?true"],
|
|
37641
38493
|
];
|
|
37642
38494
|
}
|
|
37643
38495
|
get [params]() {
|
|
@@ -37655,6 +38507,9 @@ export class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
37655
38507
|
[this.manageCall ?? null, "true", "flags.11?true"],
|
|
37656
38508
|
[this.other ?? null, "true", "flags.12?true"],
|
|
37657
38509
|
[this.manageTopics ?? null, "true", "flags.13?true"],
|
|
38510
|
+
[this.postStories ?? null, "true", "flags.14?true"],
|
|
38511
|
+
[this.editStories ?? null, "true", "flags.15?true"],
|
|
38512
|
+
[this.deleteStories ?? null, "true", "flags.16?true"],
|
|
37658
38513
|
];
|
|
37659
38514
|
}
|
|
37660
38515
|
constructor(params) {
|
|
@@ -37731,6 +38586,24 @@ export class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
37731
38586
|
writable: true,
|
|
37732
38587
|
value: void 0
|
|
37733
38588
|
});
|
|
38589
|
+
Object.defineProperty(this, "postStories", {
|
|
38590
|
+
enumerable: true,
|
|
38591
|
+
configurable: true,
|
|
38592
|
+
writable: true,
|
|
38593
|
+
value: void 0
|
|
38594
|
+
});
|
|
38595
|
+
Object.defineProperty(this, "editStories", {
|
|
38596
|
+
enumerable: true,
|
|
38597
|
+
configurable: true,
|
|
38598
|
+
writable: true,
|
|
38599
|
+
value: void 0
|
|
38600
|
+
});
|
|
38601
|
+
Object.defineProperty(this, "deleteStories", {
|
|
38602
|
+
enumerable: true,
|
|
38603
|
+
configurable: true,
|
|
38604
|
+
writable: true,
|
|
38605
|
+
value: void 0
|
|
38606
|
+
});
|
|
37734
38607
|
this.changeInfo = params?.changeInfo;
|
|
37735
38608
|
this.postMessages = params?.postMessages;
|
|
37736
38609
|
this.editMessages = params?.editMessages;
|
|
@@ -37743,6 +38616,9 @@ export class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
37743
38616
|
this.manageCall = params?.manageCall;
|
|
37744
38617
|
this.other = params?.other;
|
|
37745
38618
|
this.manageTopics = params?.manageTopics;
|
|
38619
|
+
this.postStories = params?.postStories;
|
|
38620
|
+
this.editStories = params?.editStories;
|
|
38621
|
+
this.deleteStories = params?.deleteStories;
|
|
37746
38622
|
}
|
|
37747
38623
|
}
|
|
37748
38624
|
export class ChatBannedRights extends _TypeChatBannedRights {
|
|
@@ -39679,12 +40555,12 @@ export class WebPageAttributeTheme extends _TypeWebPageAttribute {
|
|
|
39679
40555
|
}
|
|
39680
40556
|
export class WebPageAttributeStory extends _TypeWebPageAttribute {
|
|
39681
40557
|
get [id]() {
|
|
39682
|
-
return
|
|
40558
|
+
return 0x2E94C3E7;
|
|
39683
40559
|
}
|
|
39684
40560
|
static get [paramDesc]() {
|
|
39685
40561
|
return [
|
|
39686
40562
|
["flags", flags, "#"],
|
|
39687
|
-
["
|
|
40563
|
+
["peer", _TypePeer, "Peer"],
|
|
39688
40564
|
["id", "number", "int"],
|
|
39689
40565
|
["story", _TypeStoryItem, "flags.0?StoryItem"],
|
|
39690
40566
|
];
|
|
@@ -39692,14 +40568,14 @@ export class WebPageAttributeStory extends _TypeWebPageAttribute {
|
|
|
39692
40568
|
get [params]() {
|
|
39693
40569
|
return [
|
|
39694
40570
|
["flags", flags, "#"],
|
|
39695
|
-
[this.
|
|
40571
|
+
[this.peer, _TypePeer, "Peer"],
|
|
39696
40572
|
[this.id, "number", "int"],
|
|
39697
40573
|
[this.story ?? null, _TypeStoryItem, "flags.0?StoryItem"],
|
|
39698
40574
|
];
|
|
39699
40575
|
}
|
|
39700
40576
|
constructor(params) {
|
|
39701
40577
|
super();
|
|
39702
|
-
Object.defineProperty(this, "
|
|
40578
|
+
Object.defineProperty(this, "peer", {
|
|
39703
40579
|
enumerable: true,
|
|
39704
40580
|
configurable: true,
|
|
39705
40581
|
writable: true,
|
|
@@ -39717,7 +40593,7 @@ export class WebPageAttributeStory extends _TypeWebPageAttribute {
|
|
|
39717
40593
|
writable: true,
|
|
39718
40594
|
value: void 0
|
|
39719
40595
|
});
|
|
39720
|
-
this.
|
|
40596
|
+
this.peer = params.peer;
|
|
39721
40597
|
this.id = params.id;
|
|
39722
40598
|
this.story = params.story;
|
|
39723
40599
|
}
|
|
@@ -41415,16 +42291,21 @@ export class MessagesDiscussionMessage extends _TypeMessagesDiscussionMessage {
|
|
|
41415
42291
|
}
|
|
41416
42292
|
export class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
41417
42293
|
get [id]() {
|
|
41418
|
-
return
|
|
42294
|
+
return 0x6EEBCABD;
|
|
41419
42295
|
}
|
|
41420
42296
|
static get [paramDesc]() {
|
|
41421
42297
|
return [
|
|
41422
42298
|
["flags", flags, "#"],
|
|
41423
42299
|
["replyToScheduled", "true", "flags.2?true"],
|
|
41424
42300
|
["forumTopic", "true", "flags.3?true"],
|
|
41425
|
-
["
|
|
42301
|
+
["quote", "true", "flags.9?true"],
|
|
42302
|
+
["replyToMsgId", "number", "flags.4?int"],
|
|
41426
42303
|
["replyToPeerId", _TypePeer, "flags.0?Peer"],
|
|
42304
|
+
["replyFrom", _TypeMessageFwdHeader, "flags.5?MessageFwdHeader"],
|
|
42305
|
+
["replyMedia", _TypeMessageMedia, "flags.8?MessageMedia"],
|
|
41427
42306
|
["replyToTopId", "number", "flags.1?int"],
|
|
42307
|
+
["quoteText", "string", "flags.6?string"],
|
|
42308
|
+
["quoteEntities", [_TypeMessageEntity], "flags.7?Vector<MessageEntity>"],
|
|
41428
42309
|
];
|
|
41429
42310
|
}
|
|
41430
42311
|
get [params]() {
|
|
@@ -41432,9 +42313,14 @@ export class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
41432
42313
|
["flags", flags, "#"],
|
|
41433
42314
|
[this.replyToScheduled ?? null, "true", "flags.2?true"],
|
|
41434
42315
|
[this.forumTopic ?? null, "true", "flags.3?true"],
|
|
41435
|
-
[this.
|
|
42316
|
+
[this.quote ?? null, "true", "flags.9?true"],
|
|
42317
|
+
[this.replyToMsgId ?? null, "number", "flags.4?int"],
|
|
41436
42318
|
[this.replyToPeerId ?? null, _TypePeer, "flags.0?Peer"],
|
|
42319
|
+
[this.replyFrom ?? null, _TypeMessageFwdHeader, "flags.5?MessageFwdHeader"],
|
|
42320
|
+
[this.replyMedia ?? null, _TypeMessageMedia, "flags.8?MessageMedia"],
|
|
41437
42321
|
[this.replyToTopId ?? null, "number", "flags.1?int"],
|
|
42322
|
+
[this.quoteText ?? null, "string", "flags.6?string"],
|
|
42323
|
+
[this.quoteEntities ?? null, [_TypeMessageEntity], "flags.7?Vector<MessageEntity>"],
|
|
41438
42324
|
];
|
|
41439
42325
|
}
|
|
41440
42326
|
constructor(params) {
|
|
@@ -41451,6 +42337,12 @@ export class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
41451
42337
|
writable: true,
|
|
41452
42338
|
value: void 0
|
|
41453
42339
|
});
|
|
42340
|
+
Object.defineProperty(this, "quote", {
|
|
42341
|
+
enumerable: true,
|
|
42342
|
+
configurable: true,
|
|
42343
|
+
writable: true,
|
|
42344
|
+
value: void 0
|
|
42345
|
+
});
|
|
41454
42346
|
Object.defineProperty(this, "replyToMsgId", {
|
|
41455
42347
|
enumerable: true,
|
|
41456
42348
|
configurable: true,
|
|
@@ -41463,17 +42355,46 @@ export class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
41463
42355
|
writable: true,
|
|
41464
42356
|
value: void 0
|
|
41465
42357
|
});
|
|
42358
|
+
Object.defineProperty(this, "replyFrom", {
|
|
42359
|
+
enumerable: true,
|
|
42360
|
+
configurable: true,
|
|
42361
|
+
writable: true,
|
|
42362
|
+
value: void 0
|
|
42363
|
+
});
|
|
42364
|
+
Object.defineProperty(this, "replyMedia", {
|
|
42365
|
+
enumerable: true,
|
|
42366
|
+
configurable: true,
|
|
42367
|
+
writable: true,
|
|
42368
|
+
value: void 0
|
|
42369
|
+
});
|
|
41466
42370
|
Object.defineProperty(this, "replyToTopId", {
|
|
41467
42371
|
enumerable: true,
|
|
41468
42372
|
configurable: true,
|
|
41469
42373
|
writable: true,
|
|
41470
42374
|
value: void 0
|
|
41471
42375
|
});
|
|
41472
|
-
this
|
|
41473
|
-
|
|
41474
|
-
|
|
41475
|
-
|
|
41476
|
-
|
|
42376
|
+
Object.defineProperty(this, "quoteText", {
|
|
42377
|
+
enumerable: true,
|
|
42378
|
+
configurable: true,
|
|
42379
|
+
writable: true,
|
|
42380
|
+
value: void 0
|
|
42381
|
+
});
|
|
42382
|
+
Object.defineProperty(this, "quoteEntities", {
|
|
42383
|
+
enumerable: true,
|
|
42384
|
+
configurable: true,
|
|
42385
|
+
writable: true,
|
|
42386
|
+
value: void 0
|
|
42387
|
+
});
|
|
42388
|
+
this.replyToScheduled = params?.replyToScheduled;
|
|
42389
|
+
this.forumTopic = params?.forumTopic;
|
|
42390
|
+
this.quote = params?.quote;
|
|
42391
|
+
this.replyToMsgId = params?.replyToMsgId;
|
|
42392
|
+
this.replyToPeerId = params?.replyToPeerId;
|
|
42393
|
+
this.replyFrom = params?.replyFrom;
|
|
42394
|
+
this.replyMedia = params?.replyMedia;
|
|
42395
|
+
this.replyToTopId = params?.replyToTopId;
|
|
42396
|
+
this.quoteText = params?.quoteText;
|
|
42397
|
+
this.quoteEntities = params?.quoteEntities;
|
|
41477
42398
|
}
|
|
41478
42399
|
}
|
|
41479
42400
|
export class MessageReplyStoryHeader extends _TypeMessageReplyHeader {
|
|
@@ -44324,7 +45245,7 @@ export class AttachMenuBotIcon extends _TypeAttachMenuBotIcon {
|
|
|
44324
45245
|
}
|
|
44325
45246
|
export class AttachMenuBot extends _TypeAttachMenuBot {
|
|
44326
45247
|
get [id]() {
|
|
44327
|
-
return
|
|
45248
|
+
return 0xD90D8DFE;
|
|
44328
45249
|
}
|
|
44329
45250
|
static get [paramDesc]() {
|
|
44330
45251
|
return [
|
|
@@ -44332,9 +45253,12 @@ export class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
44332
45253
|
["inactive", "true", "flags.0?true"],
|
|
44333
45254
|
["hasSettings", "true", "flags.1?true"],
|
|
44334
45255
|
["requestWriteAccess", "true", "flags.2?true"],
|
|
45256
|
+
["showInAttachMenu", "true", "flags.3?true"],
|
|
45257
|
+
["showInSideMenu", "true", "flags.4?true"],
|
|
45258
|
+
["sideMenuDisclaimerNeeded", "true", "flags.5?true"],
|
|
44335
45259
|
["botId", "bigint", "long"],
|
|
44336
45260
|
["shortName", "string", "string"],
|
|
44337
|
-
["peerTypes", [_TypeAttachMenuPeerType], "Vector<AttachMenuPeerType>"],
|
|
45261
|
+
["peerTypes", [_TypeAttachMenuPeerType], "flags.3?Vector<AttachMenuPeerType>"],
|
|
44338
45262
|
["icons", [_TypeAttachMenuBotIcon], "Vector<AttachMenuBotIcon>"],
|
|
44339
45263
|
];
|
|
44340
45264
|
}
|
|
@@ -44344,9 +45268,12 @@ export class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
44344
45268
|
[this.inactive ?? null, "true", "flags.0?true"],
|
|
44345
45269
|
[this.hasSettings ?? null, "true", "flags.1?true"],
|
|
44346
45270
|
[this.requestWriteAccess ?? null, "true", "flags.2?true"],
|
|
45271
|
+
[this.showInAttachMenu ?? null, "true", "flags.3?true"],
|
|
45272
|
+
[this.showInSideMenu ?? null, "true", "flags.4?true"],
|
|
45273
|
+
[this.sideMenuDisclaimerNeeded ?? null, "true", "flags.5?true"],
|
|
44347
45274
|
[this.botId, "bigint", "long"],
|
|
44348
45275
|
[this.shortName, "string", "string"],
|
|
44349
|
-
[this.peerTypes, [_TypeAttachMenuPeerType], "Vector<AttachMenuPeerType>"],
|
|
45276
|
+
[this.peerTypes ?? null, [_TypeAttachMenuPeerType], "flags.3?Vector<AttachMenuPeerType>"],
|
|
44350
45277
|
[this.icons, [_TypeAttachMenuBotIcon], "Vector<AttachMenuBotIcon>"],
|
|
44351
45278
|
];
|
|
44352
45279
|
}
|
|
@@ -44370,6 +45297,24 @@ export class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
44370
45297
|
writable: true,
|
|
44371
45298
|
value: void 0
|
|
44372
45299
|
});
|
|
45300
|
+
Object.defineProperty(this, "showInAttachMenu", {
|
|
45301
|
+
enumerable: true,
|
|
45302
|
+
configurable: true,
|
|
45303
|
+
writable: true,
|
|
45304
|
+
value: void 0
|
|
45305
|
+
});
|
|
45306
|
+
Object.defineProperty(this, "showInSideMenu", {
|
|
45307
|
+
enumerable: true,
|
|
45308
|
+
configurable: true,
|
|
45309
|
+
writable: true,
|
|
45310
|
+
value: void 0
|
|
45311
|
+
});
|
|
45312
|
+
Object.defineProperty(this, "sideMenuDisclaimerNeeded", {
|
|
45313
|
+
enumerable: true,
|
|
45314
|
+
configurable: true,
|
|
45315
|
+
writable: true,
|
|
45316
|
+
value: void 0
|
|
45317
|
+
});
|
|
44373
45318
|
Object.defineProperty(this, "botId", {
|
|
44374
45319
|
enumerable: true,
|
|
44375
45320
|
configurable: true,
|
|
@@ -44397,6 +45342,9 @@ export class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
44397
45342
|
this.inactive = params.inactive;
|
|
44398
45343
|
this.hasSettings = params.hasSettings;
|
|
44399
45344
|
this.requestWriteAccess = params.requestWriteAccess;
|
|
45345
|
+
this.showInAttachMenu = params.showInAttachMenu;
|
|
45346
|
+
this.showInSideMenu = params.showInSideMenu;
|
|
45347
|
+
this.sideMenuDisclaimerNeeded = params.sideMenuDisclaimerNeeded;
|
|
44400
45348
|
this.botId = params.botId;
|
|
44401
45349
|
this.shortName = params.shortName;
|
|
44402
45350
|
this.peerTypes = params.peerTypes;
|
|
@@ -44945,6 +45893,40 @@ export class InputInvoiceSlug extends _TypeInputInvoice {
|
|
|
44945
45893
|
this.slug = params.slug;
|
|
44946
45894
|
}
|
|
44947
45895
|
}
|
|
45896
|
+
export class InputInvoicePremiumGiftCode extends _TypeInputInvoice {
|
|
45897
|
+
get [id]() {
|
|
45898
|
+
return 0x98986C0D;
|
|
45899
|
+
}
|
|
45900
|
+
static get [paramDesc]() {
|
|
45901
|
+
return [
|
|
45902
|
+
["purpose", _TypeInputStorePaymentPurpose, "InputStorePaymentPurpose"],
|
|
45903
|
+
["option", _TypePremiumGiftCodeOption, "PremiumGiftCodeOption"],
|
|
45904
|
+
];
|
|
45905
|
+
}
|
|
45906
|
+
get [params]() {
|
|
45907
|
+
return [
|
|
45908
|
+
[this.purpose, _TypeInputStorePaymentPurpose, "InputStorePaymentPurpose"],
|
|
45909
|
+
[this.option, _TypePremiumGiftCodeOption, "PremiumGiftCodeOption"],
|
|
45910
|
+
];
|
|
45911
|
+
}
|
|
45912
|
+
constructor(params) {
|
|
45913
|
+
super();
|
|
45914
|
+
Object.defineProperty(this, "purpose", {
|
|
45915
|
+
enumerable: true,
|
|
45916
|
+
configurable: true,
|
|
45917
|
+
writable: true,
|
|
45918
|
+
value: void 0
|
|
45919
|
+
});
|
|
45920
|
+
Object.defineProperty(this, "option", {
|
|
45921
|
+
enumerable: true,
|
|
45922
|
+
configurable: true,
|
|
45923
|
+
writable: true,
|
|
45924
|
+
value: void 0
|
|
45925
|
+
});
|
|
45926
|
+
this.purpose = params.purpose;
|
|
45927
|
+
this.option = params.option;
|
|
45928
|
+
}
|
|
45929
|
+
}
|
|
44948
45930
|
export class PaymentsExportedInvoice extends _TypePaymentsExportedInvoice {
|
|
44949
45931
|
get [id]() {
|
|
44950
45932
|
return 0xAED0CBD9;
|
|
@@ -45164,6 +46146,150 @@ export class InputStorePaymentGiftPremium extends _TypeInputStorePaymentPurpose
|
|
|
45164
46146
|
this.amount = params.amount;
|
|
45165
46147
|
}
|
|
45166
46148
|
}
|
|
46149
|
+
export class InputStorePaymentPremiumGiftCode extends _TypeInputStorePaymentPurpose {
|
|
46150
|
+
get [id]() {
|
|
46151
|
+
return 0xA3805F3F;
|
|
46152
|
+
}
|
|
46153
|
+
static get [paramDesc]() {
|
|
46154
|
+
return [
|
|
46155
|
+
["flags", flags, "#"],
|
|
46156
|
+
["users", [_TypeInputUser], "Vector<InputUser>"],
|
|
46157
|
+
["boostPeer", _TypeInputPeer, "flags.0?InputPeer"],
|
|
46158
|
+
["currency", "string", "string"],
|
|
46159
|
+
["amount", "bigint", "long"],
|
|
46160
|
+
];
|
|
46161
|
+
}
|
|
46162
|
+
get [params]() {
|
|
46163
|
+
return [
|
|
46164
|
+
["flags", flags, "#"],
|
|
46165
|
+
[this.users, [_TypeInputUser], "Vector<InputUser>"],
|
|
46166
|
+
[this.boostPeer ?? null, _TypeInputPeer, "flags.0?InputPeer"],
|
|
46167
|
+
[this.currency, "string", "string"],
|
|
46168
|
+
[this.amount, "bigint", "long"],
|
|
46169
|
+
];
|
|
46170
|
+
}
|
|
46171
|
+
constructor(params) {
|
|
46172
|
+
super();
|
|
46173
|
+
Object.defineProperty(this, "users", {
|
|
46174
|
+
enumerable: true,
|
|
46175
|
+
configurable: true,
|
|
46176
|
+
writable: true,
|
|
46177
|
+
value: void 0
|
|
46178
|
+
});
|
|
46179
|
+
Object.defineProperty(this, "boostPeer", {
|
|
46180
|
+
enumerable: true,
|
|
46181
|
+
configurable: true,
|
|
46182
|
+
writable: true,
|
|
46183
|
+
value: void 0
|
|
46184
|
+
});
|
|
46185
|
+
Object.defineProperty(this, "currency", {
|
|
46186
|
+
enumerable: true,
|
|
46187
|
+
configurable: true,
|
|
46188
|
+
writable: true,
|
|
46189
|
+
value: void 0
|
|
46190
|
+
});
|
|
46191
|
+
Object.defineProperty(this, "amount", {
|
|
46192
|
+
enumerable: true,
|
|
46193
|
+
configurable: true,
|
|
46194
|
+
writable: true,
|
|
46195
|
+
value: void 0
|
|
46196
|
+
});
|
|
46197
|
+
this.users = params.users;
|
|
46198
|
+
this.boostPeer = params.boostPeer;
|
|
46199
|
+
this.currency = params.currency;
|
|
46200
|
+
this.amount = params.amount;
|
|
46201
|
+
}
|
|
46202
|
+
}
|
|
46203
|
+
export class InputStorePaymentPremiumGiveaway extends _TypeInputStorePaymentPurpose {
|
|
46204
|
+
get [id]() {
|
|
46205
|
+
return 0x7C9375E6;
|
|
46206
|
+
}
|
|
46207
|
+
static get [paramDesc]() {
|
|
46208
|
+
return [
|
|
46209
|
+
["flags", flags, "#"],
|
|
46210
|
+
["onlyNewSubscribers", "true", "flags.0?true"],
|
|
46211
|
+
["boostPeer", _TypeInputPeer, "InputPeer"],
|
|
46212
|
+
["additionalPeers", [_TypeInputPeer], "flags.1?Vector<InputPeer>"],
|
|
46213
|
+
["countriesIso2", ["string"], "flags.2?Vector<string>"],
|
|
46214
|
+
["randomId", "bigint", "long"],
|
|
46215
|
+
["untilDate", "number", "int"],
|
|
46216
|
+
["currency", "string", "string"],
|
|
46217
|
+
["amount", "bigint", "long"],
|
|
46218
|
+
];
|
|
46219
|
+
}
|
|
46220
|
+
get [params]() {
|
|
46221
|
+
return [
|
|
46222
|
+
["flags", flags, "#"],
|
|
46223
|
+
[this.onlyNewSubscribers ?? null, "true", "flags.0?true"],
|
|
46224
|
+
[this.boostPeer, _TypeInputPeer, "InputPeer"],
|
|
46225
|
+
[this.additionalPeers ?? null, [_TypeInputPeer], "flags.1?Vector<InputPeer>"],
|
|
46226
|
+
[this.countriesIso2 ?? null, ["string"], "flags.2?Vector<string>"],
|
|
46227
|
+
[this.randomId, "bigint", "long"],
|
|
46228
|
+
[this.untilDate, "number", "int"],
|
|
46229
|
+
[this.currency, "string", "string"],
|
|
46230
|
+
[this.amount, "bigint", "long"],
|
|
46231
|
+
];
|
|
46232
|
+
}
|
|
46233
|
+
constructor(params) {
|
|
46234
|
+
super();
|
|
46235
|
+
Object.defineProperty(this, "onlyNewSubscribers", {
|
|
46236
|
+
enumerable: true,
|
|
46237
|
+
configurable: true,
|
|
46238
|
+
writable: true,
|
|
46239
|
+
value: void 0
|
|
46240
|
+
});
|
|
46241
|
+
Object.defineProperty(this, "boostPeer", {
|
|
46242
|
+
enumerable: true,
|
|
46243
|
+
configurable: true,
|
|
46244
|
+
writable: true,
|
|
46245
|
+
value: void 0
|
|
46246
|
+
});
|
|
46247
|
+
Object.defineProperty(this, "additionalPeers", {
|
|
46248
|
+
enumerable: true,
|
|
46249
|
+
configurable: true,
|
|
46250
|
+
writable: true,
|
|
46251
|
+
value: void 0
|
|
46252
|
+
});
|
|
46253
|
+
Object.defineProperty(this, "countriesIso2", {
|
|
46254
|
+
enumerable: true,
|
|
46255
|
+
configurable: true,
|
|
46256
|
+
writable: true,
|
|
46257
|
+
value: void 0
|
|
46258
|
+
});
|
|
46259
|
+
Object.defineProperty(this, "randomId", {
|
|
46260
|
+
enumerable: true,
|
|
46261
|
+
configurable: true,
|
|
46262
|
+
writable: true,
|
|
46263
|
+
value: void 0
|
|
46264
|
+
});
|
|
46265
|
+
Object.defineProperty(this, "untilDate", {
|
|
46266
|
+
enumerable: true,
|
|
46267
|
+
configurable: true,
|
|
46268
|
+
writable: true,
|
|
46269
|
+
value: void 0
|
|
46270
|
+
});
|
|
46271
|
+
Object.defineProperty(this, "currency", {
|
|
46272
|
+
enumerable: true,
|
|
46273
|
+
configurable: true,
|
|
46274
|
+
writable: true,
|
|
46275
|
+
value: void 0
|
|
46276
|
+
});
|
|
46277
|
+
Object.defineProperty(this, "amount", {
|
|
46278
|
+
enumerable: true,
|
|
46279
|
+
configurable: true,
|
|
46280
|
+
writable: true,
|
|
46281
|
+
value: void 0
|
|
46282
|
+
});
|
|
46283
|
+
this.onlyNewSubscribers = params.onlyNewSubscribers;
|
|
46284
|
+
this.boostPeer = params.boostPeer;
|
|
46285
|
+
this.additionalPeers = params.additionalPeers;
|
|
46286
|
+
this.countriesIso2 = params.countriesIso2;
|
|
46287
|
+
this.randomId = params.randomId;
|
|
46288
|
+
this.untilDate = params.untilDate;
|
|
46289
|
+
this.currency = params.currency;
|
|
46290
|
+
this.amount = params.amount;
|
|
46291
|
+
}
|
|
46292
|
+
}
|
|
45167
46293
|
export class PremiumGiftOption extends _TypePremiumGiftOption {
|
|
45168
46294
|
get [id]() {
|
|
45169
46295
|
return 0x74C34319;
|
|
@@ -47132,6 +48258,7 @@ export class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
47132
48258
|
["flags", flags, "#"],
|
|
47133
48259
|
["inactive", "true", "flags.0?true"],
|
|
47134
48260
|
["requestWriteAccess", "true", "flags.1?true"],
|
|
48261
|
+
["hasSettings", "true", "flags.2?true"],
|
|
47135
48262
|
["app", _TypeBotApp, "BotApp"],
|
|
47136
48263
|
];
|
|
47137
48264
|
}
|
|
@@ -47140,6 +48267,7 @@ export class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
47140
48267
|
["flags", flags, "#"],
|
|
47141
48268
|
[this.inactive ?? null, "true", "flags.0?true"],
|
|
47142
48269
|
[this.requestWriteAccess ?? null, "true", "flags.1?true"],
|
|
48270
|
+
[this.hasSettings ?? null, "true", "flags.2?true"],
|
|
47143
48271
|
[this.app, _TypeBotApp, "BotApp"],
|
|
47144
48272
|
];
|
|
47145
48273
|
}
|
|
@@ -47157,6 +48285,12 @@ export class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
47157
48285
|
writable: true,
|
|
47158
48286
|
value: void 0
|
|
47159
48287
|
});
|
|
48288
|
+
Object.defineProperty(this, "hasSettings", {
|
|
48289
|
+
enumerable: true,
|
|
48290
|
+
configurable: true,
|
|
48291
|
+
writable: true,
|
|
48292
|
+
value: void 0
|
|
48293
|
+
});
|
|
47160
48294
|
Object.defineProperty(this, "app", {
|
|
47161
48295
|
enumerable: true,
|
|
47162
48296
|
configurable: true,
|
|
@@ -47165,6 +48299,7 @@ export class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
47165
48299
|
});
|
|
47166
48300
|
this.inactive = params.inactive;
|
|
47167
48301
|
this.requestWriteAccess = params.requestWriteAccess;
|
|
48302
|
+
this.hasSettings = params.hasSettings;
|
|
47168
48303
|
this.app = params.app;
|
|
47169
48304
|
}
|
|
47170
48305
|
}
|
|
@@ -47785,32 +48920,56 @@ export class SponsoredWebPage extends _TypeSponsoredWebPage {
|
|
|
47785
48920
|
}
|
|
47786
48921
|
export class StoryViews extends _TypeStoryViews {
|
|
47787
48922
|
get [id]() {
|
|
47788
|
-
return
|
|
48923
|
+
return 0x8D595CD6;
|
|
47789
48924
|
}
|
|
47790
48925
|
static get [paramDesc]() {
|
|
47791
48926
|
return [
|
|
47792
48927
|
["flags", flags, "#"],
|
|
48928
|
+
["hasViewers", "true", "flags.1?true"],
|
|
47793
48929
|
["viewsCount", "number", "int"],
|
|
47794
|
-
["
|
|
48930
|
+
["forwardsCount", "number", "flags.2?int"],
|
|
48931
|
+
["reactions", [_TypeReactionCount], "flags.3?Vector<ReactionCount>"],
|
|
48932
|
+
["reactionsCount", "number", "flags.4?int"],
|
|
47795
48933
|
["recentViewers", ["bigint"], "flags.0?Vector<long>"],
|
|
47796
48934
|
];
|
|
47797
48935
|
}
|
|
47798
48936
|
get [params]() {
|
|
47799
48937
|
return [
|
|
47800
48938
|
["flags", flags, "#"],
|
|
48939
|
+
[this.hasViewers ?? null, "true", "flags.1?true"],
|
|
47801
48940
|
[this.viewsCount, "number", "int"],
|
|
47802
|
-
[this.
|
|
48941
|
+
[this.forwardsCount ?? null, "number", "flags.2?int"],
|
|
48942
|
+
[this.reactions ?? null, [_TypeReactionCount], "flags.3?Vector<ReactionCount>"],
|
|
48943
|
+
[this.reactionsCount ?? null, "number", "flags.4?int"],
|
|
47803
48944
|
[this.recentViewers ?? null, ["bigint"], "flags.0?Vector<long>"],
|
|
47804
48945
|
];
|
|
47805
48946
|
}
|
|
47806
48947
|
constructor(params) {
|
|
47807
48948
|
super();
|
|
48949
|
+
Object.defineProperty(this, "hasViewers", {
|
|
48950
|
+
enumerable: true,
|
|
48951
|
+
configurable: true,
|
|
48952
|
+
writable: true,
|
|
48953
|
+
value: void 0
|
|
48954
|
+
});
|
|
47808
48955
|
Object.defineProperty(this, "viewsCount", {
|
|
47809
48956
|
enumerable: true,
|
|
47810
48957
|
configurable: true,
|
|
47811
48958
|
writable: true,
|
|
47812
48959
|
value: void 0
|
|
47813
48960
|
});
|
|
48961
|
+
Object.defineProperty(this, "forwardsCount", {
|
|
48962
|
+
enumerable: true,
|
|
48963
|
+
configurable: true,
|
|
48964
|
+
writable: true,
|
|
48965
|
+
value: void 0
|
|
48966
|
+
});
|
|
48967
|
+
Object.defineProperty(this, "reactions", {
|
|
48968
|
+
enumerable: true,
|
|
48969
|
+
configurable: true,
|
|
48970
|
+
writable: true,
|
|
48971
|
+
value: void 0
|
|
48972
|
+
});
|
|
47814
48973
|
Object.defineProperty(this, "reactionsCount", {
|
|
47815
48974
|
enumerable: true,
|
|
47816
48975
|
configurable: true,
|
|
@@ -47823,7 +48982,10 @@ export class StoryViews extends _TypeStoryViews {
|
|
|
47823
48982
|
writable: true,
|
|
47824
48983
|
value: void 0
|
|
47825
48984
|
});
|
|
48985
|
+
this.hasViewers = params.hasViewers;
|
|
47826
48986
|
this.viewsCount = params.viewsCount;
|
|
48987
|
+
this.forwardsCount = params.forwardsCount;
|
|
48988
|
+
this.reactions = params.reactions;
|
|
47827
48989
|
this.reactionsCount = params.reactionsCount;
|
|
47828
48990
|
this.recentViewers = params.recentViewers;
|
|
47829
48991
|
}
|
|
@@ -47922,6 +49084,7 @@ export class StoryItem extends _TypeStoryItem {
|
|
|
47922
49084
|
["edited", "true", "flags.11?true"],
|
|
47923
49085
|
["contacts", "true", "flags.12?true"],
|
|
47924
49086
|
["selectedContacts", "true", "flags.13?true"],
|
|
49087
|
+
["out", "true", "flags.16?true"],
|
|
47925
49088
|
["id", "number", "int"],
|
|
47926
49089
|
["date", "number", "int"],
|
|
47927
49090
|
["expireDate", "number", "int"],
|
|
@@ -47945,6 +49108,7 @@ export class StoryItem extends _TypeStoryItem {
|
|
|
47945
49108
|
[this.edited ?? null, "true", "flags.11?true"],
|
|
47946
49109
|
[this.contacts ?? null, "true", "flags.12?true"],
|
|
47947
49110
|
[this.selectedContacts ?? null, "true", "flags.13?true"],
|
|
49111
|
+
[this.out ?? null, "true", "flags.16?true"],
|
|
47948
49112
|
[this.id, "number", "int"],
|
|
47949
49113
|
[this.date, "number", "int"],
|
|
47950
49114
|
[this.expireDate, "number", "int"],
|
|
@@ -48007,6 +49171,12 @@ export class StoryItem extends _TypeStoryItem {
|
|
|
48007
49171
|
writable: true,
|
|
48008
49172
|
value: void 0
|
|
48009
49173
|
});
|
|
49174
|
+
Object.defineProperty(this, "out", {
|
|
49175
|
+
enumerable: true,
|
|
49176
|
+
configurable: true,
|
|
49177
|
+
writable: true,
|
|
49178
|
+
value: void 0
|
|
49179
|
+
});
|
|
48010
49180
|
Object.defineProperty(this, "id", {
|
|
48011
49181
|
enumerable: true,
|
|
48012
49182
|
configurable: true,
|
|
@@ -48075,6 +49245,7 @@ export class StoryItem extends _TypeStoryItem {
|
|
|
48075
49245
|
this.edited = params.edited;
|
|
48076
49246
|
this.contacts = params.contacts;
|
|
48077
49247
|
this.selectedContacts = params.selectedContacts;
|
|
49248
|
+
this.out = params.out;
|
|
48078
49249
|
this.id = params.id;
|
|
48079
49250
|
this.date = params.date;
|
|
48080
49251
|
this.expireDate = params.expireDate;
|
|
@@ -48087,51 +49258,6 @@ export class StoryItem extends _TypeStoryItem {
|
|
|
48087
49258
|
this.sentReaction = params.sentReaction;
|
|
48088
49259
|
}
|
|
48089
49260
|
}
|
|
48090
|
-
export class UserStories extends _TypeUserStories {
|
|
48091
|
-
get [id]() {
|
|
48092
|
-
return 0x8611A200;
|
|
48093
|
-
}
|
|
48094
|
-
static get [paramDesc]() {
|
|
48095
|
-
return [
|
|
48096
|
-
["flags", flags, "#"],
|
|
48097
|
-
["userId", "bigint", "long"],
|
|
48098
|
-
["maxReadId", "number", "flags.0?int"],
|
|
48099
|
-
["stories", [_TypeStoryItem], "Vector<StoryItem>"],
|
|
48100
|
-
];
|
|
48101
|
-
}
|
|
48102
|
-
get [params]() {
|
|
48103
|
-
return [
|
|
48104
|
-
["flags", flags, "#"],
|
|
48105
|
-
[this.userId, "bigint", "long"],
|
|
48106
|
-
[this.maxReadId ?? null, "number", "flags.0?int"],
|
|
48107
|
-
[this.stories, [_TypeStoryItem], "Vector<StoryItem>"],
|
|
48108
|
-
];
|
|
48109
|
-
}
|
|
48110
|
-
constructor(params) {
|
|
48111
|
-
super();
|
|
48112
|
-
Object.defineProperty(this, "userId", {
|
|
48113
|
-
enumerable: true,
|
|
48114
|
-
configurable: true,
|
|
48115
|
-
writable: true,
|
|
48116
|
-
value: void 0
|
|
48117
|
-
});
|
|
48118
|
-
Object.defineProperty(this, "maxReadId", {
|
|
48119
|
-
enumerable: true,
|
|
48120
|
-
configurable: true,
|
|
48121
|
-
writable: true,
|
|
48122
|
-
value: void 0
|
|
48123
|
-
});
|
|
48124
|
-
Object.defineProperty(this, "stories", {
|
|
48125
|
-
enumerable: true,
|
|
48126
|
-
configurable: true,
|
|
48127
|
-
writable: true,
|
|
48128
|
-
value: void 0
|
|
48129
|
-
});
|
|
48130
|
-
this.userId = params.userId;
|
|
48131
|
-
this.maxReadId = params.maxReadId;
|
|
48132
|
-
this.stories = params.stories;
|
|
48133
|
-
}
|
|
48134
|
-
}
|
|
48135
49261
|
export class StoriesAllStoriesNotModified extends _TypeStoriesAllStories {
|
|
48136
49262
|
get [id]() {
|
|
48137
49263
|
return 0x1158FE3E;
|
|
@@ -48170,7 +49296,7 @@ export class StoriesAllStoriesNotModified extends _TypeStoriesAllStories {
|
|
|
48170
49296
|
}
|
|
48171
49297
|
export class StoriesAllStories extends _TypeStoriesAllStories {
|
|
48172
49298
|
get [id]() {
|
|
48173
|
-
return
|
|
49299
|
+
return 0x6EFC5E81;
|
|
48174
49300
|
}
|
|
48175
49301
|
static get [paramDesc]() {
|
|
48176
49302
|
return [
|
|
@@ -48178,7 +49304,8 @@ export class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
48178
49304
|
["hasMore", "true", "flags.0?true"],
|
|
48179
49305
|
["count", "number", "int"],
|
|
48180
49306
|
["state", "string", "string"],
|
|
48181
|
-
["
|
|
49307
|
+
["peerStories", [_TypePeerStories], "Vector<PeerStories>"],
|
|
49308
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
48182
49309
|
["users", [_TypeUser], "Vector<User>"],
|
|
48183
49310
|
["stealthMode", _TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
48184
49311
|
];
|
|
@@ -48189,7 +49316,8 @@ export class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
48189
49316
|
[this.hasMore ?? null, "true", "flags.0?true"],
|
|
48190
49317
|
[this.count, "number", "int"],
|
|
48191
49318
|
[this.state, "string", "string"],
|
|
48192
|
-
[this.
|
|
49319
|
+
[this.peerStories, [_TypePeerStories], "Vector<PeerStories>"],
|
|
49320
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
48193
49321
|
[this.users, [_TypeUser], "Vector<User>"],
|
|
48194
49322
|
[this.stealthMode, _TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
48195
49323
|
];
|
|
@@ -48214,7 +49342,13 @@ export class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
48214
49342
|
writable: true,
|
|
48215
49343
|
value: void 0
|
|
48216
49344
|
});
|
|
48217
|
-
Object.defineProperty(this, "
|
|
49345
|
+
Object.defineProperty(this, "peerStories", {
|
|
49346
|
+
enumerable: true,
|
|
49347
|
+
configurable: true,
|
|
49348
|
+
writable: true,
|
|
49349
|
+
value: void 0
|
|
49350
|
+
});
|
|
49351
|
+
Object.defineProperty(this, "chats", {
|
|
48218
49352
|
enumerable: true,
|
|
48219
49353
|
configurable: true,
|
|
48220
49354
|
writable: true,
|
|
@@ -48235,19 +49369,21 @@ export class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
48235
49369
|
this.hasMore = params.hasMore;
|
|
48236
49370
|
this.count = params.count;
|
|
48237
49371
|
this.state = params.state;
|
|
48238
|
-
this.
|
|
49372
|
+
this.peerStories = params.peerStories;
|
|
49373
|
+
this.chats = params.chats;
|
|
48239
49374
|
this.users = params.users;
|
|
48240
49375
|
this.stealthMode = params.stealthMode;
|
|
48241
49376
|
}
|
|
48242
49377
|
}
|
|
48243
49378
|
export class StoriesStories extends _TypeStoriesStories {
|
|
48244
49379
|
get [id]() {
|
|
48245
|
-
return
|
|
49380
|
+
return 0x5DD8C3C8;
|
|
48246
49381
|
}
|
|
48247
49382
|
static get [paramDesc]() {
|
|
48248
49383
|
return [
|
|
48249
49384
|
["count", "number", "int"],
|
|
48250
49385
|
["stories", [_TypeStoryItem], "Vector<StoryItem>"],
|
|
49386
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
48251
49387
|
["users", [_TypeUser], "Vector<User>"],
|
|
48252
49388
|
];
|
|
48253
49389
|
}
|
|
@@ -48255,6 +49391,7 @@ export class StoriesStories extends _TypeStoriesStories {
|
|
|
48255
49391
|
return [
|
|
48256
49392
|
[this.count, "number", "int"],
|
|
48257
49393
|
[this.stories, [_TypeStoryItem], "Vector<StoryItem>"],
|
|
49394
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
48258
49395
|
[this.users, [_TypeUser], "Vector<User>"],
|
|
48259
49396
|
];
|
|
48260
49397
|
}
|
|
@@ -48272,36 +49409,7 @@ export class StoriesStories extends _TypeStoriesStories {
|
|
|
48272
49409
|
writable: true,
|
|
48273
49410
|
value: void 0
|
|
48274
49411
|
});
|
|
48275
|
-
Object.defineProperty(this, "
|
|
48276
|
-
enumerable: true,
|
|
48277
|
-
configurable: true,
|
|
48278
|
-
writable: true,
|
|
48279
|
-
value: void 0
|
|
48280
|
-
});
|
|
48281
|
-
this.count = params.count;
|
|
48282
|
-
this.stories = params.stories;
|
|
48283
|
-
this.users = params.users;
|
|
48284
|
-
}
|
|
48285
|
-
}
|
|
48286
|
-
export class StoriesUserStories extends _TypeStoriesUserStories {
|
|
48287
|
-
get [id]() {
|
|
48288
|
-
return 0x37A6FF5F;
|
|
48289
|
-
}
|
|
48290
|
-
static get [paramDesc]() {
|
|
48291
|
-
return [
|
|
48292
|
-
["stories", _TypeUserStories, "UserStories"],
|
|
48293
|
-
["users", [_TypeUser], "Vector<User>"],
|
|
48294
|
-
];
|
|
48295
|
-
}
|
|
48296
|
-
get [params]() {
|
|
48297
|
-
return [
|
|
48298
|
-
[this.stories, _TypeUserStories, "UserStories"],
|
|
48299
|
-
[this.users, [_TypeUser], "Vector<User>"],
|
|
48300
|
-
];
|
|
48301
|
-
}
|
|
48302
|
-
constructor(params) {
|
|
48303
|
-
super();
|
|
48304
|
-
Object.defineProperty(this, "stories", {
|
|
49412
|
+
Object.defineProperty(this, "chats", {
|
|
48305
49413
|
enumerable: true,
|
|
48306
49414
|
configurable: true,
|
|
48307
49415
|
writable: true,
|
|
@@ -48313,7 +49421,9 @@ export class StoriesUserStories extends _TypeStoriesUserStories {
|
|
|
48313
49421
|
writable: true,
|
|
48314
49422
|
value: void 0
|
|
48315
49423
|
});
|
|
49424
|
+
this.count = params.count;
|
|
48316
49425
|
this.stories = params.stories;
|
|
49426
|
+
this.chats = params.chats;
|
|
48317
49427
|
this.users = params.users;
|
|
48318
49428
|
}
|
|
48319
49429
|
}
|
|
@@ -48479,13 +49589,16 @@ export class StoriesStoryViews extends _TypeStoriesStoryViews {
|
|
|
48479
49589
|
}
|
|
48480
49590
|
export class InputReplyToMessage extends _TypeInputReplyTo {
|
|
48481
49591
|
get [id]() {
|
|
48482
|
-
return
|
|
49592
|
+
return 0x073EC805;
|
|
48483
49593
|
}
|
|
48484
49594
|
static get [paramDesc]() {
|
|
48485
49595
|
return [
|
|
48486
49596
|
["flags", flags, "#"],
|
|
48487
49597
|
["replyToMsgId", "number", "int"],
|
|
48488
49598
|
["topMsgId", "number", "flags.0?int"],
|
|
49599
|
+
["replyToPeerId", _TypeInputPeer, "flags.1?InputPeer"],
|
|
49600
|
+
["quoteText", "string", "flags.2?string"],
|
|
49601
|
+
["quoteEntities", [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
48489
49602
|
];
|
|
48490
49603
|
}
|
|
48491
49604
|
get [params]() {
|
|
@@ -48493,6 +49606,9 @@ export class InputReplyToMessage extends _TypeInputReplyTo {
|
|
|
48493
49606
|
["flags", flags, "#"],
|
|
48494
49607
|
[this.replyToMsgId, "number", "int"],
|
|
48495
49608
|
[this.topMsgId ?? null, "number", "flags.0?int"],
|
|
49609
|
+
[this.replyToPeerId ?? null, _TypeInputPeer, "flags.1?InputPeer"],
|
|
49610
|
+
[this.quoteText ?? null, "string", "flags.2?string"],
|
|
49611
|
+
[this.quoteEntities ?? null, [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
48496
49612
|
];
|
|
48497
49613
|
}
|
|
48498
49614
|
constructor(params) {
|
|
@@ -48509,8 +49625,29 @@ export class InputReplyToMessage extends _TypeInputReplyTo {
|
|
|
48509
49625
|
writable: true,
|
|
48510
49626
|
value: void 0
|
|
48511
49627
|
});
|
|
49628
|
+
Object.defineProperty(this, "replyToPeerId", {
|
|
49629
|
+
enumerable: true,
|
|
49630
|
+
configurable: true,
|
|
49631
|
+
writable: true,
|
|
49632
|
+
value: void 0
|
|
49633
|
+
});
|
|
49634
|
+
Object.defineProperty(this, "quoteText", {
|
|
49635
|
+
enumerable: true,
|
|
49636
|
+
configurable: true,
|
|
49637
|
+
writable: true,
|
|
49638
|
+
value: void 0
|
|
49639
|
+
});
|
|
49640
|
+
Object.defineProperty(this, "quoteEntities", {
|
|
49641
|
+
enumerable: true,
|
|
49642
|
+
configurable: true,
|
|
49643
|
+
writable: true,
|
|
49644
|
+
value: void 0
|
|
49645
|
+
});
|
|
48512
49646
|
this.replyToMsgId = params.replyToMsgId;
|
|
48513
49647
|
this.topMsgId = params.topMsgId;
|
|
49648
|
+
this.replyToPeerId = params.replyToPeerId;
|
|
49649
|
+
this.quoteText = params.quoteText;
|
|
49650
|
+
this.quoteEntities = params.quoteEntities;
|
|
48514
49651
|
}
|
|
48515
49652
|
}
|
|
48516
49653
|
export class InputReplyToStory extends _TypeInputReplyTo {
|
|
@@ -48825,6 +49962,943 @@ export class MediaAreaGeoPoint extends _TypeMediaArea {
|
|
|
48825
49962
|
this.geo = params.geo;
|
|
48826
49963
|
}
|
|
48827
49964
|
}
|
|
49965
|
+
export class MediaAreaSuggestedReaction extends _TypeMediaArea {
|
|
49966
|
+
get [id]() {
|
|
49967
|
+
return 0x14455871;
|
|
49968
|
+
}
|
|
49969
|
+
static get [paramDesc]() {
|
|
49970
|
+
return [
|
|
49971
|
+
["flags", flags, "#"],
|
|
49972
|
+
["dark", "true", "flags.0?true"],
|
|
49973
|
+
["flipped", "true", "flags.1?true"],
|
|
49974
|
+
["coordinates", _TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
49975
|
+
["reaction", _TypeReaction, "Reaction"],
|
|
49976
|
+
];
|
|
49977
|
+
}
|
|
49978
|
+
get [params]() {
|
|
49979
|
+
return [
|
|
49980
|
+
["flags", flags, "#"],
|
|
49981
|
+
[this.dark ?? null, "true", "flags.0?true"],
|
|
49982
|
+
[this.flipped ?? null, "true", "flags.1?true"],
|
|
49983
|
+
[this.coordinates, _TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
49984
|
+
[this.reaction, _TypeReaction, "Reaction"],
|
|
49985
|
+
];
|
|
49986
|
+
}
|
|
49987
|
+
constructor(params) {
|
|
49988
|
+
super();
|
|
49989
|
+
Object.defineProperty(this, "dark", {
|
|
49990
|
+
enumerable: true,
|
|
49991
|
+
configurable: true,
|
|
49992
|
+
writable: true,
|
|
49993
|
+
value: void 0
|
|
49994
|
+
});
|
|
49995
|
+
Object.defineProperty(this, "flipped", {
|
|
49996
|
+
enumerable: true,
|
|
49997
|
+
configurable: true,
|
|
49998
|
+
writable: true,
|
|
49999
|
+
value: void 0
|
|
50000
|
+
});
|
|
50001
|
+
Object.defineProperty(this, "coordinates", {
|
|
50002
|
+
enumerable: true,
|
|
50003
|
+
configurable: true,
|
|
50004
|
+
writable: true,
|
|
50005
|
+
value: void 0
|
|
50006
|
+
});
|
|
50007
|
+
Object.defineProperty(this, "reaction", {
|
|
50008
|
+
enumerable: true,
|
|
50009
|
+
configurable: true,
|
|
50010
|
+
writable: true,
|
|
50011
|
+
value: void 0
|
|
50012
|
+
});
|
|
50013
|
+
this.dark = params.dark;
|
|
50014
|
+
this.flipped = params.flipped;
|
|
50015
|
+
this.coordinates = params.coordinates;
|
|
50016
|
+
this.reaction = params.reaction;
|
|
50017
|
+
}
|
|
50018
|
+
}
|
|
50019
|
+
export class PeerStories extends _TypePeerStories {
|
|
50020
|
+
get [id]() {
|
|
50021
|
+
return 0x9A35E999;
|
|
50022
|
+
}
|
|
50023
|
+
static get [paramDesc]() {
|
|
50024
|
+
return [
|
|
50025
|
+
["flags", flags, "#"],
|
|
50026
|
+
["peer", _TypePeer, "Peer"],
|
|
50027
|
+
["maxReadId", "number", "flags.0?int"],
|
|
50028
|
+
["stories", [_TypeStoryItem], "Vector<StoryItem>"],
|
|
50029
|
+
];
|
|
50030
|
+
}
|
|
50031
|
+
get [params]() {
|
|
50032
|
+
return [
|
|
50033
|
+
["flags", flags, "#"],
|
|
50034
|
+
[this.peer, _TypePeer, "Peer"],
|
|
50035
|
+
[this.maxReadId ?? null, "number", "flags.0?int"],
|
|
50036
|
+
[this.stories, [_TypeStoryItem], "Vector<StoryItem>"],
|
|
50037
|
+
];
|
|
50038
|
+
}
|
|
50039
|
+
constructor(params) {
|
|
50040
|
+
super();
|
|
50041
|
+
Object.defineProperty(this, "peer", {
|
|
50042
|
+
enumerable: true,
|
|
50043
|
+
configurable: true,
|
|
50044
|
+
writable: true,
|
|
50045
|
+
value: void 0
|
|
50046
|
+
});
|
|
50047
|
+
Object.defineProperty(this, "maxReadId", {
|
|
50048
|
+
enumerable: true,
|
|
50049
|
+
configurable: true,
|
|
50050
|
+
writable: true,
|
|
50051
|
+
value: void 0
|
|
50052
|
+
});
|
|
50053
|
+
Object.defineProperty(this, "stories", {
|
|
50054
|
+
enumerable: true,
|
|
50055
|
+
configurable: true,
|
|
50056
|
+
writable: true,
|
|
50057
|
+
value: void 0
|
|
50058
|
+
});
|
|
50059
|
+
this.peer = params.peer;
|
|
50060
|
+
this.maxReadId = params.maxReadId;
|
|
50061
|
+
this.stories = params.stories;
|
|
50062
|
+
}
|
|
50063
|
+
}
|
|
50064
|
+
export class StoriesPeerStories extends _TypeStoriesPeerStories {
|
|
50065
|
+
get [id]() {
|
|
50066
|
+
return 0xCAE68768;
|
|
50067
|
+
}
|
|
50068
|
+
static get [paramDesc]() {
|
|
50069
|
+
return [
|
|
50070
|
+
["stories", _TypePeerStories, "PeerStories"],
|
|
50071
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
50072
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
50073
|
+
];
|
|
50074
|
+
}
|
|
50075
|
+
get [params]() {
|
|
50076
|
+
return [
|
|
50077
|
+
[this.stories, _TypePeerStories, "PeerStories"],
|
|
50078
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
50079
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
50080
|
+
];
|
|
50081
|
+
}
|
|
50082
|
+
constructor(params) {
|
|
50083
|
+
super();
|
|
50084
|
+
Object.defineProperty(this, "stories", {
|
|
50085
|
+
enumerable: true,
|
|
50086
|
+
configurable: true,
|
|
50087
|
+
writable: true,
|
|
50088
|
+
value: void 0
|
|
50089
|
+
});
|
|
50090
|
+
Object.defineProperty(this, "chats", {
|
|
50091
|
+
enumerable: true,
|
|
50092
|
+
configurable: true,
|
|
50093
|
+
writable: true,
|
|
50094
|
+
value: void 0
|
|
50095
|
+
});
|
|
50096
|
+
Object.defineProperty(this, "users", {
|
|
50097
|
+
enumerable: true,
|
|
50098
|
+
configurable: true,
|
|
50099
|
+
writable: true,
|
|
50100
|
+
value: void 0
|
|
50101
|
+
});
|
|
50102
|
+
this.stories = params.stories;
|
|
50103
|
+
this.chats = params.chats;
|
|
50104
|
+
this.users = params.users;
|
|
50105
|
+
}
|
|
50106
|
+
}
|
|
50107
|
+
export class MessagesWebPage extends _TypeMessagesWebPage {
|
|
50108
|
+
get [id]() {
|
|
50109
|
+
return 0xFD5E12BD;
|
|
50110
|
+
}
|
|
50111
|
+
static get [paramDesc]() {
|
|
50112
|
+
return [
|
|
50113
|
+
["webpage", _TypeWebPage, "WebPage"],
|
|
50114
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
50115
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
50116
|
+
];
|
|
50117
|
+
}
|
|
50118
|
+
get [params]() {
|
|
50119
|
+
return [
|
|
50120
|
+
[this.webpage, _TypeWebPage, "WebPage"],
|
|
50121
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
50122
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
50123
|
+
];
|
|
50124
|
+
}
|
|
50125
|
+
constructor(params) {
|
|
50126
|
+
super();
|
|
50127
|
+
Object.defineProperty(this, "webpage", {
|
|
50128
|
+
enumerable: true,
|
|
50129
|
+
configurable: true,
|
|
50130
|
+
writable: true,
|
|
50131
|
+
value: void 0
|
|
50132
|
+
});
|
|
50133
|
+
Object.defineProperty(this, "chats", {
|
|
50134
|
+
enumerable: true,
|
|
50135
|
+
configurable: true,
|
|
50136
|
+
writable: true,
|
|
50137
|
+
value: void 0
|
|
50138
|
+
});
|
|
50139
|
+
Object.defineProperty(this, "users", {
|
|
50140
|
+
enumerable: true,
|
|
50141
|
+
configurable: true,
|
|
50142
|
+
writable: true,
|
|
50143
|
+
value: void 0
|
|
50144
|
+
});
|
|
50145
|
+
this.webpage = params.webpage;
|
|
50146
|
+
this.chats = params.chats;
|
|
50147
|
+
this.users = params.users;
|
|
50148
|
+
}
|
|
50149
|
+
}
|
|
50150
|
+
export class PremiumGiftCodeOption extends _TypePremiumGiftCodeOption {
|
|
50151
|
+
get [id]() {
|
|
50152
|
+
return 0x257E962B;
|
|
50153
|
+
}
|
|
50154
|
+
static get [paramDesc]() {
|
|
50155
|
+
return [
|
|
50156
|
+
["flags", flags, "#"],
|
|
50157
|
+
["users", "number", "int"],
|
|
50158
|
+
["months", "number", "int"],
|
|
50159
|
+
["storeProduct", "string", "flags.0?string"],
|
|
50160
|
+
["storeQuantity", "number", "flags.1?int"],
|
|
50161
|
+
["currency", "string", "string"],
|
|
50162
|
+
["amount", "bigint", "long"],
|
|
50163
|
+
];
|
|
50164
|
+
}
|
|
50165
|
+
get [params]() {
|
|
50166
|
+
return [
|
|
50167
|
+
["flags", flags, "#"],
|
|
50168
|
+
[this.users, "number", "int"],
|
|
50169
|
+
[this.months, "number", "int"],
|
|
50170
|
+
[this.storeProduct ?? null, "string", "flags.0?string"],
|
|
50171
|
+
[this.storeQuantity ?? null, "number", "flags.1?int"],
|
|
50172
|
+
[this.currency, "string", "string"],
|
|
50173
|
+
[this.amount, "bigint", "long"],
|
|
50174
|
+
];
|
|
50175
|
+
}
|
|
50176
|
+
constructor(params) {
|
|
50177
|
+
super();
|
|
50178
|
+
Object.defineProperty(this, "users", {
|
|
50179
|
+
enumerable: true,
|
|
50180
|
+
configurable: true,
|
|
50181
|
+
writable: true,
|
|
50182
|
+
value: void 0
|
|
50183
|
+
});
|
|
50184
|
+
Object.defineProperty(this, "months", {
|
|
50185
|
+
enumerable: true,
|
|
50186
|
+
configurable: true,
|
|
50187
|
+
writable: true,
|
|
50188
|
+
value: void 0
|
|
50189
|
+
});
|
|
50190
|
+
Object.defineProperty(this, "storeProduct", {
|
|
50191
|
+
enumerable: true,
|
|
50192
|
+
configurable: true,
|
|
50193
|
+
writable: true,
|
|
50194
|
+
value: void 0
|
|
50195
|
+
});
|
|
50196
|
+
Object.defineProperty(this, "storeQuantity", {
|
|
50197
|
+
enumerable: true,
|
|
50198
|
+
configurable: true,
|
|
50199
|
+
writable: true,
|
|
50200
|
+
value: void 0
|
|
50201
|
+
});
|
|
50202
|
+
Object.defineProperty(this, "currency", {
|
|
50203
|
+
enumerable: true,
|
|
50204
|
+
configurable: true,
|
|
50205
|
+
writable: true,
|
|
50206
|
+
value: void 0
|
|
50207
|
+
});
|
|
50208
|
+
Object.defineProperty(this, "amount", {
|
|
50209
|
+
enumerable: true,
|
|
50210
|
+
configurable: true,
|
|
50211
|
+
writable: true,
|
|
50212
|
+
value: void 0
|
|
50213
|
+
});
|
|
50214
|
+
this.users = params.users;
|
|
50215
|
+
this.months = params.months;
|
|
50216
|
+
this.storeProduct = params.storeProduct;
|
|
50217
|
+
this.storeQuantity = params.storeQuantity;
|
|
50218
|
+
this.currency = params.currency;
|
|
50219
|
+
this.amount = params.amount;
|
|
50220
|
+
}
|
|
50221
|
+
}
|
|
50222
|
+
export class PaymentsCheckedGiftCode extends _TypePaymentsCheckedGiftCode {
|
|
50223
|
+
get [id]() {
|
|
50224
|
+
return 0xB722F158;
|
|
50225
|
+
}
|
|
50226
|
+
static get [paramDesc]() {
|
|
50227
|
+
return [
|
|
50228
|
+
["flags", flags, "#"],
|
|
50229
|
+
["viaGiveaway", "true", "flags.2?true"],
|
|
50230
|
+
["fromId", _TypePeer, "Peer"],
|
|
50231
|
+
["giveawayMsgId", "number", "flags.3?int"],
|
|
50232
|
+
["toId", "bigint", "flags.0?long"],
|
|
50233
|
+
["date", "number", "int"],
|
|
50234
|
+
["months", "number", "int"],
|
|
50235
|
+
["usedDate", "number", "flags.1?int"],
|
|
50236
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
50237
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
50238
|
+
];
|
|
50239
|
+
}
|
|
50240
|
+
get [params]() {
|
|
50241
|
+
return [
|
|
50242
|
+
["flags", flags, "#"],
|
|
50243
|
+
[this.viaGiveaway ?? null, "true", "flags.2?true"],
|
|
50244
|
+
[this.fromId, _TypePeer, "Peer"],
|
|
50245
|
+
[this.giveawayMsgId ?? null, "number", "flags.3?int"],
|
|
50246
|
+
[this.toId ?? null, "bigint", "flags.0?long"],
|
|
50247
|
+
[this.date, "number", "int"],
|
|
50248
|
+
[this.months, "number", "int"],
|
|
50249
|
+
[this.usedDate ?? null, "number", "flags.1?int"],
|
|
50250
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
50251
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
50252
|
+
];
|
|
50253
|
+
}
|
|
50254
|
+
constructor(params) {
|
|
50255
|
+
super();
|
|
50256
|
+
Object.defineProperty(this, "viaGiveaway", {
|
|
50257
|
+
enumerable: true,
|
|
50258
|
+
configurable: true,
|
|
50259
|
+
writable: true,
|
|
50260
|
+
value: void 0
|
|
50261
|
+
});
|
|
50262
|
+
Object.defineProperty(this, "fromId", {
|
|
50263
|
+
enumerable: true,
|
|
50264
|
+
configurable: true,
|
|
50265
|
+
writable: true,
|
|
50266
|
+
value: void 0
|
|
50267
|
+
});
|
|
50268
|
+
Object.defineProperty(this, "giveawayMsgId", {
|
|
50269
|
+
enumerable: true,
|
|
50270
|
+
configurable: true,
|
|
50271
|
+
writable: true,
|
|
50272
|
+
value: void 0
|
|
50273
|
+
});
|
|
50274
|
+
Object.defineProperty(this, "toId", {
|
|
50275
|
+
enumerable: true,
|
|
50276
|
+
configurable: true,
|
|
50277
|
+
writable: true,
|
|
50278
|
+
value: void 0
|
|
50279
|
+
});
|
|
50280
|
+
Object.defineProperty(this, "date", {
|
|
50281
|
+
enumerable: true,
|
|
50282
|
+
configurable: true,
|
|
50283
|
+
writable: true,
|
|
50284
|
+
value: void 0
|
|
50285
|
+
});
|
|
50286
|
+
Object.defineProperty(this, "months", {
|
|
50287
|
+
enumerable: true,
|
|
50288
|
+
configurable: true,
|
|
50289
|
+
writable: true,
|
|
50290
|
+
value: void 0
|
|
50291
|
+
});
|
|
50292
|
+
Object.defineProperty(this, "usedDate", {
|
|
50293
|
+
enumerable: true,
|
|
50294
|
+
configurable: true,
|
|
50295
|
+
writable: true,
|
|
50296
|
+
value: void 0
|
|
50297
|
+
});
|
|
50298
|
+
Object.defineProperty(this, "chats", {
|
|
50299
|
+
enumerable: true,
|
|
50300
|
+
configurable: true,
|
|
50301
|
+
writable: true,
|
|
50302
|
+
value: void 0
|
|
50303
|
+
});
|
|
50304
|
+
Object.defineProperty(this, "users", {
|
|
50305
|
+
enumerable: true,
|
|
50306
|
+
configurable: true,
|
|
50307
|
+
writable: true,
|
|
50308
|
+
value: void 0
|
|
50309
|
+
});
|
|
50310
|
+
this.viaGiveaway = params.viaGiveaway;
|
|
50311
|
+
this.fromId = params.fromId;
|
|
50312
|
+
this.giveawayMsgId = params.giveawayMsgId;
|
|
50313
|
+
this.toId = params.toId;
|
|
50314
|
+
this.date = params.date;
|
|
50315
|
+
this.months = params.months;
|
|
50316
|
+
this.usedDate = params.usedDate;
|
|
50317
|
+
this.chats = params.chats;
|
|
50318
|
+
this.users = params.users;
|
|
50319
|
+
}
|
|
50320
|
+
}
|
|
50321
|
+
export class PaymentsGiveawayInfo extends _TypePaymentsGiveawayInfo {
|
|
50322
|
+
get [id]() {
|
|
50323
|
+
return 0x4367DAA0;
|
|
50324
|
+
}
|
|
50325
|
+
static get [paramDesc]() {
|
|
50326
|
+
return [
|
|
50327
|
+
["flags", flags, "#"],
|
|
50328
|
+
["participating", "true", "flags.0?true"],
|
|
50329
|
+
["preparingResults", "true", "flags.3?true"],
|
|
50330
|
+
["startDate", "number", "int"],
|
|
50331
|
+
["joinedTooEarlyDate", "number", "flags.1?int"],
|
|
50332
|
+
["adminDisallowedChatId", "bigint", "flags.2?long"],
|
|
50333
|
+
["disallowedCountry", "string", "flags.4?string"],
|
|
50334
|
+
];
|
|
50335
|
+
}
|
|
50336
|
+
get [params]() {
|
|
50337
|
+
return [
|
|
50338
|
+
["flags", flags, "#"],
|
|
50339
|
+
[this.participating ?? null, "true", "flags.0?true"],
|
|
50340
|
+
[this.preparingResults ?? null, "true", "flags.3?true"],
|
|
50341
|
+
[this.startDate, "number", "int"],
|
|
50342
|
+
[this.joinedTooEarlyDate ?? null, "number", "flags.1?int"],
|
|
50343
|
+
[this.adminDisallowedChatId ?? null, "bigint", "flags.2?long"],
|
|
50344
|
+
[this.disallowedCountry ?? null, "string", "flags.4?string"],
|
|
50345
|
+
];
|
|
50346
|
+
}
|
|
50347
|
+
constructor(params) {
|
|
50348
|
+
super();
|
|
50349
|
+
Object.defineProperty(this, "participating", {
|
|
50350
|
+
enumerable: true,
|
|
50351
|
+
configurable: true,
|
|
50352
|
+
writable: true,
|
|
50353
|
+
value: void 0
|
|
50354
|
+
});
|
|
50355
|
+
Object.defineProperty(this, "preparingResults", {
|
|
50356
|
+
enumerable: true,
|
|
50357
|
+
configurable: true,
|
|
50358
|
+
writable: true,
|
|
50359
|
+
value: void 0
|
|
50360
|
+
});
|
|
50361
|
+
Object.defineProperty(this, "startDate", {
|
|
50362
|
+
enumerable: true,
|
|
50363
|
+
configurable: true,
|
|
50364
|
+
writable: true,
|
|
50365
|
+
value: void 0
|
|
50366
|
+
});
|
|
50367
|
+
Object.defineProperty(this, "joinedTooEarlyDate", {
|
|
50368
|
+
enumerable: true,
|
|
50369
|
+
configurable: true,
|
|
50370
|
+
writable: true,
|
|
50371
|
+
value: void 0
|
|
50372
|
+
});
|
|
50373
|
+
Object.defineProperty(this, "adminDisallowedChatId", {
|
|
50374
|
+
enumerable: true,
|
|
50375
|
+
configurable: true,
|
|
50376
|
+
writable: true,
|
|
50377
|
+
value: void 0
|
|
50378
|
+
});
|
|
50379
|
+
Object.defineProperty(this, "disallowedCountry", {
|
|
50380
|
+
enumerable: true,
|
|
50381
|
+
configurable: true,
|
|
50382
|
+
writable: true,
|
|
50383
|
+
value: void 0
|
|
50384
|
+
});
|
|
50385
|
+
this.participating = params.participating;
|
|
50386
|
+
this.preparingResults = params.preparingResults;
|
|
50387
|
+
this.startDate = params.startDate;
|
|
50388
|
+
this.joinedTooEarlyDate = params.joinedTooEarlyDate;
|
|
50389
|
+
this.adminDisallowedChatId = params.adminDisallowedChatId;
|
|
50390
|
+
this.disallowedCountry = params.disallowedCountry;
|
|
50391
|
+
}
|
|
50392
|
+
}
|
|
50393
|
+
export class PaymentsGiveawayInfoResults extends _TypePaymentsGiveawayInfo {
|
|
50394
|
+
get [id]() {
|
|
50395
|
+
return 0x00CD5570;
|
|
50396
|
+
}
|
|
50397
|
+
static get [paramDesc]() {
|
|
50398
|
+
return [
|
|
50399
|
+
["flags", flags, "#"],
|
|
50400
|
+
["winner", "true", "flags.0?true"],
|
|
50401
|
+
["refunded", "true", "flags.1?true"],
|
|
50402
|
+
["startDate", "number", "int"],
|
|
50403
|
+
["giftCodeSlug", "string", "flags.0?string"],
|
|
50404
|
+
["finishDate", "number", "int"],
|
|
50405
|
+
["winnersCount", "number", "int"],
|
|
50406
|
+
["activatedCount", "number", "int"],
|
|
50407
|
+
];
|
|
50408
|
+
}
|
|
50409
|
+
get [params]() {
|
|
50410
|
+
return [
|
|
50411
|
+
["flags", flags, "#"],
|
|
50412
|
+
[this.winner ?? null, "true", "flags.0?true"],
|
|
50413
|
+
[this.refunded ?? null, "true", "flags.1?true"],
|
|
50414
|
+
[this.startDate, "number", "int"],
|
|
50415
|
+
[this.giftCodeSlug ?? null, "string", "flags.0?string"],
|
|
50416
|
+
[this.finishDate, "number", "int"],
|
|
50417
|
+
[this.winnersCount, "number", "int"],
|
|
50418
|
+
[this.activatedCount, "number", "int"],
|
|
50419
|
+
];
|
|
50420
|
+
}
|
|
50421
|
+
constructor(params) {
|
|
50422
|
+
super();
|
|
50423
|
+
Object.defineProperty(this, "winner", {
|
|
50424
|
+
enumerable: true,
|
|
50425
|
+
configurable: true,
|
|
50426
|
+
writable: true,
|
|
50427
|
+
value: void 0
|
|
50428
|
+
});
|
|
50429
|
+
Object.defineProperty(this, "refunded", {
|
|
50430
|
+
enumerable: true,
|
|
50431
|
+
configurable: true,
|
|
50432
|
+
writable: true,
|
|
50433
|
+
value: void 0
|
|
50434
|
+
});
|
|
50435
|
+
Object.defineProperty(this, "startDate", {
|
|
50436
|
+
enumerable: true,
|
|
50437
|
+
configurable: true,
|
|
50438
|
+
writable: true,
|
|
50439
|
+
value: void 0
|
|
50440
|
+
});
|
|
50441
|
+
Object.defineProperty(this, "giftCodeSlug", {
|
|
50442
|
+
enumerable: true,
|
|
50443
|
+
configurable: true,
|
|
50444
|
+
writable: true,
|
|
50445
|
+
value: void 0
|
|
50446
|
+
});
|
|
50447
|
+
Object.defineProperty(this, "finishDate", {
|
|
50448
|
+
enumerable: true,
|
|
50449
|
+
configurable: true,
|
|
50450
|
+
writable: true,
|
|
50451
|
+
value: void 0
|
|
50452
|
+
});
|
|
50453
|
+
Object.defineProperty(this, "winnersCount", {
|
|
50454
|
+
enumerable: true,
|
|
50455
|
+
configurable: true,
|
|
50456
|
+
writable: true,
|
|
50457
|
+
value: void 0
|
|
50458
|
+
});
|
|
50459
|
+
Object.defineProperty(this, "activatedCount", {
|
|
50460
|
+
enumerable: true,
|
|
50461
|
+
configurable: true,
|
|
50462
|
+
writable: true,
|
|
50463
|
+
value: void 0
|
|
50464
|
+
});
|
|
50465
|
+
this.winner = params.winner;
|
|
50466
|
+
this.refunded = params.refunded;
|
|
50467
|
+
this.startDate = params.startDate;
|
|
50468
|
+
this.giftCodeSlug = params.giftCodeSlug;
|
|
50469
|
+
this.finishDate = params.finishDate;
|
|
50470
|
+
this.winnersCount = params.winnersCount;
|
|
50471
|
+
this.activatedCount = params.activatedCount;
|
|
50472
|
+
}
|
|
50473
|
+
}
|
|
50474
|
+
export class PrepaidGiveaway extends _TypePrepaidGiveaway {
|
|
50475
|
+
get [id]() {
|
|
50476
|
+
return 0xB2539D54;
|
|
50477
|
+
}
|
|
50478
|
+
static get [paramDesc]() {
|
|
50479
|
+
return [
|
|
50480
|
+
["id", "bigint", "long"],
|
|
50481
|
+
["months", "number", "int"],
|
|
50482
|
+
["quantity", "number", "int"],
|
|
50483
|
+
["date", "number", "int"],
|
|
50484
|
+
];
|
|
50485
|
+
}
|
|
50486
|
+
get [params]() {
|
|
50487
|
+
return [
|
|
50488
|
+
[this.id, "bigint", "long"],
|
|
50489
|
+
[this.months, "number", "int"],
|
|
50490
|
+
[this.quantity, "number", "int"],
|
|
50491
|
+
[this.date, "number", "int"],
|
|
50492
|
+
];
|
|
50493
|
+
}
|
|
50494
|
+
constructor(params) {
|
|
50495
|
+
super();
|
|
50496
|
+
Object.defineProperty(this, "id", {
|
|
50497
|
+
enumerable: true,
|
|
50498
|
+
configurable: true,
|
|
50499
|
+
writable: true,
|
|
50500
|
+
value: void 0
|
|
50501
|
+
});
|
|
50502
|
+
Object.defineProperty(this, "months", {
|
|
50503
|
+
enumerable: true,
|
|
50504
|
+
configurable: true,
|
|
50505
|
+
writable: true,
|
|
50506
|
+
value: void 0
|
|
50507
|
+
});
|
|
50508
|
+
Object.defineProperty(this, "quantity", {
|
|
50509
|
+
enumerable: true,
|
|
50510
|
+
configurable: true,
|
|
50511
|
+
writable: true,
|
|
50512
|
+
value: void 0
|
|
50513
|
+
});
|
|
50514
|
+
Object.defineProperty(this, "date", {
|
|
50515
|
+
enumerable: true,
|
|
50516
|
+
configurable: true,
|
|
50517
|
+
writable: true,
|
|
50518
|
+
value: void 0
|
|
50519
|
+
});
|
|
50520
|
+
this.id = params.id;
|
|
50521
|
+
this.months = params.months;
|
|
50522
|
+
this.quantity = params.quantity;
|
|
50523
|
+
this.date = params.date;
|
|
50524
|
+
}
|
|
50525
|
+
}
|
|
50526
|
+
export class Boost extends _TypeBoost {
|
|
50527
|
+
get [id]() {
|
|
50528
|
+
return 0x2A1C8C71;
|
|
50529
|
+
}
|
|
50530
|
+
static get [paramDesc]() {
|
|
50531
|
+
return [
|
|
50532
|
+
["flags", flags, "#"],
|
|
50533
|
+
["gift", "true", "flags.1?true"],
|
|
50534
|
+
["giveaway", "true", "flags.2?true"],
|
|
50535
|
+
["unclaimed", "true", "flags.3?true"],
|
|
50536
|
+
["id", "string", "string"],
|
|
50537
|
+
["userId", "bigint", "flags.0?long"],
|
|
50538
|
+
["giveawayMsgId", "number", "flags.2?int"],
|
|
50539
|
+
["date", "number", "int"],
|
|
50540
|
+
["expires", "number", "int"],
|
|
50541
|
+
["usedGiftSlug", "string", "flags.4?string"],
|
|
50542
|
+
["multiplier", "number", "flags.5?int"],
|
|
50543
|
+
];
|
|
50544
|
+
}
|
|
50545
|
+
get [params]() {
|
|
50546
|
+
return [
|
|
50547
|
+
["flags", flags, "#"],
|
|
50548
|
+
[this.gift ?? null, "true", "flags.1?true"],
|
|
50549
|
+
[this.giveaway ?? null, "true", "flags.2?true"],
|
|
50550
|
+
[this.unclaimed ?? null, "true", "flags.3?true"],
|
|
50551
|
+
[this.id, "string", "string"],
|
|
50552
|
+
[this.userId ?? null, "bigint", "flags.0?long"],
|
|
50553
|
+
[this.giveawayMsgId ?? null, "number", "flags.2?int"],
|
|
50554
|
+
[this.date, "number", "int"],
|
|
50555
|
+
[this.expires, "number", "int"],
|
|
50556
|
+
[this.usedGiftSlug ?? null, "string", "flags.4?string"],
|
|
50557
|
+
[this.multiplier ?? null, "number", "flags.5?int"],
|
|
50558
|
+
];
|
|
50559
|
+
}
|
|
50560
|
+
constructor(params) {
|
|
50561
|
+
super();
|
|
50562
|
+
Object.defineProperty(this, "gift", {
|
|
50563
|
+
enumerable: true,
|
|
50564
|
+
configurable: true,
|
|
50565
|
+
writable: true,
|
|
50566
|
+
value: void 0
|
|
50567
|
+
});
|
|
50568
|
+
Object.defineProperty(this, "giveaway", {
|
|
50569
|
+
enumerable: true,
|
|
50570
|
+
configurable: true,
|
|
50571
|
+
writable: true,
|
|
50572
|
+
value: void 0
|
|
50573
|
+
});
|
|
50574
|
+
Object.defineProperty(this, "unclaimed", {
|
|
50575
|
+
enumerable: true,
|
|
50576
|
+
configurable: true,
|
|
50577
|
+
writable: true,
|
|
50578
|
+
value: void 0
|
|
50579
|
+
});
|
|
50580
|
+
Object.defineProperty(this, "id", {
|
|
50581
|
+
enumerable: true,
|
|
50582
|
+
configurable: true,
|
|
50583
|
+
writable: true,
|
|
50584
|
+
value: void 0
|
|
50585
|
+
});
|
|
50586
|
+
Object.defineProperty(this, "userId", {
|
|
50587
|
+
enumerable: true,
|
|
50588
|
+
configurable: true,
|
|
50589
|
+
writable: true,
|
|
50590
|
+
value: void 0
|
|
50591
|
+
});
|
|
50592
|
+
Object.defineProperty(this, "giveawayMsgId", {
|
|
50593
|
+
enumerable: true,
|
|
50594
|
+
configurable: true,
|
|
50595
|
+
writable: true,
|
|
50596
|
+
value: void 0
|
|
50597
|
+
});
|
|
50598
|
+
Object.defineProperty(this, "date", {
|
|
50599
|
+
enumerable: true,
|
|
50600
|
+
configurable: true,
|
|
50601
|
+
writable: true,
|
|
50602
|
+
value: void 0
|
|
50603
|
+
});
|
|
50604
|
+
Object.defineProperty(this, "expires", {
|
|
50605
|
+
enumerable: true,
|
|
50606
|
+
configurable: true,
|
|
50607
|
+
writable: true,
|
|
50608
|
+
value: void 0
|
|
50609
|
+
});
|
|
50610
|
+
Object.defineProperty(this, "usedGiftSlug", {
|
|
50611
|
+
enumerable: true,
|
|
50612
|
+
configurable: true,
|
|
50613
|
+
writable: true,
|
|
50614
|
+
value: void 0
|
|
50615
|
+
});
|
|
50616
|
+
Object.defineProperty(this, "multiplier", {
|
|
50617
|
+
enumerable: true,
|
|
50618
|
+
configurable: true,
|
|
50619
|
+
writable: true,
|
|
50620
|
+
value: void 0
|
|
50621
|
+
});
|
|
50622
|
+
this.gift = params.gift;
|
|
50623
|
+
this.giveaway = params.giveaway;
|
|
50624
|
+
this.unclaimed = params.unclaimed;
|
|
50625
|
+
this.id = params.id;
|
|
50626
|
+
this.userId = params.userId;
|
|
50627
|
+
this.giveawayMsgId = params.giveawayMsgId;
|
|
50628
|
+
this.date = params.date;
|
|
50629
|
+
this.expires = params.expires;
|
|
50630
|
+
this.usedGiftSlug = params.usedGiftSlug;
|
|
50631
|
+
this.multiplier = params.multiplier;
|
|
50632
|
+
}
|
|
50633
|
+
}
|
|
50634
|
+
export class PremiumBoostsList extends _TypePremiumBoostsList {
|
|
50635
|
+
get [id]() {
|
|
50636
|
+
return 0x86F8613C;
|
|
50637
|
+
}
|
|
50638
|
+
static get [paramDesc]() {
|
|
50639
|
+
return [
|
|
50640
|
+
["flags", flags, "#"],
|
|
50641
|
+
["count", "number", "int"],
|
|
50642
|
+
["boosts", [_TypeBoost], "Vector<Boost>"],
|
|
50643
|
+
["nextOffset", "string", "flags.0?string"],
|
|
50644
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
50645
|
+
];
|
|
50646
|
+
}
|
|
50647
|
+
get [params]() {
|
|
50648
|
+
return [
|
|
50649
|
+
["flags", flags, "#"],
|
|
50650
|
+
[this.count, "number", "int"],
|
|
50651
|
+
[this.boosts, [_TypeBoost], "Vector<Boost>"],
|
|
50652
|
+
[this.nextOffset ?? null, "string", "flags.0?string"],
|
|
50653
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
50654
|
+
];
|
|
50655
|
+
}
|
|
50656
|
+
constructor(params) {
|
|
50657
|
+
super();
|
|
50658
|
+
Object.defineProperty(this, "count", {
|
|
50659
|
+
enumerable: true,
|
|
50660
|
+
configurable: true,
|
|
50661
|
+
writable: true,
|
|
50662
|
+
value: void 0
|
|
50663
|
+
});
|
|
50664
|
+
Object.defineProperty(this, "boosts", {
|
|
50665
|
+
enumerable: true,
|
|
50666
|
+
configurable: true,
|
|
50667
|
+
writable: true,
|
|
50668
|
+
value: void 0
|
|
50669
|
+
});
|
|
50670
|
+
Object.defineProperty(this, "nextOffset", {
|
|
50671
|
+
enumerable: true,
|
|
50672
|
+
configurable: true,
|
|
50673
|
+
writable: true,
|
|
50674
|
+
value: void 0
|
|
50675
|
+
});
|
|
50676
|
+
Object.defineProperty(this, "users", {
|
|
50677
|
+
enumerable: true,
|
|
50678
|
+
configurable: true,
|
|
50679
|
+
writable: true,
|
|
50680
|
+
value: void 0
|
|
50681
|
+
});
|
|
50682
|
+
this.count = params.count;
|
|
50683
|
+
this.boosts = params.boosts;
|
|
50684
|
+
this.nextOffset = params.nextOffset;
|
|
50685
|
+
this.users = params.users;
|
|
50686
|
+
}
|
|
50687
|
+
}
|
|
50688
|
+
export class MyBoost extends _TypeMyBoost {
|
|
50689
|
+
get [id]() {
|
|
50690
|
+
return 0xC448415C;
|
|
50691
|
+
}
|
|
50692
|
+
static get [paramDesc]() {
|
|
50693
|
+
return [
|
|
50694
|
+
["flags", flags, "#"],
|
|
50695
|
+
["slot", "number", "int"],
|
|
50696
|
+
["peer", _TypePeer, "flags.0?Peer"],
|
|
50697
|
+
["date", "number", "int"],
|
|
50698
|
+
["expires", "number", "int"],
|
|
50699
|
+
["cooldownUntilDate", "number", "flags.1?int"],
|
|
50700
|
+
];
|
|
50701
|
+
}
|
|
50702
|
+
get [params]() {
|
|
50703
|
+
return [
|
|
50704
|
+
["flags", flags, "#"],
|
|
50705
|
+
[this.slot, "number", "int"],
|
|
50706
|
+
[this.peer ?? null, _TypePeer, "flags.0?Peer"],
|
|
50707
|
+
[this.date, "number", "int"],
|
|
50708
|
+
[this.expires, "number", "int"],
|
|
50709
|
+
[this.cooldownUntilDate ?? null, "number", "flags.1?int"],
|
|
50710
|
+
];
|
|
50711
|
+
}
|
|
50712
|
+
constructor(params) {
|
|
50713
|
+
super();
|
|
50714
|
+
Object.defineProperty(this, "slot", {
|
|
50715
|
+
enumerable: true,
|
|
50716
|
+
configurable: true,
|
|
50717
|
+
writable: true,
|
|
50718
|
+
value: void 0
|
|
50719
|
+
});
|
|
50720
|
+
Object.defineProperty(this, "peer", {
|
|
50721
|
+
enumerable: true,
|
|
50722
|
+
configurable: true,
|
|
50723
|
+
writable: true,
|
|
50724
|
+
value: void 0
|
|
50725
|
+
});
|
|
50726
|
+
Object.defineProperty(this, "date", {
|
|
50727
|
+
enumerable: true,
|
|
50728
|
+
configurable: true,
|
|
50729
|
+
writable: true,
|
|
50730
|
+
value: void 0
|
|
50731
|
+
});
|
|
50732
|
+
Object.defineProperty(this, "expires", {
|
|
50733
|
+
enumerable: true,
|
|
50734
|
+
configurable: true,
|
|
50735
|
+
writable: true,
|
|
50736
|
+
value: void 0
|
|
50737
|
+
});
|
|
50738
|
+
Object.defineProperty(this, "cooldownUntilDate", {
|
|
50739
|
+
enumerable: true,
|
|
50740
|
+
configurable: true,
|
|
50741
|
+
writable: true,
|
|
50742
|
+
value: void 0
|
|
50743
|
+
});
|
|
50744
|
+
this.slot = params.slot;
|
|
50745
|
+
this.peer = params.peer;
|
|
50746
|
+
this.date = params.date;
|
|
50747
|
+
this.expires = params.expires;
|
|
50748
|
+
this.cooldownUntilDate = params.cooldownUntilDate;
|
|
50749
|
+
}
|
|
50750
|
+
}
|
|
50751
|
+
export class PremiumMyBoosts extends _TypePremiumMyBoosts {
|
|
50752
|
+
get [id]() {
|
|
50753
|
+
return 0x9AE228E2;
|
|
50754
|
+
}
|
|
50755
|
+
static get [paramDesc]() {
|
|
50756
|
+
return [
|
|
50757
|
+
["myBoosts", [_TypeMyBoost], "Vector<MyBoost>"],
|
|
50758
|
+
["chats", [_TypeChat], "Vector<Chat>"],
|
|
50759
|
+
["users", [_TypeUser], "Vector<User>"],
|
|
50760
|
+
];
|
|
50761
|
+
}
|
|
50762
|
+
get [params]() {
|
|
50763
|
+
return [
|
|
50764
|
+
[this.myBoosts, [_TypeMyBoost], "Vector<MyBoost>"],
|
|
50765
|
+
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
50766
|
+
[this.users, [_TypeUser], "Vector<User>"],
|
|
50767
|
+
];
|
|
50768
|
+
}
|
|
50769
|
+
constructor(params) {
|
|
50770
|
+
super();
|
|
50771
|
+
Object.defineProperty(this, "myBoosts", {
|
|
50772
|
+
enumerable: true,
|
|
50773
|
+
configurable: true,
|
|
50774
|
+
writable: true,
|
|
50775
|
+
value: void 0
|
|
50776
|
+
});
|
|
50777
|
+
Object.defineProperty(this, "chats", {
|
|
50778
|
+
enumerable: true,
|
|
50779
|
+
configurable: true,
|
|
50780
|
+
writable: true,
|
|
50781
|
+
value: void 0
|
|
50782
|
+
});
|
|
50783
|
+
Object.defineProperty(this, "users", {
|
|
50784
|
+
enumerable: true,
|
|
50785
|
+
configurable: true,
|
|
50786
|
+
writable: true,
|
|
50787
|
+
value: void 0
|
|
50788
|
+
});
|
|
50789
|
+
this.myBoosts = params.myBoosts;
|
|
50790
|
+
this.chats = params.chats;
|
|
50791
|
+
this.users = params.users;
|
|
50792
|
+
}
|
|
50793
|
+
}
|
|
50794
|
+
export class PremiumBoostsStatus extends _TypePremiumBoostsStatus {
|
|
50795
|
+
get [id]() {
|
|
50796
|
+
return 0x4959427A;
|
|
50797
|
+
}
|
|
50798
|
+
static get [paramDesc]() {
|
|
50799
|
+
return [
|
|
50800
|
+
["flags", flags, "#"],
|
|
50801
|
+
["myBoost", "true", "flags.2?true"],
|
|
50802
|
+
["level", "number", "int"],
|
|
50803
|
+
["currentLevelBoosts", "number", "int"],
|
|
50804
|
+
["boosts", "number", "int"],
|
|
50805
|
+
["giftBoosts", "number", "flags.4?int"],
|
|
50806
|
+
["nextLevelBoosts", "number", "flags.0?int"],
|
|
50807
|
+
["premiumAudience", _TypeStatsPercentValue, "flags.1?StatsPercentValue"],
|
|
50808
|
+
["boostUrl", "string", "string"],
|
|
50809
|
+
["prepaidGiveaways", [_TypePrepaidGiveaway], "flags.3?Vector<PrepaidGiveaway>"],
|
|
50810
|
+
["myBoostSlots", ["number"], "flags.2?Vector<int>"],
|
|
50811
|
+
];
|
|
50812
|
+
}
|
|
50813
|
+
get [params]() {
|
|
50814
|
+
return [
|
|
50815
|
+
["flags", flags, "#"],
|
|
50816
|
+
[this.myBoost ?? null, "true", "flags.2?true"],
|
|
50817
|
+
[this.level, "number", "int"],
|
|
50818
|
+
[this.currentLevelBoosts, "number", "int"],
|
|
50819
|
+
[this.boosts, "number", "int"],
|
|
50820
|
+
[this.giftBoosts ?? null, "number", "flags.4?int"],
|
|
50821
|
+
[this.nextLevelBoosts ?? null, "number", "flags.0?int"],
|
|
50822
|
+
[this.premiumAudience ?? null, _TypeStatsPercentValue, "flags.1?StatsPercentValue"],
|
|
50823
|
+
[this.boostUrl, "string", "string"],
|
|
50824
|
+
[this.prepaidGiveaways ?? null, [_TypePrepaidGiveaway], "flags.3?Vector<PrepaidGiveaway>"],
|
|
50825
|
+
[this.myBoostSlots ?? null, ["number"], "flags.2?Vector<int>"],
|
|
50826
|
+
];
|
|
50827
|
+
}
|
|
50828
|
+
constructor(params) {
|
|
50829
|
+
super();
|
|
50830
|
+
Object.defineProperty(this, "myBoost", {
|
|
50831
|
+
enumerable: true,
|
|
50832
|
+
configurable: true,
|
|
50833
|
+
writable: true,
|
|
50834
|
+
value: void 0
|
|
50835
|
+
});
|
|
50836
|
+
Object.defineProperty(this, "level", {
|
|
50837
|
+
enumerable: true,
|
|
50838
|
+
configurable: true,
|
|
50839
|
+
writable: true,
|
|
50840
|
+
value: void 0
|
|
50841
|
+
});
|
|
50842
|
+
Object.defineProperty(this, "currentLevelBoosts", {
|
|
50843
|
+
enumerable: true,
|
|
50844
|
+
configurable: true,
|
|
50845
|
+
writable: true,
|
|
50846
|
+
value: void 0
|
|
50847
|
+
});
|
|
50848
|
+
Object.defineProperty(this, "boosts", {
|
|
50849
|
+
enumerable: true,
|
|
50850
|
+
configurable: true,
|
|
50851
|
+
writable: true,
|
|
50852
|
+
value: void 0
|
|
50853
|
+
});
|
|
50854
|
+
Object.defineProperty(this, "giftBoosts", {
|
|
50855
|
+
enumerable: true,
|
|
50856
|
+
configurable: true,
|
|
50857
|
+
writable: true,
|
|
50858
|
+
value: void 0
|
|
50859
|
+
});
|
|
50860
|
+
Object.defineProperty(this, "nextLevelBoosts", {
|
|
50861
|
+
enumerable: true,
|
|
50862
|
+
configurable: true,
|
|
50863
|
+
writable: true,
|
|
50864
|
+
value: void 0
|
|
50865
|
+
});
|
|
50866
|
+
Object.defineProperty(this, "premiumAudience", {
|
|
50867
|
+
enumerable: true,
|
|
50868
|
+
configurable: true,
|
|
50869
|
+
writable: true,
|
|
50870
|
+
value: void 0
|
|
50871
|
+
});
|
|
50872
|
+
Object.defineProperty(this, "boostUrl", {
|
|
50873
|
+
enumerable: true,
|
|
50874
|
+
configurable: true,
|
|
50875
|
+
writable: true,
|
|
50876
|
+
value: void 0
|
|
50877
|
+
});
|
|
50878
|
+
Object.defineProperty(this, "prepaidGiveaways", {
|
|
50879
|
+
enumerable: true,
|
|
50880
|
+
configurable: true,
|
|
50881
|
+
writable: true,
|
|
50882
|
+
value: void 0
|
|
50883
|
+
});
|
|
50884
|
+
Object.defineProperty(this, "myBoostSlots", {
|
|
50885
|
+
enumerable: true,
|
|
50886
|
+
configurable: true,
|
|
50887
|
+
writable: true,
|
|
50888
|
+
value: void 0
|
|
50889
|
+
});
|
|
50890
|
+
this.myBoost = params.myBoost;
|
|
50891
|
+
this.level = params.level;
|
|
50892
|
+
this.currentLevelBoosts = params.currentLevelBoosts;
|
|
50893
|
+
this.boosts = params.boosts;
|
|
50894
|
+
this.giftBoosts = params.giftBoosts;
|
|
50895
|
+
this.nextLevelBoosts = params.nextLevelBoosts;
|
|
50896
|
+
this.premiumAudience = params.premiumAudience;
|
|
50897
|
+
this.boostUrl = params.boostUrl;
|
|
50898
|
+
this.prepaidGiveaways = params.prepaidGiveaways;
|
|
50899
|
+
this.myBoostSlots = params.myBoostSlots;
|
|
50900
|
+
}
|
|
50901
|
+
}
|
|
48828
50902
|
export const map = new Map([
|
|
48829
50903
|
[0x05162463, ResPQ],
|
|
48830
50904
|
[0xA9F55F95, PQInnerDataDC],
|
|
@@ -48892,7 +50966,8 @@ export const map = new Map([
|
|
|
48892
50966
|
[0x971FA843, InputMediaGeoLive],
|
|
48893
50967
|
[0x0F94E5F1, InputMediaPoll],
|
|
48894
50968
|
[0xE66FBF7B, InputMediaDice],
|
|
48895
|
-
[
|
|
50969
|
+
[0x89FDD778, InputMediaStory],
|
|
50970
|
+
[0xC21B8849, InputMediaWebPage],
|
|
48896
50971
|
[0x1CA48F57, InputChatPhotoEmpty],
|
|
48897
50972
|
[0xBDCDAEC0, InputChatUploadedPhoto],
|
|
48898
50973
|
[0x8953AD37, InputChatPhoto],
|
|
@@ -48924,7 +50999,7 @@ export const map = new Map([
|
|
|
48924
50999
|
[0xB3CEA0E4, StorageFileMp4],
|
|
48925
51000
|
[0x1081464C, StorageFileWebp],
|
|
48926
51001
|
[0xD3BC4B7A, UserEmpty],
|
|
48927
|
-
[
|
|
51002
|
+
[0xEB602F25, User],
|
|
48928
51003
|
[0x4F11BAE1, UserProfilePhotoEmpty],
|
|
48929
51004
|
[0x82D1F706, UserProfilePhoto],
|
|
48930
51005
|
[0x09D05049, UserStatusEmpty],
|
|
@@ -48936,10 +51011,10 @@ export const map = new Map([
|
|
|
48936
51011
|
[0x29562865, ChatEmpty],
|
|
48937
51012
|
[0x41CBF256, Chat],
|
|
48938
51013
|
[0x6592A1A7, ChatForbidden],
|
|
48939
|
-
[
|
|
51014
|
+
[0x1981EA7E, Channel],
|
|
48940
51015
|
[0x17D493D5, ChannelForbidden],
|
|
48941
51016
|
[0xC9D31138, ChatFull],
|
|
48942
|
-
[
|
|
51017
|
+
[0x723027BD, ChannelFull],
|
|
48943
51018
|
[0xC02D4007, ChatParticipant],
|
|
48944
51019
|
[0xE46BCEE4, ChatParticipantCreator],
|
|
48945
51020
|
[0xA0933F5B, ChatParticipantAdmin],
|
|
@@ -48956,14 +51031,15 @@ export const map = new Map([
|
|
|
48956
51031
|
[0x70322949, MessageMediaContact],
|
|
48957
51032
|
[0x9F84F49E, MessageMediaUnsupported],
|
|
48958
51033
|
[0x4CF4D72D, MessageMediaDocument],
|
|
48959
|
-
[
|
|
51034
|
+
[0xDDF10C3B, MessageMediaWebPage],
|
|
48960
51035
|
[0x2EC0533F, MessageMediaVenue],
|
|
48961
51036
|
[0xFDB19008, MessageMediaGame],
|
|
48962
51037
|
[0xF6A548D3, MessageMediaInvoice],
|
|
48963
51038
|
[0xB940C666, MessageMediaGeoLive],
|
|
48964
51039
|
[0x4BD6E798, MessageMediaPoll],
|
|
48965
51040
|
[0x3F7EE58B, MessageMediaDice],
|
|
48966
|
-
[
|
|
51041
|
+
[0x68CB6283, MessageMediaStory],
|
|
51042
|
+
[0x58260664, MessageMediaGiveaway],
|
|
48967
51043
|
[0xB6AEF7B0, MessageActionEmpty],
|
|
48968
51044
|
[0xBD47CBAD, MessageActionChatCreate],
|
|
48969
51045
|
[0xB5A1CE5A, MessageActionChatEditTitle],
|
|
@@ -49003,6 +51079,8 @@ export const map = new Map([
|
|
|
49003
51079
|
[0xFE77345D, MessageActionRequestedPeer],
|
|
49004
51080
|
[0xBC44A927, MessageActionSetChatWallPaper],
|
|
49005
51081
|
[0xC0787D6D, MessageActionSetSameChatWallPaper],
|
|
51082
|
+
[0xD2CFDB0E, MessageActionGiftCode],
|
|
51083
|
+
[0x332BA9ED, MessageActionGiveawayLaunch],
|
|
49006
51084
|
[0xD58A08C6, Dialog],
|
|
49007
51085
|
[0x71BD134C, DialogFolder],
|
|
49008
51086
|
[0x2331B22D, PhotoEmpty],
|
|
@@ -49040,7 +51118,7 @@ export const map = new Map([
|
|
|
49040
51118
|
[0xF5DDD6E7, InputReportReasonFake],
|
|
49041
51119
|
[0x0A8EB2BE, InputReportReasonIllegalDrugs],
|
|
49042
51120
|
[0x9EC7863D, InputReportReasonPersonalDetails],
|
|
49043
|
-
[
|
|
51121
|
+
[0xB9B12C6C, UserFull],
|
|
49044
51122
|
[0x145ADE0B, Contact],
|
|
49045
51123
|
[0xC13E3C50, ImportedContact],
|
|
49046
51124
|
[0x16D9703B, ContactStatus],
|
|
@@ -49085,6 +51163,7 @@ export const map = new Map([
|
|
|
49085
51163
|
[0x07761198, UpdateChatParticipants],
|
|
49086
51164
|
[0xE5BDF8DE, UpdateUserStatus],
|
|
49087
51165
|
[0xA7848924, UpdateUserName],
|
|
51166
|
+
[0x8951ABEF, UpdateNewAuthorization],
|
|
49088
51167
|
[0x12BCBD9A, UpdateNewEncryptedMessage],
|
|
49089
51168
|
[0x1710F156, UpdateEncryptedChatTyping],
|
|
49090
51169
|
[0xB4A2E88D, UpdateEncryption],
|
|
@@ -49099,7 +51178,7 @@ export const map = new Map([
|
|
|
49099
51178
|
[0x9C974FDF, UpdateReadHistoryInbox],
|
|
49100
51179
|
[0x2F2F21BF, UpdateReadHistoryOutbox],
|
|
49101
51180
|
[0x7F891213, UpdateWebPage],
|
|
49102
|
-
[
|
|
51181
|
+
[0xF8227181, UpdateReadMessagesContents],
|
|
49103
51182
|
[0x108D941F, UpdateChannelTooLong],
|
|
49104
51183
|
[0x635B4C09, UpdateChannel],
|
|
49105
51184
|
[0x62BA04D9, UpdateNewChannelMessage],
|
|
@@ -49188,11 +51267,11 @@ export const map = new Map([
|
|
|
49188
51267
|
[0x20529438, UpdateUser],
|
|
49189
51268
|
[0xEC05B097, UpdateAutoSaveSettings],
|
|
49190
51269
|
[0xCCF08AD6, UpdateGroupInvitePrivacyForbidden],
|
|
49191
|
-
[
|
|
49192
|
-
[
|
|
51270
|
+
[0x75B3B798, UpdateStory],
|
|
51271
|
+
[0xF74E932B, UpdateReadStories],
|
|
49193
51272
|
[0x1BF335B9, UpdateStoryID],
|
|
49194
51273
|
[0x2C084DC1, UpdateStoriesStealthMode],
|
|
49195
|
-
[
|
|
51274
|
+
[0x7D627683, UpdateSentStoryReaction],
|
|
49196
51275
|
[0xA56C2A3E, UpdatesState],
|
|
49197
51276
|
[0x5D75A138, UpdatesDifferenceEmpty],
|
|
49198
51277
|
[0x00F49CA0, UpdatesDifference],
|
|
@@ -49317,8 +51396,8 @@ export const map = new Map([
|
|
|
49317
51396
|
[0xE86602C3, MessagesAllStickersNotModified],
|
|
49318
51397
|
[0xCDBBCEBB, MessagesAllStickers],
|
|
49319
51398
|
[0x84D19185, MessagesAffectedMessages],
|
|
49320
|
-
[
|
|
49321
|
-
[
|
|
51399
|
+
[0x211A1788, WebPageEmpty],
|
|
51400
|
+
[0xB0D13E47, WebPagePending],
|
|
49322
51401
|
[0xE89C45B2, WebPage],
|
|
49323
51402
|
[0x7311CA11, WebPageNotModified],
|
|
49324
51403
|
[0xAD01D61D, Authorization],
|
|
@@ -49331,7 +51410,7 @@ export const map = new Map([
|
|
|
49331
51410
|
[0x0AB4A819, ChatInviteExported],
|
|
49332
51411
|
[0xED107AB7, ChatInvitePublicJoinRequests],
|
|
49333
51412
|
[0x5A686D7C, ChatInviteAlready],
|
|
49334
|
-
[
|
|
51413
|
+
[0xCDE0EC40, ChatInvite],
|
|
49335
51414
|
[0x61695CB0, ChatInvitePeek],
|
|
49336
51415
|
[0xFFB62B95, InputStickerSetEmpty],
|
|
49337
51416
|
[0x9DE7A269, InputStickerSetID],
|
|
@@ -49386,10 +51465,10 @@ export const map = new Map([
|
|
|
49386
51465
|
[0x4C4E743F, MessageEntityCashtag],
|
|
49387
51466
|
[0x9C4E7E8B, MessageEntityUnderline],
|
|
49388
51467
|
[0xBF0693D4, MessageEntityStrike],
|
|
49389
|
-
[0x020DF5D0, MessageEntityBlockquote],
|
|
49390
51468
|
[0x761E6AF4, MessageEntityBankCard],
|
|
49391
51469
|
[0x32CA960F, MessageEntitySpoiler],
|
|
49392
51470
|
[0xC8CF05F8, MessageEntityCustomEmoji],
|
|
51471
|
+
[0x020DF5D0, MessageEntityBlockquote],
|
|
49393
51472
|
[0xEE8C1E86, InputChannelEmpty],
|
|
49394
51473
|
[0xF35AEC28, InputChannel],
|
|
49395
51474
|
[0x5B934F9D, InputChannelFromMessage],
|
|
@@ -49427,6 +51506,7 @@ export const map = new Map([
|
|
|
49427
51506
|
[0xA6EDBFFD, InputBotInlineMessageMediaContact],
|
|
49428
51507
|
[0x4B425864, InputBotInlineMessageGame],
|
|
49429
51508
|
[0xD7E78225, InputBotInlineMessageMediaInvoice],
|
|
51509
|
+
[0xBDDCC510, InputBotInlineMessageMediaWebPage],
|
|
49430
51510
|
[0x88BF9319, InputBotInlineResult],
|
|
49431
51511
|
[0xA8D864A7, InputBotInlineResultPhoto],
|
|
49432
51512
|
[0xFFF8FDC4, InputBotInlineResultDocument],
|
|
@@ -49437,6 +51517,7 @@ export const map = new Map([
|
|
|
49437
51517
|
[0x8A86659C, BotInlineMessageMediaVenue],
|
|
49438
51518
|
[0x18D1CDC2, BotInlineMessageMediaContact],
|
|
49439
51519
|
[0x354A9B09, BotInlineMessageMediaInvoice],
|
|
51520
|
+
[0x809AD9A6, BotInlineMessageMediaWebPage],
|
|
49440
51521
|
[0x11965F3A, BotInlineResult],
|
|
49441
51522
|
[0x17DB940B, BotInlineMediaResult],
|
|
49442
51523
|
[0xE021F2F6, MessagesBotResults],
|
|
@@ -49476,7 +51557,7 @@ export const map = new Map([
|
|
|
49476
51557
|
[0x70B772A8, ContactsTopPeers],
|
|
49477
51558
|
[0xB52C939D, ContactsTopPeersDisabled],
|
|
49478
51559
|
[0x1B0C841A, DraftMessageEmpty],
|
|
49479
|
-
[
|
|
51560
|
+
[0x3FCCF7EF, DraftMessage],
|
|
49480
51561
|
[0xC6DC0C66, MessagesFeaturedStickersNotModified],
|
|
49481
51562
|
[0xBE382906, MessagesFeaturedStickers],
|
|
49482
51563
|
[0x0B17F890, MessagesRecentStickersNotModified],
|
|
@@ -49547,7 +51628,7 @@ export const map = new Map([
|
|
|
49547
51628
|
[0xFAF7E8C9, PhoneCallDiscardReasonBusy],
|
|
49548
51629
|
[0x7D748D04, DataJSON],
|
|
49549
51630
|
[0xCB296BF8, LabeledPrice],
|
|
49550
|
-
[
|
|
51631
|
+
[0x5DB95A15, Invoice],
|
|
49551
51632
|
[0xEA02C27E, PaymentCharge],
|
|
49552
51633
|
[0x1E8CAAEB, PostAddress],
|
|
49553
51634
|
[0x909C3F94, PaymentRequestedInfo],
|
|
@@ -49635,6 +51716,8 @@ export const map = new Map([
|
|
|
49635
51716
|
[0xAE168909, ChannelAdminLogEventActionDeleteTopic],
|
|
49636
51717
|
[0x5D8D353B, ChannelAdminLogEventActionPinTopic],
|
|
49637
51718
|
[0x64F36DFC, ChannelAdminLogEventActionToggleAntiSpam],
|
|
51719
|
+
[0x3C2B247B, ChannelAdminLogEventActionChangeColor],
|
|
51720
|
+
[0x445FC434, ChannelAdminLogEventActionChangeBackgroundEmoji],
|
|
49638
51721
|
[0x1FAD68CD, ChannelAdminLogEvent],
|
|
49639
51722
|
[0xED8AF74D, ChannelsAdminLogResults],
|
|
49640
51723
|
[0xEA107AE4, ChannelAdminLogEventsFilter],
|
|
@@ -49787,7 +51870,7 @@ export const map = new Map([
|
|
|
49787
51870
|
[0x8FDE504F, InputThemeSettings],
|
|
49788
51871
|
[0xFA58B6D4, ThemeSettings],
|
|
49789
51872
|
[0x54B56617, WebPageAttributeTheme],
|
|
49790
|
-
[
|
|
51873
|
+
[0x2E94C3E7, WebPageAttributeStory],
|
|
49791
51874
|
[0x4899484E, MessagesVotesList],
|
|
49792
51875
|
[0xF568028A, BankCardOpenURL],
|
|
49793
51876
|
[0x3E24E573, PaymentsBankCardData],
|
|
@@ -49820,7 +51903,7 @@ export const map = new Map([
|
|
|
49820
51903
|
[0x455B853D, MessageViews],
|
|
49821
51904
|
[0xB6C4F543, MessagesMessageViews],
|
|
49822
51905
|
[0xA6341782, MessagesDiscussionMessage],
|
|
49823
|
-
[
|
|
51906
|
+
[0x6EEBCABD, MessageReplyHeader],
|
|
49824
51907
|
[0x9C98BFC1, MessageReplyStoryHeader],
|
|
49825
51908
|
[0x83D60FC2, MessageReplies],
|
|
49826
51909
|
[0xE8FD8014, PeerBlocked],
|
|
@@ -49886,7 +51969,7 @@ export const map = new Map([
|
|
|
49886
51969
|
[0x2DBF3432, PhoneGroupCallStreamRtmpURL],
|
|
49887
51970
|
[0x4576F3F0, AttachMenuBotIconColor],
|
|
49888
51971
|
[0xB2A7386B, AttachMenuBotIcon],
|
|
49889
|
-
[
|
|
51972
|
+
[0xD90D8DFE, AttachMenuBot],
|
|
49890
51973
|
[0xF1D88A5C, AttachMenuBotsNotModified],
|
|
49891
51974
|
[0x3C4301C0, AttachMenuBots],
|
|
49892
51975
|
[0x93BF667F, AttachMenuBotsBot],
|
|
@@ -49911,11 +51994,14 @@ export const map = new Map([
|
|
|
49911
51994
|
[0x7BFBDEFC, AttachMenuPeerTypeBroadcast],
|
|
49912
51995
|
[0xC5B56859, InputInvoiceMessage],
|
|
49913
51996
|
[0xC326CAEF, InputInvoiceSlug],
|
|
51997
|
+
[0x98986C0D, InputInvoicePremiumGiftCode],
|
|
49914
51998
|
[0xAED0CBD9, PaymentsExportedInvoice],
|
|
49915
51999
|
[0x93752C52, MessagesTranscribedAudio],
|
|
49916
52000
|
[0x5334759C, HelpPremiumPromo],
|
|
49917
52001
|
[0xA6751E66, InputStorePaymentPremiumSubscription],
|
|
49918
52002
|
[0x616F7FE8, InputStorePaymentGiftPremium],
|
|
52003
|
+
[0xA3805F3F, InputStorePaymentPremiumGiftCode],
|
|
52004
|
+
[0x7C9375E6, InputStorePaymentPremiumGiveaway],
|
|
49919
52005
|
[0x74C34319, PremiumGiftOption],
|
|
49920
52006
|
[0x88F8F21B, PaymentFormMethod],
|
|
49921
52007
|
[0x2DE11AAE, EmojiStatusEmpty],
|
|
@@ -49985,19 +52071,17 @@ export const map = new Map([
|
|
|
49985
52071
|
[0x74CDA504, MessagePeerVoteInputOption],
|
|
49986
52072
|
[0x4628F6E6, MessagePeerVoteMultiple],
|
|
49987
52073
|
[0x3DB8EC63, SponsoredWebPage],
|
|
49988
|
-
[
|
|
52074
|
+
[0x8D595CD6, StoryViews],
|
|
49989
52075
|
[0x51E6EE4F, StoryItemDeleted],
|
|
49990
52076
|
[0xFFADC913, StoryItemSkipped],
|
|
49991
52077
|
[0x44C457CE, StoryItem],
|
|
49992
|
-
[0x8611A200, UserStories],
|
|
49993
52078
|
[0x1158FE3E, StoriesAllStoriesNotModified],
|
|
49994
|
-
[
|
|
49995
|
-
[
|
|
49996
|
-
[0x37A6FF5F, StoriesUserStories],
|
|
52079
|
+
[0x6EFC5E81, StoriesAllStories],
|
|
52080
|
+
[0x5DD8C3C8, StoriesStories],
|
|
49997
52081
|
[0xB0BDEAC5, StoryView],
|
|
49998
52082
|
[0x46E9B9EC, StoriesStoryViewsList],
|
|
49999
52083
|
[0xDE9EED1D, StoriesStoryViews],
|
|
50000
|
-
[
|
|
52084
|
+
[0x073EC805, InputReplyToMessage],
|
|
50001
52085
|
[0x15B0F283, InputReplyToStory],
|
|
50002
52086
|
[0x3FC9053B, ExportedStoryLink],
|
|
50003
52087
|
[0x712E27FD, StoriesStealthMode],
|
|
@@ -50005,5 +52089,19 @@ export const map = new Map([
|
|
|
50005
52089
|
[0xBE82DB9C, MediaAreaVenue],
|
|
50006
52090
|
[0xB282217F, InputMediaAreaVenue],
|
|
50007
52091
|
[0xDF8B3B22, MediaAreaGeoPoint],
|
|
52092
|
+
[0x14455871, MediaAreaSuggestedReaction],
|
|
52093
|
+
[0x9A35E999, PeerStories],
|
|
52094
|
+
[0xCAE68768, StoriesPeerStories],
|
|
52095
|
+
[0xFD5E12BD, MessagesWebPage],
|
|
52096
|
+
[0x257E962B, PremiumGiftCodeOption],
|
|
52097
|
+
[0xB722F158, PaymentsCheckedGiftCode],
|
|
52098
|
+
[0x4367DAA0, PaymentsGiveawayInfo],
|
|
52099
|
+
[0x00CD5570, PaymentsGiveawayInfoResults],
|
|
52100
|
+
[0xB2539D54, PrepaidGiveaway],
|
|
52101
|
+
[0x2A1C8C71, Boost],
|
|
52102
|
+
[0x86F8613C, PremiumBoostsList],
|
|
52103
|
+
[0xC448415C, MyBoost],
|
|
52104
|
+
[0x9AE228E2, PremiumMyBoosts],
|
|
52105
|
+
[0x4959427A, PremiumBoostsStatus],
|
|
50008
52106
|
// deno-lint-ignore no-explicit-any
|
|
50009
52107
|
]);
|