@mtkruto/node 0.1.107 → 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 +1 -1
- package/esm/client/4_client.d.ts +2 -2
- package/esm/tl/2_types.d.ts +441 -58
- package/esm/tl/2_types.js +1584 -118
- package/esm/tl/3_functions.d.ts +113 -16
- package/esm/tl/3_functions.js +364 -39
- package/esm/types/0_message_entity.d.ts +1 -1
- 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 +1 -1
- package/script/client/4_client.d.ts +2 -2
- package/script/tl/2_types.d.ts +441 -58
- package/script/tl/2_types.js +1646 -158
- package/script/tl/3_functions.d.ts +113 -16
- package/script/tl/3_functions.js +386 -53
- package/script/types/0_message_entity.d.ts +1 -1
- package/script/types/3_message.js +1 -1
package/esm/tl/2_types.js
CHANGED
|
@@ -881,15 +881,25 @@ export class _TypePeerStories extends Type {
|
|
|
881
881
|
}
|
|
882
882
|
export class _TypeStoriesPeerStories extends Type {
|
|
883
883
|
}
|
|
884
|
-
export class
|
|
884
|
+
export class _TypeMessagesWebPage extends Type {
|
|
885
885
|
}
|
|
886
|
-
export class
|
|
886
|
+
export class _TypePremiumGiftCodeOption extends Type {
|
|
887
887
|
}
|
|
888
|
-
export class
|
|
888
|
+
export class _TypePaymentsCheckedGiftCode extends Type {
|
|
889
889
|
}
|
|
890
|
-
export class
|
|
890
|
+
export class _TypePaymentsGiveawayInfo extends Type {
|
|
891
891
|
}
|
|
892
|
-
export class
|
|
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 {
|
|
893
903
|
}
|
|
894
904
|
export class ResPQ extends _TypeResPQ {
|
|
895
905
|
get [id]() {
|
|
@@ -3550,6 +3560,60 @@ export class InputMediaStory extends _TypeInputMedia {
|
|
|
3550
3560
|
this.id = params.id;
|
|
3551
3561
|
}
|
|
3552
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
|
+
}
|
|
3553
3617
|
export class InputChatPhotoEmpty extends _TypeInputChatPhoto {
|
|
3554
3618
|
get [id]() {
|
|
3555
3619
|
return 0x1CA48F57;
|
|
@@ -4451,7 +4515,7 @@ export class UserEmpty extends _TypeUser {
|
|
|
4451
4515
|
}
|
|
4452
4516
|
export class User extends _TypeUser {
|
|
4453
4517
|
get [id]() {
|
|
4454
|
-
return
|
|
4518
|
+
return 0xEB602F25;
|
|
4455
4519
|
}
|
|
4456
4520
|
static get [paramDesc]() {
|
|
4457
4521
|
return [
|
|
@@ -4494,6 +4558,8 @@ export class User extends _TypeUser {
|
|
|
4494
4558
|
["emojiStatus", _TypeEmojiStatus, "flags.30?EmojiStatus"],
|
|
4495
4559
|
["usernames", [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
4496
4560
|
["storiesMaxId", "number", "flags2.5?int"],
|
|
4561
|
+
["color", "number", "flags2.7?int"],
|
|
4562
|
+
["backgroundEmojiId", "bigint", "flags2.6?long"],
|
|
4497
4563
|
];
|
|
4498
4564
|
}
|
|
4499
4565
|
get [params]() {
|
|
@@ -4537,6 +4603,8 @@ export class User extends _TypeUser {
|
|
|
4537
4603
|
[this.emojiStatus ?? null, _TypeEmojiStatus, "flags.30?EmojiStatus"],
|
|
4538
4604
|
[this.usernames ?? null, [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
4539
4605
|
[this.storiesMaxId ?? null, "number", "flags2.5?int"],
|
|
4606
|
+
[this.color ?? null, "number", "flags2.7?int"],
|
|
4607
|
+
[this.backgroundEmojiId ?? null, "bigint", "flags2.6?long"],
|
|
4540
4608
|
];
|
|
4541
4609
|
}
|
|
4542
4610
|
constructor(params) {
|
|
@@ -4763,6 +4831,18 @@ export class User extends _TypeUser {
|
|
|
4763
4831
|
writable: true,
|
|
4764
4832
|
value: void 0
|
|
4765
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
|
+
});
|
|
4766
4846
|
this.self = params.self;
|
|
4767
4847
|
this.contact = params.contact;
|
|
4768
4848
|
this.mutualContact = params.mutualContact;
|
|
@@ -4800,6 +4880,8 @@ export class User extends _TypeUser {
|
|
|
4800
4880
|
this.emojiStatus = params.emojiStatus;
|
|
4801
4881
|
this.usernames = params.usernames;
|
|
4802
4882
|
this.storiesMaxId = params.storiesMaxId;
|
|
4883
|
+
this.color = params.color;
|
|
4884
|
+
this.backgroundEmojiId = params.backgroundEmojiId;
|
|
4803
4885
|
}
|
|
4804
4886
|
}
|
|
4805
4887
|
export class UserProfilePhotoEmpty extends _TypeUserProfilePhoto {
|
|
@@ -5199,7 +5281,7 @@ export class ChatForbidden extends _TypeChat {
|
|
|
5199
5281
|
}
|
|
5200
5282
|
export class Channel extends _TypeChat {
|
|
5201
5283
|
get [id]() {
|
|
5202
|
-
return
|
|
5284
|
+
return 0x1981EA7E;
|
|
5203
5285
|
}
|
|
5204
5286
|
static get [paramDesc]() {
|
|
5205
5287
|
return [
|
|
@@ -5241,6 +5323,8 @@ export class Channel extends _TypeChat {
|
|
|
5241
5323
|
["participantsCount", "number", "flags.17?int"],
|
|
5242
5324
|
["usernames", [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
5243
5325
|
["storiesMaxId", "number", "flags2.4?int"],
|
|
5326
|
+
["color", "number", "flags2.6?int"],
|
|
5327
|
+
["backgroundEmojiId", "bigint", "flags2.5?long"],
|
|
5244
5328
|
];
|
|
5245
5329
|
}
|
|
5246
5330
|
get [params]() {
|
|
@@ -5283,6 +5367,8 @@ export class Channel extends _TypeChat {
|
|
|
5283
5367
|
[this.participantsCount ?? null, "number", "flags.17?int"],
|
|
5284
5368
|
[this.usernames ?? null, [_TypeUsername], "flags2.0?Vector<Username>"],
|
|
5285
5369
|
[this.storiesMaxId ?? null, "number", "flags2.4?int"],
|
|
5370
|
+
[this.color ?? null, "number", "flags2.6?int"],
|
|
5371
|
+
[this.backgroundEmojiId ?? null, "bigint", "flags2.5?long"],
|
|
5286
5372
|
];
|
|
5287
5373
|
}
|
|
5288
5374
|
constructor(params) {
|
|
@@ -5503,6 +5589,18 @@ export class Channel extends _TypeChat {
|
|
|
5503
5589
|
writable: true,
|
|
5504
5590
|
value: void 0
|
|
5505
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
|
+
});
|
|
5506
5604
|
this.creator = params.creator;
|
|
5507
5605
|
this.left = params.left;
|
|
5508
5606
|
this.broadcast = params.broadcast;
|
|
@@ -5539,6 +5637,8 @@ export class Channel extends _TypeChat {
|
|
|
5539
5637
|
this.participantsCount = params.participantsCount;
|
|
5540
5638
|
this.usernames = params.usernames;
|
|
5541
5639
|
this.storiesMaxId = params.storiesMaxId;
|
|
5640
|
+
this.color = params.color;
|
|
5641
|
+
this.backgroundEmojiId = params.backgroundEmojiId;
|
|
5542
5642
|
}
|
|
5543
5643
|
}
|
|
5544
5644
|
export class ChannelForbidden extends _TypeChat {
|
|
@@ -6574,6 +6674,7 @@ export class Message extends _TypeMessage {
|
|
|
6574
6674
|
["editHide", "true", "flags.21?true"],
|
|
6575
6675
|
["pinned", "true", "flags.24?true"],
|
|
6576
6676
|
["noforwards", "true", "flags.26?true"],
|
|
6677
|
+
["invertMedia", "true", "flags.27?true"],
|
|
6577
6678
|
["id", "number", "int"],
|
|
6578
6679
|
["fromId", _TypePeer, "flags.8?Peer"],
|
|
6579
6680
|
["peerId", _TypePeer, "Peer"],
|
|
@@ -6609,6 +6710,7 @@ export class Message extends _TypeMessage {
|
|
|
6609
6710
|
[this.editHide ?? null, "true", "flags.21?true"],
|
|
6610
6711
|
[this.pinned ?? null, "true", "flags.24?true"],
|
|
6611
6712
|
[this.noforwards ?? null, "true", "flags.26?true"],
|
|
6713
|
+
[this.invertMedia ?? null, "true", "flags.27?true"],
|
|
6612
6714
|
[this.id, "number", "int"],
|
|
6613
6715
|
[this.fromId ?? null, _TypePeer, "flags.8?Peer"],
|
|
6614
6716
|
[this.peerId, _TypePeer, "Peer"],
|
|
@@ -6693,6 +6795,12 @@ export class Message extends _TypeMessage {
|
|
|
6693
6795
|
writable: true,
|
|
6694
6796
|
value: void 0
|
|
6695
6797
|
});
|
|
6798
|
+
Object.defineProperty(this, "invertMedia", {
|
|
6799
|
+
enumerable: true,
|
|
6800
|
+
configurable: true,
|
|
6801
|
+
writable: true,
|
|
6802
|
+
value: void 0
|
|
6803
|
+
});
|
|
6696
6804
|
Object.defineProperty(this, "id", {
|
|
6697
6805
|
enumerable: true,
|
|
6698
6806
|
configurable: true,
|
|
@@ -6823,6 +6931,7 @@ export class Message extends _TypeMessage {
|
|
|
6823
6931
|
this.editHide = params.editHide;
|
|
6824
6932
|
this.pinned = params.pinned;
|
|
6825
6933
|
this.noforwards = params.noforwards;
|
|
6934
|
+
this.invertMedia = params.invertMedia;
|
|
6826
6935
|
this.id = params.id;
|
|
6827
6936
|
this.fromId = params.fromId;
|
|
6828
6937
|
this.peerId = params.peerId;
|
|
@@ -7204,26 +7313,64 @@ export class MessageMediaDocument extends _TypeMessageMedia {
|
|
|
7204
7313
|
}
|
|
7205
7314
|
export class MessageMediaWebPage extends _TypeMessageMedia {
|
|
7206
7315
|
get [id]() {
|
|
7207
|
-
return
|
|
7316
|
+
return 0xDDF10C3B;
|
|
7208
7317
|
}
|
|
7209
7318
|
static get [paramDesc]() {
|
|
7210
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"],
|
|
7211
7325
|
["webpage", _TypeWebPage, "WebPage"],
|
|
7212
7326
|
];
|
|
7213
7327
|
}
|
|
7214
7328
|
get [params]() {
|
|
7215
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"],
|
|
7216
7335
|
[this.webpage, _TypeWebPage, "WebPage"],
|
|
7217
7336
|
];
|
|
7218
7337
|
}
|
|
7219
7338
|
constructor(params) {
|
|
7220
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
|
+
});
|
|
7221
7364
|
Object.defineProperty(this, "webpage", {
|
|
7222
7365
|
enumerable: true,
|
|
7223
7366
|
configurable: true,
|
|
7224
7367
|
writable: true,
|
|
7225
7368
|
value: void 0
|
|
7226
7369
|
});
|
|
7370
|
+
this.forceLargeMedia = params.forceLargeMedia;
|
|
7371
|
+
this.forceSmallMedia = params.forceSmallMedia;
|
|
7372
|
+
this.manual = params.manual;
|
|
7373
|
+
this.safe = params.safe;
|
|
7227
7374
|
this.webpage = params.webpage;
|
|
7228
7375
|
}
|
|
7229
7376
|
}
|
|
@@ -7606,6 +7753,78 @@ export class MessageMediaStory extends _TypeMessageMedia {
|
|
|
7606
7753
|
this.story = params.story;
|
|
7607
7754
|
}
|
|
7608
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
|
+
}
|
|
7609
7828
|
export class MessageActionEmpty extends _TypeMessageAction {
|
|
7610
7829
|
get [id]() {
|
|
7611
7830
|
return 0xB6AEF7B0;
|
|
@@ -8864,6 +9083,83 @@ export class MessageActionSetSameChatWallPaper extends _TypeMessageAction {
|
|
|
8864
9083
|
this.wallpaper = params.wallpaper;
|
|
8865
9084
|
}
|
|
8866
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
|
+
}
|
|
8867
9163
|
export class Dialog extends _TypeDialog {
|
|
8868
9164
|
get [id]() {
|
|
8869
9165
|
return 0xD58A08C6;
|
|
@@ -12487,6 +12783,7 @@ export class UpdateServiceNotification extends _TypeUpdate {
|
|
|
12487
12783
|
return [
|
|
12488
12784
|
["flags", flags, "#"],
|
|
12489
12785
|
["popup", "true", "flags.0?true"],
|
|
12786
|
+
["invertMedia", "true", "flags.2?true"],
|
|
12490
12787
|
["inboxDate", "number", "flags.1?int"],
|
|
12491
12788
|
["type", "string", "string"],
|
|
12492
12789
|
["message", "string", "string"],
|
|
@@ -12498,6 +12795,7 @@ export class UpdateServiceNotification extends _TypeUpdate {
|
|
|
12498
12795
|
return [
|
|
12499
12796
|
["flags", flags, "#"],
|
|
12500
12797
|
[this.popup ?? null, "true", "flags.0?true"],
|
|
12798
|
+
[this.invertMedia ?? null, "true", "flags.2?true"],
|
|
12501
12799
|
[this.inboxDate ?? null, "number", "flags.1?int"],
|
|
12502
12800
|
[this.type, "string", "string"],
|
|
12503
12801
|
[this.message, "string", "string"],
|
|
@@ -12513,6 +12811,12 @@ export class UpdateServiceNotification extends _TypeUpdate {
|
|
|
12513
12811
|
writable: true,
|
|
12514
12812
|
value: void 0
|
|
12515
12813
|
});
|
|
12814
|
+
Object.defineProperty(this, "invertMedia", {
|
|
12815
|
+
enumerable: true,
|
|
12816
|
+
configurable: true,
|
|
12817
|
+
writable: true,
|
|
12818
|
+
value: void 0
|
|
12819
|
+
});
|
|
12516
12820
|
Object.defineProperty(this, "inboxDate", {
|
|
12517
12821
|
enumerable: true,
|
|
12518
12822
|
configurable: true,
|
|
@@ -12544,6 +12848,7 @@ export class UpdateServiceNotification extends _TypeUpdate {
|
|
|
12544
12848
|
value: void 0
|
|
12545
12849
|
});
|
|
12546
12850
|
this.popup = params.popup;
|
|
12851
|
+
this.invertMedia = params.invertMedia;
|
|
12547
12852
|
this.inboxDate = params.inboxDate;
|
|
12548
12853
|
this.type = params.type;
|
|
12549
12854
|
this.message = params.message;
|
|
@@ -20937,16 +21242,20 @@ export class MessagesAffectedMessages extends _TypeMessagesAffectedMessages {
|
|
|
20937
21242
|
}
|
|
20938
21243
|
export class WebPageEmpty extends _TypeWebPage {
|
|
20939
21244
|
get [id]() {
|
|
20940
|
-
return
|
|
21245
|
+
return 0x211A1788;
|
|
20941
21246
|
}
|
|
20942
21247
|
static get [paramDesc]() {
|
|
20943
21248
|
return [
|
|
21249
|
+
["flags", flags, "#"],
|
|
20944
21250
|
["id", "bigint", "long"],
|
|
21251
|
+
["url", "string", "flags.0?string"],
|
|
20945
21252
|
];
|
|
20946
21253
|
}
|
|
20947
21254
|
get [params]() {
|
|
20948
21255
|
return [
|
|
21256
|
+
["flags", flags, "#"],
|
|
20949
21257
|
[this.id, "bigint", "long"],
|
|
21258
|
+
[this.url ?? null, "string", "flags.0?string"],
|
|
20950
21259
|
];
|
|
20951
21260
|
}
|
|
20952
21261
|
constructor(params) {
|
|
@@ -20957,22 +21266,33 @@ export class WebPageEmpty extends _TypeWebPage {
|
|
|
20957
21266
|
writable: true,
|
|
20958
21267
|
value: void 0
|
|
20959
21268
|
});
|
|
21269
|
+
Object.defineProperty(this, "url", {
|
|
21270
|
+
enumerable: true,
|
|
21271
|
+
configurable: true,
|
|
21272
|
+
writable: true,
|
|
21273
|
+
value: void 0
|
|
21274
|
+
});
|
|
20960
21275
|
this.id = params.id;
|
|
21276
|
+
this.url = params.url;
|
|
20961
21277
|
}
|
|
20962
21278
|
}
|
|
20963
21279
|
export class WebPagePending extends _TypeWebPage {
|
|
20964
21280
|
get [id]() {
|
|
20965
|
-
return
|
|
21281
|
+
return 0xB0D13E47;
|
|
20966
21282
|
}
|
|
20967
21283
|
static get [paramDesc]() {
|
|
20968
21284
|
return [
|
|
21285
|
+
["flags", flags, "#"],
|
|
20969
21286
|
["id", "bigint", "long"],
|
|
21287
|
+
["url", "string", "flags.0?string"],
|
|
20970
21288
|
["date", "number", "int"],
|
|
20971
21289
|
];
|
|
20972
21290
|
}
|
|
20973
21291
|
get [params]() {
|
|
20974
21292
|
return [
|
|
21293
|
+
["flags", flags, "#"],
|
|
20975
21294
|
[this.id, "bigint", "long"],
|
|
21295
|
+
[this.url ?? null, "string", "flags.0?string"],
|
|
20976
21296
|
[this.date, "number", "int"],
|
|
20977
21297
|
];
|
|
20978
21298
|
}
|
|
@@ -20984,6 +21304,12 @@ export class WebPagePending extends _TypeWebPage {
|
|
|
20984
21304
|
writable: true,
|
|
20985
21305
|
value: void 0
|
|
20986
21306
|
});
|
|
21307
|
+
Object.defineProperty(this, "url", {
|
|
21308
|
+
enumerable: true,
|
|
21309
|
+
configurable: true,
|
|
21310
|
+
writable: true,
|
|
21311
|
+
value: void 0
|
|
21312
|
+
});
|
|
20987
21313
|
Object.defineProperty(this, "date", {
|
|
20988
21314
|
enumerable: true,
|
|
20989
21315
|
configurable: true,
|
|
@@ -20991,6 +21317,7 @@ export class WebPagePending extends _TypeWebPage {
|
|
|
20991
21317
|
value: void 0
|
|
20992
21318
|
});
|
|
20993
21319
|
this.id = params.id;
|
|
21320
|
+
this.url = params.url;
|
|
20994
21321
|
this.date = params.date;
|
|
20995
21322
|
}
|
|
20996
21323
|
}
|
|
@@ -21001,6 +21328,7 @@ export class WebPage extends _TypeWebPage {
|
|
|
21001
21328
|
static get [paramDesc]() {
|
|
21002
21329
|
return [
|
|
21003
21330
|
["flags", flags, "#"],
|
|
21331
|
+
["hasLargeMedia", "true", "flags.13?true"],
|
|
21004
21332
|
["id", "bigint", "long"],
|
|
21005
21333
|
["url", "string", "string"],
|
|
21006
21334
|
["displayUrl", "string", "string"],
|
|
@@ -21024,6 +21352,7 @@ export class WebPage extends _TypeWebPage {
|
|
|
21024
21352
|
get [params]() {
|
|
21025
21353
|
return [
|
|
21026
21354
|
["flags", flags, "#"],
|
|
21355
|
+
[this.hasLargeMedia ?? null, "true", "flags.13?true"],
|
|
21027
21356
|
[this.id, "bigint", "long"],
|
|
21028
21357
|
[this.url, "string", "string"],
|
|
21029
21358
|
[this.displayUrl, "string", "string"],
|
|
@@ -21046,6 +21375,12 @@ export class WebPage extends _TypeWebPage {
|
|
|
21046
21375
|
}
|
|
21047
21376
|
constructor(params) {
|
|
21048
21377
|
super();
|
|
21378
|
+
Object.defineProperty(this, "hasLargeMedia", {
|
|
21379
|
+
enumerable: true,
|
|
21380
|
+
configurable: true,
|
|
21381
|
+
writable: true,
|
|
21382
|
+
value: void 0
|
|
21383
|
+
});
|
|
21049
21384
|
Object.defineProperty(this, "id", {
|
|
21050
21385
|
enumerable: true,
|
|
21051
21386
|
configurable: true,
|
|
@@ -21154,6 +21489,7 @@ export class WebPage extends _TypeWebPage {
|
|
|
21154
21489
|
writable: true,
|
|
21155
21490
|
value: void 0
|
|
21156
21491
|
});
|
|
21492
|
+
this.hasLargeMedia = params.hasLargeMedia;
|
|
21157
21493
|
this.id = params.id;
|
|
21158
21494
|
this.url = params.url;
|
|
21159
21495
|
this.displayUrl = params.displayUrl;
|
|
@@ -21875,7 +22211,7 @@ export class ChatInviteAlready extends _TypeChatInvite {
|
|
|
21875
22211
|
}
|
|
21876
22212
|
export class ChatInvite extends _TypeChatInvite {
|
|
21877
22213
|
get [id]() {
|
|
21878
|
-
return
|
|
22214
|
+
return 0xCDE0EC40;
|
|
21879
22215
|
}
|
|
21880
22216
|
static get [paramDesc]() {
|
|
21881
22217
|
return [
|
|
@@ -21893,6 +22229,7 @@ export class ChatInvite extends _TypeChatInvite {
|
|
|
21893
22229
|
["photo", _TypePhoto, "Photo"],
|
|
21894
22230
|
["participantsCount", "number", "int"],
|
|
21895
22231
|
["participants", [_TypeUser], "flags.4?Vector<User>"],
|
|
22232
|
+
["color", "number", "int"],
|
|
21896
22233
|
];
|
|
21897
22234
|
}
|
|
21898
22235
|
get [params]() {
|
|
@@ -21911,6 +22248,7 @@ export class ChatInvite extends _TypeChatInvite {
|
|
|
21911
22248
|
[this.photo, _TypePhoto, "Photo"],
|
|
21912
22249
|
[this.participantsCount, "number", "int"],
|
|
21913
22250
|
[this.participants ?? null, [_TypeUser], "flags.4?Vector<User>"],
|
|
22251
|
+
[this.color, "number", "int"],
|
|
21914
22252
|
];
|
|
21915
22253
|
}
|
|
21916
22254
|
constructor(params) {
|
|
@@ -21993,6 +22331,12 @@ export class ChatInvite extends _TypeChatInvite {
|
|
|
21993
22331
|
writable: true,
|
|
21994
22332
|
value: void 0
|
|
21995
22333
|
});
|
|
22334
|
+
Object.defineProperty(this, "color", {
|
|
22335
|
+
enumerable: true,
|
|
22336
|
+
configurable: true,
|
|
22337
|
+
writable: true,
|
|
22338
|
+
value: void 0
|
|
22339
|
+
});
|
|
21996
22340
|
this.channel = params.channel;
|
|
21997
22341
|
this.broadcast = params.broadcast;
|
|
21998
22342
|
this.public = params.public;
|
|
@@ -22006,6 +22350,7 @@ export class ChatInvite extends _TypeChatInvite {
|
|
|
22006
22350
|
this.photo = params.photo;
|
|
22007
22351
|
this.participantsCount = params.participantsCount;
|
|
22008
22352
|
this.participants = params.participants;
|
|
22353
|
+
this.color = params.color;
|
|
22009
22354
|
}
|
|
22010
22355
|
}
|
|
22011
22356
|
export class ChatInvitePeek extends _TypeChatInvite {
|
|
@@ -22237,6 +22582,7 @@ export class StickerSet extends _TypeStickerSet {
|
|
|
22237
22582
|
["animated", "true", "flags.5?true"],
|
|
22238
22583
|
["videos", "true", "flags.6?true"],
|
|
22239
22584
|
["emojis", "true", "flags.7?true"],
|
|
22585
|
+
["textColor", "true", "flags.9?true"],
|
|
22240
22586
|
["installedDate", "number", "flags.0?int"],
|
|
22241
22587
|
["id", "bigint", "long"],
|
|
22242
22588
|
["accessHash", "bigint", "long"],
|
|
@@ -22259,6 +22605,7 @@ export class StickerSet extends _TypeStickerSet {
|
|
|
22259
22605
|
[this.animated ?? null, "true", "flags.5?true"],
|
|
22260
22606
|
[this.videos ?? null, "true", "flags.6?true"],
|
|
22261
22607
|
[this.emojis ?? null, "true", "flags.7?true"],
|
|
22608
|
+
[this.textColor ?? null, "true", "flags.9?true"],
|
|
22262
22609
|
[this.installedDate ?? null, "number", "flags.0?int"],
|
|
22263
22610
|
[this.id, "bigint", "long"],
|
|
22264
22611
|
[this.accessHash, "bigint", "long"],
|
|
@@ -22310,6 +22657,12 @@ export class StickerSet extends _TypeStickerSet {
|
|
|
22310
22657
|
writable: true,
|
|
22311
22658
|
value: void 0
|
|
22312
22659
|
});
|
|
22660
|
+
Object.defineProperty(this, "textColor", {
|
|
22661
|
+
enumerable: true,
|
|
22662
|
+
configurable: true,
|
|
22663
|
+
writable: true,
|
|
22664
|
+
value: void 0
|
|
22665
|
+
});
|
|
22313
22666
|
Object.defineProperty(this, "installedDate", {
|
|
22314
22667
|
enumerable: true,
|
|
22315
22668
|
configurable: true,
|
|
@@ -22382,6 +22735,7 @@ export class StickerSet extends _TypeStickerSet {
|
|
|
22382
22735
|
this.animated = params.animated;
|
|
22383
22736
|
this.videos = params.videos;
|
|
22384
22737
|
this.emojis = params.emojis;
|
|
22738
|
+
this.textColor = params.textColor;
|
|
22385
22739
|
this.installedDate = params.installedDate;
|
|
22386
22740
|
this.id = params.id;
|
|
22387
22741
|
this.accessHash = params.accessHash;
|
|
@@ -23965,9 +24319,9 @@ export class MessageEntityStrike extends _TypeMessageEntity {
|
|
|
23965
24319
|
this.length = params.length;
|
|
23966
24320
|
}
|
|
23967
24321
|
}
|
|
23968
|
-
export class
|
|
24322
|
+
export class MessageEntityBankCard extends _TypeMessageEntity {
|
|
23969
24323
|
get [id]() {
|
|
23970
|
-
return
|
|
24324
|
+
return 0x761E6AF4;
|
|
23971
24325
|
}
|
|
23972
24326
|
static get [paramDesc]() {
|
|
23973
24327
|
return [
|
|
@@ -23999,9 +24353,9 @@ export class MessageEntityBlockquote extends _TypeMessageEntity {
|
|
|
23999
24353
|
this.length = params.length;
|
|
24000
24354
|
}
|
|
24001
24355
|
}
|
|
24002
|
-
export class
|
|
24356
|
+
export class MessageEntitySpoiler extends _TypeMessageEntity {
|
|
24003
24357
|
get [id]() {
|
|
24004
|
-
return
|
|
24358
|
+
return 0x32CA960F;
|
|
24005
24359
|
}
|
|
24006
24360
|
static get [paramDesc]() {
|
|
24007
24361
|
return [
|
|
@@ -24033,20 +24387,22 @@ export class MessageEntityBankCard extends _TypeMessageEntity {
|
|
|
24033
24387
|
this.length = params.length;
|
|
24034
24388
|
}
|
|
24035
24389
|
}
|
|
24036
|
-
export class
|
|
24390
|
+
export class MessageEntityCustomEmoji extends _TypeMessageEntity {
|
|
24037
24391
|
get [id]() {
|
|
24038
|
-
return
|
|
24392
|
+
return 0xC8CF05F8;
|
|
24039
24393
|
}
|
|
24040
24394
|
static get [paramDesc]() {
|
|
24041
24395
|
return [
|
|
24042
24396
|
["offset", "number", "int"],
|
|
24043
24397
|
["length", "number", "int"],
|
|
24398
|
+
["documentId", "bigint", "long"],
|
|
24044
24399
|
];
|
|
24045
24400
|
}
|
|
24046
24401
|
get [params]() {
|
|
24047
24402
|
return [
|
|
24048
24403
|
[this.offset, "number", "int"],
|
|
24049
24404
|
[this.length, "number", "int"],
|
|
24405
|
+
[this.documentId, "bigint", "long"],
|
|
24050
24406
|
];
|
|
24051
24407
|
}
|
|
24052
24408
|
constructor(params) {
|
|
@@ -24063,26 +24419,31 @@ export class MessageEntitySpoiler extends _TypeMessageEntity {
|
|
|
24063
24419
|
writable: true,
|
|
24064
24420
|
value: void 0
|
|
24065
24421
|
});
|
|
24422
|
+
Object.defineProperty(this, "documentId", {
|
|
24423
|
+
enumerable: true,
|
|
24424
|
+
configurable: true,
|
|
24425
|
+
writable: true,
|
|
24426
|
+
value: void 0
|
|
24427
|
+
});
|
|
24066
24428
|
this.offset = params.offset;
|
|
24067
24429
|
this.length = params.length;
|
|
24430
|
+
this.documentId = params.documentId;
|
|
24068
24431
|
}
|
|
24069
24432
|
}
|
|
24070
|
-
export class
|
|
24433
|
+
export class MessageEntityBlockquote extends _TypeMessageEntity {
|
|
24071
24434
|
get [id]() {
|
|
24072
|
-
return
|
|
24435
|
+
return 0x020DF5D0;
|
|
24073
24436
|
}
|
|
24074
24437
|
static get [paramDesc]() {
|
|
24075
24438
|
return [
|
|
24076
24439
|
["offset", "number", "int"],
|
|
24077
24440
|
["length", "number", "int"],
|
|
24078
|
-
["documentId", "bigint", "long"],
|
|
24079
24441
|
];
|
|
24080
24442
|
}
|
|
24081
24443
|
get [params]() {
|
|
24082
24444
|
return [
|
|
24083
24445
|
[this.offset, "number", "int"],
|
|
24084
24446
|
[this.length, "number", "int"],
|
|
24085
|
-
[this.documentId, "bigint", "long"],
|
|
24086
24447
|
];
|
|
24087
24448
|
}
|
|
24088
24449
|
constructor(params) {
|
|
@@ -24099,15 +24460,8 @@ export class MessageEntityCustomEmoji extends _TypeMessageEntity {
|
|
|
24099
24460
|
writable: true,
|
|
24100
24461
|
value: void 0
|
|
24101
24462
|
});
|
|
24102
|
-
Object.defineProperty(this, "documentId", {
|
|
24103
|
-
enumerable: true,
|
|
24104
|
-
configurable: true,
|
|
24105
|
-
writable: true,
|
|
24106
|
-
value: void 0
|
|
24107
|
-
});
|
|
24108
24463
|
this.offset = params.offset;
|
|
24109
24464
|
this.length = params.length;
|
|
24110
|
-
this.documentId = params.documentId;
|
|
24111
24465
|
}
|
|
24112
24466
|
}
|
|
24113
24467
|
export class InputChannelEmpty extends _TypeInputChannel {
|
|
@@ -25242,6 +25596,7 @@ export class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
25242
25596
|
static get [paramDesc]() {
|
|
25243
25597
|
return [
|
|
25244
25598
|
["flags", flags, "#"],
|
|
25599
|
+
["invertMedia", "true", "flags.3?true"],
|
|
25245
25600
|
["message", "string", "string"],
|
|
25246
25601
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25247
25602
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25250,6 +25605,7 @@ export class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
25250
25605
|
get [params]() {
|
|
25251
25606
|
return [
|
|
25252
25607
|
["flags", flags, "#"],
|
|
25608
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
25253
25609
|
[this.message, "string", "string"],
|
|
25254
25610
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25255
25611
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25257,6 +25613,12 @@ export class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
25257
25613
|
}
|
|
25258
25614
|
constructor(params) {
|
|
25259
25615
|
super();
|
|
25616
|
+
Object.defineProperty(this, "invertMedia", {
|
|
25617
|
+
enumerable: true,
|
|
25618
|
+
configurable: true,
|
|
25619
|
+
writable: true,
|
|
25620
|
+
value: void 0
|
|
25621
|
+
});
|
|
25260
25622
|
Object.defineProperty(this, "message", {
|
|
25261
25623
|
enumerable: true,
|
|
25262
25624
|
configurable: true,
|
|
@@ -25275,6 +25637,7 @@ export class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
|
25275
25637
|
writable: true,
|
|
25276
25638
|
value: void 0
|
|
25277
25639
|
});
|
|
25640
|
+
this.invertMedia = params.invertMedia;
|
|
25278
25641
|
this.message = params.message;
|
|
25279
25642
|
this.entities = params.entities;
|
|
25280
25643
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -25288,6 +25651,7 @@ export class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
25288
25651
|
return [
|
|
25289
25652
|
["flags", flags, "#"],
|
|
25290
25653
|
["noWebpage", "true", "flags.0?true"],
|
|
25654
|
+
["invertMedia", "true", "flags.3?true"],
|
|
25291
25655
|
["message", "string", "string"],
|
|
25292
25656
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25293
25657
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25297,6 +25661,7 @@ export class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
25297
25661
|
return [
|
|
25298
25662
|
["flags", flags, "#"],
|
|
25299
25663
|
[this.noWebpage ?? null, "true", "flags.0?true"],
|
|
25664
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
25300
25665
|
[this.message, "string", "string"],
|
|
25301
25666
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25302
25667
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25310,6 +25675,12 @@ export class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
25310
25675
|
writable: true,
|
|
25311
25676
|
value: void 0
|
|
25312
25677
|
});
|
|
25678
|
+
Object.defineProperty(this, "invertMedia", {
|
|
25679
|
+
enumerable: true,
|
|
25680
|
+
configurable: true,
|
|
25681
|
+
writable: true,
|
|
25682
|
+
value: void 0
|
|
25683
|
+
});
|
|
25313
25684
|
Object.defineProperty(this, "message", {
|
|
25314
25685
|
enumerable: true,
|
|
25315
25686
|
configurable: true,
|
|
@@ -25329,6 +25700,7 @@ export class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
|
25329
25700
|
value: void 0
|
|
25330
25701
|
});
|
|
25331
25702
|
this.noWebpage = params.noWebpage;
|
|
25703
|
+
this.invertMedia = params.invertMedia;
|
|
25332
25704
|
this.message = params.message;
|
|
25333
25705
|
this.entities = params.entities;
|
|
25334
25706
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -25658,6 +26030,96 @@ export class InputBotInlineMessageMediaInvoice extends _TypeInputBotInlineMessag
|
|
|
25658
26030
|
this.replyMarkup = params.replyMarkup;
|
|
25659
26031
|
}
|
|
25660
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
|
+
}
|
|
25661
26123
|
export class InputBotInlineResult extends _TypeInputBotInlineResult {
|
|
25662
26124
|
get [id]() {
|
|
25663
26125
|
return 0x88BF9319;
|
|
@@ -25922,6 +26384,7 @@ export class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
25922
26384
|
static get [paramDesc]() {
|
|
25923
26385
|
return [
|
|
25924
26386
|
["flags", flags, "#"],
|
|
26387
|
+
["invertMedia", "true", "flags.3?true"],
|
|
25925
26388
|
["message", "string", "string"],
|
|
25926
26389
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25927
26390
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25930,6 +26393,7 @@ export class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
25930
26393
|
get [params]() {
|
|
25931
26394
|
return [
|
|
25932
26395
|
["flags", flags, "#"],
|
|
26396
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
25933
26397
|
[this.message, "string", "string"],
|
|
25934
26398
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25935
26399
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25937,6 +26401,12 @@ export class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
25937
26401
|
}
|
|
25938
26402
|
constructor(params) {
|
|
25939
26403
|
super();
|
|
26404
|
+
Object.defineProperty(this, "invertMedia", {
|
|
26405
|
+
enumerable: true,
|
|
26406
|
+
configurable: true,
|
|
26407
|
+
writable: true,
|
|
26408
|
+
value: void 0
|
|
26409
|
+
});
|
|
25940
26410
|
Object.defineProperty(this, "message", {
|
|
25941
26411
|
enumerable: true,
|
|
25942
26412
|
configurable: true,
|
|
@@ -25955,6 +26425,7 @@ export class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
25955
26425
|
writable: true,
|
|
25956
26426
|
value: void 0
|
|
25957
26427
|
});
|
|
26428
|
+
this.invertMedia = params.invertMedia;
|
|
25958
26429
|
this.message = params.message;
|
|
25959
26430
|
this.entities = params.entities;
|
|
25960
26431
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -25968,6 +26439,7 @@ export class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
25968
26439
|
return [
|
|
25969
26440
|
["flags", flags, "#"],
|
|
25970
26441
|
["noWebpage", "true", "flags.0?true"],
|
|
26442
|
+
["invertMedia", "true", "flags.3?true"],
|
|
25971
26443
|
["message", "string", "string"],
|
|
25972
26444
|
["entities", [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25973
26445
|
["replyMarkup", _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25977,6 +26449,7 @@ export class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
25977
26449
|
return [
|
|
25978
26450
|
["flags", flags, "#"],
|
|
25979
26451
|
[this.noWebpage ?? null, "true", "flags.0?true"],
|
|
26452
|
+
[this.invertMedia ?? null, "true", "flags.3?true"],
|
|
25980
26453
|
[this.message, "string", "string"],
|
|
25981
26454
|
[this.entities ?? null, [_TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
25982
26455
|
[this.replyMarkup ?? null, _TypeReplyMarkup, "flags.2?ReplyMarkup"],
|
|
@@ -25990,6 +26463,12 @@ export class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
25990
26463
|
writable: true,
|
|
25991
26464
|
value: void 0
|
|
25992
26465
|
});
|
|
26466
|
+
Object.defineProperty(this, "invertMedia", {
|
|
26467
|
+
enumerable: true,
|
|
26468
|
+
configurable: true,
|
|
26469
|
+
writable: true,
|
|
26470
|
+
value: void 0
|
|
26471
|
+
});
|
|
25993
26472
|
Object.defineProperty(this, "message", {
|
|
25994
26473
|
enumerable: true,
|
|
25995
26474
|
configurable: true,
|
|
@@ -26009,6 +26488,7 @@ export class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
26009
26488
|
value: void 0
|
|
26010
26489
|
});
|
|
26011
26490
|
this.noWebpage = params.noWebpage;
|
|
26491
|
+
this.invertMedia = params.invertMedia;
|
|
26012
26492
|
this.message = params.message;
|
|
26013
26493
|
this.entities = params.entities;
|
|
26014
26494
|
this.replyMarkup = params.replyMarkup;
|
|
@@ -26311,6 +26791,105 @@ export class BotInlineMessageMediaInvoice extends _TypeBotInlineMessage {
|
|
|
26311
26791
|
this.replyMarkup = params.replyMarkup;
|
|
26312
26792
|
}
|
|
26313
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
|
+
}
|
|
26314
26893
|
export class BotInlineResult extends _TypeBotInlineResult {
|
|
26315
26894
|
get [id]() {
|
|
26316
26895
|
return 0x11965F3A;
|
|
@@ -27683,15 +28262,17 @@ export class DraftMessageEmpty extends _TypeDraftMessage {
|
|
|
27683
28262
|
}
|
|
27684
28263
|
export class DraftMessage extends _TypeDraftMessage {
|
|
27685
28264
|
get [id]() {
|
|
27686
|
-
return
|
|
28265
|
+
return 0x3FCCF7EF;
|
|
27687
28266
|
}
|
|
27688
28267
|
static get [paramDesc]() {
|
|
27689
28268
|
return [
|
|
27690
28269
|
["flags", flags, "#"],
|
|
27691
28270
|
["noWebpage", "true", "flags.1?true"],
|
|
27692
|
-
["
|
|
28271
|
+
["invertMedia", "true", "flags.6?true"],
|
|
28272
|
+
["replyTo", _TypeInputReplyTo, "flags.4?InputReplyTo"],
|
|
27693
28273
|
["message", "string", "string"],
|
|
27694
28274
|
["entities", [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
28275
|
+
["media", _TypeInputMedia, "flags.5?InputMedia"],
|
|
27695
28276
|
["date", "number", "int"],
|
|
27696
28277
|
];
|
|
27697
28278
|
}
|
|
@@ -27699,9 +28280,11 @@ export class DraftMessage extends _TypeDraftMessage {
|
|
|
27699
28280
|
return [
|
|
27700
28281
|
["flags", flags, "#"],
|
|
27701
28282
|
[this.noWebpage ?? null, "true", "flags.1?true"],
|
|
27702
|
-
[this.
|
|
28283
|
+
[this.invertMedia ?? null, "true", "flags.6?true"],
|
|
28284
|
+
[this.replyTo ?? null, _TypeInputReplyTo, "flags.4?InputReplyTo"],
|
|
27703
28285
|
[this.message, "string", "string"],
|
|
27704
28286
|
[this.entities ?? null, [_TypeMessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
28287
|
+
[this.media ?? null, _TypeInputMedia, "flags.5?InputMedia"],
|
|
27705
28288
|
[this.date, "number", "int"],
|
|
27706
28289
|
];
|
|
27707
28290
|
}
|
|
@@ -27713,7 +28296,13 @@ export class DraftMessage extends _TypeDraftMessage {
|
|
|
27713
28296
|
writable: true,
|
|
27714
28297
|
value: void 0
|
|
27715
28298
|
});
|
|
27716
|
-
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", {
|
|
27717
28306
|
enumerable: true,
|
|
27718
28307
|
configurable: true,
|
|
27719
28308
|
writable: true,
|
|
@@ -27731,6 +28320,12 @@ export class DraftMessage extends _TypeDraftMessage {
|
|
|
27731
28320
|
writable: true,
|
|
27732
28321
|
value: void 0
|
|
27733
28322
|
});
|
|
28323
|
+
Object.defineProperty(this, "media", {
|
|
28324
|
+
enumerable: true,
|
|
28325
|
+
configurable: true,
|
|
28326
|
+
writable: true,
|
|
28327
|
+
value: void 0
|
|
28328
|
+
});
|
|
27734
28329
|
Object.defineProperty(this, "date", {
|
|
27735
28330
|
enumerable: true,
|
|
27736
28331
|
configurable: true,
|
|
@@ -27738,9 +28333,11 @@ export class DraftMessage extends _TypeDraftMessage {
|
|
|
27738
28333
|
value: void 0
|
|
27739
28334
|
});
|
|
27740
28335
|
this.noWebpage = params.noWebpage;
|
|
27741
|
-
this.
|
|
28336
|
+
this.invertMedia = params.invertMedia;
|
|
28337
|
+
this.replyTo = params.replyTo;
|
|
27742
28338
|
this.message = params.message;
|
|
27743
28339
|
this.entities = params.entities;
|
|
28340
|
+
this.media = params.media;
|
|
27744
28341
|
this.date = params.date;
|
|
27745
28342
|
}
|
|
27746
28343
|
}
|
|
@@ -33888,6 +34485,74 @@ export class ChannelAdminLogEventActionToggleAntiSpam extends _TypeChannelAdminL
|
|
|
33888
34485
|
this.newValue = params.newValue;
|
|
33889
34486
|
}
|
|
33890
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
|
+
}
|
|
33891
34556
|
export class ChannelAdminLogEvent extends _TypeChannelAdminLogEvent {
|
|
33892
34557
|
get [id]() {
|
|
33893
34558
|
return 0x1FAD68CD;
|
|
@@ -41626,16 +42291,21 @@ export class MessagesDiscussionMessage extends _TypeMessagesDiscussionMessage {
|
|
|
41626
42291
|
}
|
|
41627
42292
|
export class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
41628
42293
|
get [id]() {
|
|
41629
|
-
return
|
|
42294
|
+
return 0x6EEBCABD;
|
|
41630
42295
|
}
|
|
41631
42296
|
static get [paramDesc]() {
|
|
41632
42297
|
return [
|
|
41633
42298
|
["flags", flags, "#"],
|
|
41634
42299
|
["replyToScheduled", "true", "flags.2?true"],
|
|
41635
42300
|
["forumTopic", "true", "flags.3?true"],
|
|
41636
|
-
["
|
|
42301
|
+
["quote", "true", "flags.9?true"],
|
|
42302
|
+
["replyToMsgId", "number", "flags.4?int"],
|
|
41637
42303
|
["replyToPeerId", _TypePeer, "flags.0?Peer"],
|
|
42304
|
+
["replyFrom", _TypeMessageFwdHeader, "flags.5?MessageFwdHeader"],
|
|
42305
|
+
["replyMedia", _TypeMessageMedia, "flags.8?MessageMedia"],
|
|
41638
42306
|
["replyToTopId", "number", "flags.1?int"],
|
|
42307
|
+
["quoteText", "string", "flags.6?string"],
|
|
42308
|
+
["quoteEntities", [_TypeMessageEntity], "flags.7?Vector<MessageEntity>"],
|
|
41639
42309
|
];
|
|
41640
42310
|
}
|
|
41641
42311
|
get [params]() {
|
|
@@ -41643,9 +42313,14 @@ export class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
41643
42313
|
["flags", flags, "#"],
|
|
41644
42314
|
[this.replyToScheduled ?? null, "true", "flags.2?true"],
|
|
41645
42315
|
[this.forumTopic ?? null, "true", "flags.3?true"],
|
|
41646
|
-
[this.
|
|
42316
|
+
[this.quote ?? null, "true", "flags.9?true"],
|
|
42317
|
+
[this.replyToMsgId ?? null, "number", "flags.4?int"],
|
|
41647
42318
|
[this.replyToPeerId ?? null, _TypePeer, "flags.0?Peer"],
|
|
42319
|
+
[this.replyFrom ?? null, _TypeMessageFwdHeader, "flags.5?MessageFwdHeader"],
|
|
42320
|
+
[this.replyMedia ?? null, _TypeMessageMedia, "flags.8?MessageMedia"],
|
|
41648
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>"],
|
|
41649
42324
|
];
|
|
41650
42325
|
}
|
|
41651
42326
|
constructor(params) {
|
|
@@ -41662,6 +42337,12 @@ export class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
41662
42337
|
writable: true,
|
|
41663
42338
|
value: void 0
|
|
41664
42339
|
});
|
|
42340
|
+
Object.defineProperty(this, "quote", {
|
|
42341
|
+
enumerable: true,
|
|
42342
|
+
configurable: true,
|
|
42343
|
+
writable: true,
|
|
42344
|
+
value: void 0
|
|
42345
|
+
});
|
|
41665
42346
|
Object.defineProperty(this, "replyToMsgId", {
|
|
41666
42347
|
enumerable: true,
|
|
41667
42348
|
configurable: true,
|
|
@@ -41674,17 +42355,46 @@ export class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
|
41674
42355
|
writable: true,
|
|
41675
42356
|
value: void 0
|
|
41676
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
|
+
});
|
|
41677
42370
|
Object.defineProperty(this, "replyToTopId", {
|
|
41678
42371
|
enumerable: true,
|
|
41679
42372
|
configurable: true,
|
|
41680
42373
|
writable: true,
|
|
41681
42374
|
value: void 0
|
|
41682
42375
|
});
|
|
41683
|
-
this
|
|
41684
|
-
|
|
41685
|
-
|
|
41686
|
-
|
|
41687
|
-
|
|
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;
|
|
41688
42398
|
}
|
|
41689
42399
|
}
|
|
41690
42400
|
export class MessageReplyStoryHeader extends _TypeMessageReplyHeader {
|
|
@@ -45183,6 +45893,40 @@ export class InputInvoiceSlug extends _TypeInputInvoice {
|
|
|
45183
45893
|
this.slug = params.slug;
|
|
45184
45894
|
}
|
|
45185
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
|
+
}
|
|
45186
45930
|
export class PaymentsExportedInvoice extends _TypePaymentsExportedInvoice {
|
|
45187
45931
|
get [id]() {
|
|
45188
45932
|
return 0xAED0CBD9;
|
|
@@ -45402,6 +46146,150 @@ export class InputStorePaymentGiftPremium extends _TypeInputStorePaymentPurpose
|
|
|
45402
46146
|
this.amount = params.amount;
|
|
45403
46147
|
}
|
|
45404
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
|
+
}
|
|
45405
46293
|
export class PremiumGiftOption extends _TypePremiumGiftOption {
|
|
45406
46294
|
get [id]() {
|
|
45407
46295
|
return 0x74C34319;
|
|
@@ -48701,13 +49589,16 @@ export class StoriesStoryViews extends _TypeStoriesStoryViews {
|
|
|
48701
49589
|
}
|
|
48702
49590
|
export class InputReplyToMessage extends _TypeInputReplyTo {
|
|
48703
49591
|
get [id]() {
|
|
48704
|
-
return
|
|
49592
|
+
return 0x073EC805;
|
|
48705
49593
|
}
|
|
48706
49594
|
static get [paramDesc]() {
|
|
48707
49595
|
return [
|
|
48708
49596
|
["flags", flags, "#"],
|
|
48709
49597
|
["replyToMsgId", "number", "int"],
|
|
48710
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>"],
|
|
48711
49602
|
];
|
|
48712
49603
|
}
|
|
48713
49604
|
get [params]() {
|
|
@@ -48715,6 +49606,9 @@ export class InputReplyToMessage extends _TypeInputReplyTo {
|
|
|
48715
49606
|
["flags", flags, "#"],
|
|
48716
49607
|
[this.replyToMsgId, "number", "int"],
|
|
48717
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>"],
|
|
48718
49612
|
];
|
|
48719
49613
|
}
|
|
48720
49614
|
constructor(params) {
|
|
@@ -48731,8 +49625,29 @@ export class InputReplyToMessage extends _TypeInputReplyTo {
|
|
|
48731
49625
|
writable: true,
|
|
48732
49626
|
value: void 0
|
|
48733
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
|
+
});
|
|
48734
49646
|
this.replyToMsgId = params.replyToMsgId;
|
|
48735
49647
|
this.topMsgId = params.topMsgId;
|
|
49648
|
+
this.replyToPeerId = params.replyToPeerId;
|
|
49649
|
+
this.quoteText = params.quoteText;
|
|
49650
|
+
this.quoteEntities = params.quoteEntities;
|
|
48736
49651
|
}
|
|
48737
49652
|
}
|
|
48738
49653
|
export class InputReplyToStory extends _TypeInputReplyTo {
|
|
@@ -49189,178 +50104,542 @@ export class StoriesPeerStories extends _TypeStoriesPeerStories {
|
|
|
49189
50104
|
this.users = params.users;
|
|
49190
50105
|
}
|
|
49191
50106
|
}
|
|
49192
|
-
export class
|
|
50107
|
+
export class MessagesWebPage extends _TypeMessagesWebPage {
|
|
49193
50108
|
get [id]() {
|
|
49194
|
-
return
|
|
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;
|
|
49195
50153
|
}
|
|
49196
50154
|
static get [paramDesc]() {
|
|
49197
50155
|
return [
|
|
49198
50156
|
["flags", flags, "#"],
|
|
49199
|
-
["
|
|
49200
|
-
["
|
|
49201
|
-
["
|
|
49202
|
-
["
|
|
49203
|
-
["
|
|
49204
|
-
["
|
|
49205
|
-
["boostUrl", "string", "string"],
|
|
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"],
|
|
49206
50163
|
];
|
|
49207
50164
|
}
|
|
49208
50165
|
get [params]() {
|
|
49209
50166
|
return [
|
|
49210
50167
|
["flags", flags, "#"],
|
|
49211
|
-
[this.
|
|
49212
|
-
[this.
|
|
49213
|
-
[this.
|
|
49214
|
-
[this.
|
|
49215
|
-
[this.
|
|
49216
|
-
[this.
|
|
49217
|
-
[this.boostUrl, "string", "string"],
|
|
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"],
|
|
49218
50174
|
];
|
|
49219
50175
|
}
|
|
49220
50176
|
constructor(params) {
|
|
49221
50177
|
super();
|
|
49222
|
-
Object.defineProperty(this, "
|
|
50178
|
+
Object.defineProperty(this, "users", {
|
|
49223
50179
|
enumerable: true,
|
|
49224
50180
|
configurable: true,
|
|
49225
50181
|
writable: true,
|
|
49226
50182
|
value: void 0
|
|
49227
50183
|
});
|
|
49228
|
-
Object.defineProperty(this, "
|
|
50184
|
+
Object.defineProperty(this, "months", {
|
|
49229
50185
|
enumerable: true,
|
|
49230
50186
|
configurable: true,
|
|
49231
50187
|
writable: true,
|
|
49232
50188
|
value: void 0
|
|
49233
50189
|
});
|
|
49234
|
-
Object.defineProperty(this, "
|
|
50190
|
+
Object.defineProperty(this, "storeProduct", {
|
|
49235
50191
|
enumerable: true,
|
|
49236
50192
|
configurable: true,
|
|
49237
50193
|
writable: true,
|
|
49238
50194
|
value: void 0
|
|
49239
50195
|
});
|
|
49240
|
-
Object.defineProperty(this, "
|
|
50196
|
+
Object.defineProperty(this, "storeQuantity", {
|
|
49241
50197
|
enumerable: true,
|
|
49242
50198
|
configurable: true,
|
|
49243
50199
|
writable: true,
|
|
49244
50200
|
value: void 0
|
|
49245
50201
|
});
|
|
49246
|
-
Object.defineProperty(this, "
|
|
50202
|
+
Object.defineProperty(this, "currency", {
|
|
49247
50203
|
enumerable: true,
|
|
49248
50204
|
configurable: true,
|
|
49249
50205
|
writable: true,
|
|
49250
50206
|
value: void 0
|
|
49251
50207
|
});
|
|
49252
|
-
Object.defineProperty(this, "
|
|
50208
|
+
Object.defineProperty(this, "amount", {
|
|
49253
50209
|
enumerable: true,
|
|
49254
50210
|
configurable: true,
|
|
49255
50211
|
writable: true,
|
|
49256
50212
|
value: void 0
|
|
49257
50213
|
});
|
|
49258
|
-
|
|
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", {
|
|
49259
50257
|
enumerable: true,
|
|
49260
50258
|
configurable: true,
|
|
49261
50259
|
writable: true,
|
|
49262
50260
|
value: void 0
|
|
49263
50261
|
});
|
|
49264
|
-
this
|
|
49265
|
-
|
|
49266
|
-
|
|
49267
|
-
|
|
49268
|
-
|
|
49269
|
-
|
|
49270
|
-
this
|
|
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;
|
|
49271
50319
|
}
|
|
49272
50320
|
}
|
|
49273
|
-
export class
|
|
50321
|
+
export class PaymentsGiveawayInfo extends _TypePaymentsGiveawayInfo {
|
|
49274
50322
|
get [id]() {
|
|
49275
|
-
return
|
|
50323
|
+
return 0x4367DAA0;
|
|
49276
50324
|
}
|
|
49277
50325
|
static get [paramDesc]() {
|
|
49278
|
-
return [
|
|
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
|
+
];
|
|
49279
50335
|
}
|
|
49280
50336
|
get [params]() {
|
|
49281
|
-
return [
|
|
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
|
+
];
|
|
49282
50346
|
}
|
|
49283
|
-
constructor() {
|
|
50347
|
+
constructor(params) {
|
|
49284
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;
|
|
49285
50391
|
}
|
|
49286
50392
|
}
|
|
49287
|
-
export class
|
|
50393
|
+
export class PaymentsGiveawayInfoResults extends _TypePaymentsGiveawayInfo {
|
|
49288
50394
|
get [id]() {
|
|
49289
|
-
return
|
|
50395
|
+
return 0x00CD5570;
|
|
49290
50396
|
}
|
|
49291
50397
|
static get [paramDesc]() {
|
|
49292
50398
|
return [
|
|
49293
|
-
["
|
|
49294
|
-
["
|
|
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"],
|
|
49295
50407
|
];
|
|
49296
50408
|
}
|
|
49297
50409
|
get [params]() {
|
|
49298
50410
|
return [
|
|
49299
|
-
[
|
|
49300
|
-
[this.
|
|
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"],
|
|
49301
50419
|
];
|
|
49302
50420
|
}
|
|
49303
50421
|
constructor(params) {
|
|
49304
50422
|
super();
|
|
49305
|
-
Object.defineProperty(this, "
|
|
50423
|
+
Object.defineProperty(this, "winner", {
|
|
49306
50424
|
enumerable: true,
|
|
49307
50425
|
configurable: true,
|
|
49308
50426
|
writable: true,
|
|
49309
50427
|
value: void 0
|
|
49310
50428
|
});
|
|
49311
|
-
Object.defineProperty(this, "
|
|
50429
|
+
Object.defineProperty(this, "refunded", {
|
|
49312
50430
|
enumerable: true,
|
|
49313
50431
|
configurable: true,
|
|
49314
50432
|
writable: true,
|
|
49315
50433
|
value: void 0
|
|
49316
50434
|
});
|
|
49317
|
-
this
|
|
49318
|
-
|
|
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;
|
|
49319
50472
|
}
|
|
49320
50473
|
}
|
|
49321
|
-
export class
|
|
50474
|
+
export class PrepaidGiveaway extends _TypePrepaidGiveaway {
|
|
49322
50475
|
get [id]() {
|
|
49323
|
-
return
|
|
50476
|
+
return 0xB2539D54;
|
|
49324
50477
|
}
|
|
49325
50478
|
static get [paramDesc]() {
|
|
49326
50479
|
return [
|
|
49327
|
-
["
|
|
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"],
|
|
49328
50540
|
["expires", "number", "int"],
|
|
50541
|
+
["usedGiftSlug", "string", "flags.4?string"],
|
|
50542
|
+
["multiplier", "number", "flags.5?int"],
|
|
49329
50543
|
];
|
|
49330
50544
|
}
|
|
49331
50545
|
get [params]() {
|
|
49332
50546
|
return [
|
|
49333
|
-
[
|
|
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"],
|
|
49334
50555
|
[this.expires, "number", "int"],
|
|
50556
|
+
[this.usedGiftSlug ?? null, "string", "flags.4?string"],
|
|
50557
|
+
[this.multiplier ?? null, "number", "flags.5?int"],
|
|
49335
50558
|
];
|
|
49336
50559
|
}
|
|
49337
50560
|
constructor(params) {
|
|
49338
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
|
+
});
|
|
49339
50586
|
Object.defineProperty(this, "userId", {
|
|
49340
50587
|
enumerable: true,
|
|
49341
50588
|
configurable: true,
|
|
49342
50589
|
writable: true,
|
|
49343
50590
|
value: void 0
|
|
49344
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
|
+
});
|
|
49345
50604
|
Object.defineProperty(this, "expires", {
|
|
49346
50605
|
enumerable: true,
|
|
49347
50606
|
configurable: true,
|
|
49348
50607
|
writable: true,
|
|
49349
50608
|
value: void 0
|
|
49350
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;
|
|
49351
50626
|
this.userId = params.userId;
|
|
50627
|
+
this.giveawayMsgId = params.giveawayMsgId;
|
|
50628
|
+
this.date = params.date;
|
|
49352
50629
|
this.expires = params.expires;
|
|
50630
|
+
this.usedGiftSlug = params.usedGiftSlug;
|
|
50631
|
+
this.multiplier = params.multiplier;
|
|
49353
50632
|
}
|
|
49354
50633
|
}
|
|
49355
|
-
export class
|
|
50634
|
+
export class PremiumBoostsList extends _TypePremiumBoostsList {
|
|
49356
50635
|
get [id]() {
|
|
49357
|
-
return
|
|
50636
|
+
return 0x86F8613C;
|
|
49358
50637
|
}
|
|
49359
50638
|
static get [paramDesc]() {
|
|
49360
50639
|
return [
|
|
49361
50640
|
["flags", flags, "#"],
|
|
49362
50641
|
["count", "number", "int"],
|
|
49363
|
-
["
|
|
50642
|
+
["boosts", [_TypeBoost], "Vector<Boost>"],
|
|
49364
50643
|
["nextOffset", "string", "flags.0?string"],
|
|
49365
50644
|
["users", [_TypeUser], "Vector<User>"],
|
|
49366
50645
|
];
|
|
@@ -49369,7 +50648,7 @@ export class StoriesBoostersList extends _TypeStoriesBoostersList {
|
|
|
49369
50648
|
return [
|
|
49370
50649
|
["flags", flags, "#"],
|
|
49371
50650
|
[this.count, "number", "int"],
|
|
49372
|
-
[this.
|
|
50651
|
+
[this.boosts, [_TypeBoost], "Vector<Boost>"],
|
|
49373
50652
|
[this.nextOffset ?? null, "string", "flags.0?string"],
|
|
49374
50653
|
[this.users, [_TypeUser], "Vector<User>"],
|
|
49375
50654
|
];
|
|
@@ -49382,7 +50661,7 @@ export class StoriesBoostersList extends _TypeStoriesBoostersList {
|
|
|
49382
50661
|
writable: true,
|
|
49383
50662
|
value: void 0
|
|
49384
50663
|
});
|
|
49385
|
-
Object.defineProperty(this, "
|
|
50664
|
+
Object.defineProperty(this, "boosts", {
|
|
49386
50665
|
enumerable: true,
|
|
49387
50666
|
configurable: true,
|
|
49388
50667
|
writable: true,
|
|
@@ -49401,32 +50680,95 @@ export class StoriesBoostersList extends _TypeStoriesBoostersList {
|
|
|
49401
50680
|
value: void 0
|
|
49402
50681
|
});
|
|
49403
50682
|
this.count = params.count;
|
|
49404
|
-
this.
|
|
50683
|
+
this.boosts = params.boosts;
|
|
49405
50684
|
this.nextOffset = params.nextOffset;
|
|
49406
50685
|
this.users = params.users;
|
|
49407
50686
|
}
|
|
49408
50687
|
}
|
|
49409
|
-
export class
|
|
50688
|
+
export class MyBoost extends _TypeMyBoost {
|
|
49410
50689
|
get [id]() {
|
|
49411
|
-
return
|
|
50690
|
+
return 0xC448415C;
|
|
49412
50691
|
}
|
|
49413
50692
|
static get [paramDesc]() {
|
|
49414
50693
|
return [
|
|
49415
|
-
["
|
|
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>"],
|
|
49416
50758
|
["chats", [_TypeChat], "Vector<Chat>"],
|
|
49417
50759
|
["users", [_TypeUser], "Vector<User>"],
|
|
49418
50760
|
];
|
|
49419
50761
|
}
|
|
49420
50762
|
get [params]() {
|
|
49421
50763
|
return [
|
|
49422
|
-
[this.
|
|
50764
|
+
[this.myBoosts, [_TypeMyBoost], "Vector<MyBoost>"],
|
|
49423
50765
|
[this.chats, [_TypeChat], "Vector<Chat>"],
|
|
49424
50766
|
[this.users, [_TypeUser], "Vector<User>"],
|
|
49425
50767
|
];
|
|
49426
50768
|
}
|
|
49427
50769
|
constructor(params) {
|
|
49428
50770
|
super();
|
|
49429
|
-
Object.defineProperty(this, "
|
|
50771
|
+
Object.defineProperty(this, "myBoosts", {
|
|
49430
50772
|
enumerable: true,
|
|
49431
50773
|
configurable: true,
|
|
49432
50774
|
writable: true,
|
|
@@ -49444,11 +50786,119 @@ export class MessagesWebPage extends _TypeMessagesWebPage {
|
|
|
49444
50786
|
writable: true,
|
|
49445
50787
|
value: void 0
|
|
49446
50788
|
});
|
|
49447
|
-
this.
|
|
50789
|
+
this.myBoosts = params.myBoosts;
|
|
49448
50790
|
this.chats = params.chats;
|
|
49449
50791
|
this.users = params.users;
|
|
49450
50792
|
}
|
|
49451
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
|
+
}
|
|
49452
50902
|
export const map = new Map([
|
|
49453
50903
|
[0x05162463, ResPQ],
|
|
49454
50904
|
[0xA9F55F95, PQInnerDataDC],
|
|
@@ -49517,6 +50967,7 @@ export const map = new Map([
|
|
|
49517
50967
|
[0x0F94E5F1, InputMediaPoll],
|
|
49518
50968
|
[0xE66FBF7B, InputMediaDice],
|
|
49519
50969
|
[0x89FDD778, InputMediaStory],
|
|
50970
|
+
[0xC21B8849, InputMediaWebPage],
|
|
49520
50971
|
[0x1CA48F57, InputChatPhotoEmpty],
|
|
49521
50972
|
[0xBDCDAEC0, InputChatUploadedPhoto],
|
|
49522
50973
|
[0x8953AD37, InputChatPhoto],
|
|
@@ -49548,7 +50999,7 @@ export const map = new Map([
|
|
|
49548
50999
|
[0xB3CEA0E4, StorageFileMp4],
|
|
49549
51000
|
[0x1081464C, StorageFileWebp],
|
|
49550
51001
|
[0xD3BC4B7A, UserEmpty],
|
|
49551
|
-
[
|
|
51002
|
+
[0xEB602F25, User],
|
|
49552
51003
|
[0x4F11BAE1, UserProfilePhotoEmpty],
|
|
49553
51004
|
[0x82D1F706, UserProfilePhoto],
|
|
49554
51005
|
[0x09D05049, UserStatusEmpty],
|
|
@@ -49560,7 +51011,7 @@ export const map = new Map([
|
|
|
49560
51011
|
[0x29562865, ChatEmpty],
|
|
49561
51012
|
[0x41CBF256, Chat],
|
|
49562
51013
|
[0x6592A1A7, ChatForbidden],
|
|
49563
|
-
[
|
|
51014
|
+
[0x1981EA7E, Channel],
|
|
49564
51015
|
[0x17D493D5, ChannelForbidden],
|
|
49565
51016
|
[0xC9D31138, ChatFull],
|
|
49566
51017
|
[0x723027BD, ChannelFull],
|
|
@@ -49580,7 +51031,7 @@ export const map = new Map([
|
|
|
49580
51031
|
[0x70322949, MessageMediaContact],
|
|
49581
51032
|
[0x9F84F49E, MessageMediaUnsupported],
|
|
49582
51033
|
[0x4CF4D72D, MessageMediaDocument],
|
|
49583
|
-
[
|
|
51034
|
+
[0xDDF10C3B, MessageMediaWebPage],
|
|
49584
51035
|
[0x2EC0533F, MessageMediaVenue],
|
|
49585
51036
|
[0xFDB19008, MessageMediaGame],
|
|
49586
51037
|
[0xF6A548D3, MessageMediaInvoice],
|
|
@@ -49588,6 +51039,7 @@ export const map = new Map([
|
|
|
49588
51039
|
[0x4BD6E798, MessageMediaPoll],
|
|
49589
51040
|
[0x3F7EE58B, MessageMediaDice],
|
|
49590
51041
|
[0x68CB6283, MessageMediaStory],
|
|
51042
|
+
[0x58260664, MessageMediaGiveaway],
|
|
49591
51043
|
[0xB6AEF7B0, MessageActionEmpty],
|
|
49592
51044
|
[0xBD47CBAD, MessageActionChatCreate],
|
|
49593
51045
|
[0xB5A1CE5A, MessageActionChatEditTitle],
|
|
@@ -49627,6 +51079,8 @@ export const map = new Map([
|
|
|
49627
51079
|
[0xFE77345D, MessageActionRequestedPeer],
|
|
49628
51080
|
[0xBC44A927, MessageActionSetChatWallPaper],
|
|
49629
51081
|
[0xC0787D6D, MessageActionSetSameChatWallPaper],
|
|
51082
|
+
[0xD2CFDB0E, MessageActionGiftCode],
|
|
51083
|
+
[0x332BA9ED, MessageActionGiveawayLaunch],
|
|
49630
51084
|
[0xD58A08C6, Dialog],
|
|
49631
51085
|
[0x71BD134C, DialogFolder],
|
|
49632
51086
|
[0x2331B22D, PhotoEmpty],
|
|
@@ -49942,8 +51396,8 @@ export const map = new Map([
|
|
|
49942
51396
|
[0xE86602C3, MessagesAllStickersNotModified],
|
|
49943
51397
|
[0xCDBBCEBB, MessagesAllStickers],
|
|
49944
51398
|
[0x84D19185, MessagesAffectedMessages],
|
|
49945
|
-
[
|
|
49946
|
-
[
|
|
51399
|
+
[0x211A1788, WebPageEmpty],
|
|
51400
|
+
[0xB0D13E47, WebPagePending],
|
|
49947
51401
|
[0xE89C45B2, WebPage],
|
|
49948
51402
|
[0x7311CA11, WebPageNotModified],
|
|
49949
51403
|
[0xAD01D61D, Authorization],
|
|
@@ -49956,7 +51410,7 @@ export const map = new Map([
|
|
|
49956
51410
|
[0x0AB4A819, ChatInviteExported],
|
|
49957
51411
|
[0xED107AB7, ChatInvitePublicJoinRequests],
|
|
49958
51412
|
[0x5A686D7C, ChatInviteAlready],
|
|
49959
|
-
[
|
|
51413
|
+
[0xCDE0EC40, ChatInvite],
|
|
49960
51414
|
[0x61695CB0, ChatInvitePeek],
|
|
49961
51415
|
[0xFFB62B95, InputStickerSetEmpty],
|
|
49962
51416
|
[0x9DE7A269, InputStickerSetID],
|
|
@@ -50011,10 +51465,10 @@ export const map = new Map([
|
|
|
50011
51465
|
[0x4C4E743F, MessageEntityCashtag],
|
|
50012
51466
|
[0x9C4E7E8B, MessageEntityUnderline],
|
|
50013
51467
|
[0xBF0693D4, MessageEntityStrike],
|
|
50014
|
-
[0x020DF5D0, MessageEntityBlockquote],
|
|
50015
51468
|
[0x761E6AF4, MessageEntityBankCard],
|
|
50016
51469
|
[0x32CA960F, MessageEntitySpoiler],
|
|
50017
51470
|
[0xC8CF05F8, MessageEntityCustomEmoji],
|
|
51471
|
+
[0x020DF5D0, MessageEntityBlockquote],
|
|
50018
51472
|
[0xEE8C1E86, InputChannelEmpty],
|
|
50019
51473
|
[0xF35AEC28, InputChannel],
|
|
50020
51474
|
[0x5B934F9D, InputChannelFromMessage],
|
|
@@ -50052,6 +51506,7 @@ export const map = new Map([
|
|
|
50052
51506
|
[0xA6EDBFFD, InputBotInlineMessageMediaContact],
|
|
50053
51507
|
[0x4B425864, InputBotInlineMessageGame],
|
|
50054
51508
|
[0xD7E78225, InputBotInlineMessageMediaInvoice],
|
|
51509
|
+
[0xBDDCC510, InputBotInlineMessageMediaWebPage],
|
|
50055
51510
|
[0x88BF9319, InputBotInlineResult],
|
|
50056
51511
|
[0xA8D864A7, InputBotInlineResultPhoto],
|
|
50057
51512
|
[0xFFF8FDC4, InputBotInlineResultDocument],
|
|
@@ -50062,6 +51517,7 @@ export const map = new Map([
|
|
|
50062
51517
|
[0x8A86659C, BotInlineMessageMediaVenue],
|
|
50063
51518
|
[0x18D1CDC2, BotInlineMessageMediaContact],
|
|
50064
51519
|
[0x354A9B09, BotInlineMessageMediaInvoice],
|
|
51520
|
+
[0x809AD9A6, BotInlineMessageMediaWebPage],
|
|
50065
51521
|
[0x11965F3A, BotInlineResult],
|
|
50066
51522
|
[0x17DB940B, BotInlineMediaResult],
|
|
50067
51523
|
[0xE021F2F6, MessagesBotResults],
|
|
@@ -50101,7 +51557,7 @@ export const map = new Map([
|
|
|
50101
51557
|
[0x70B772A8, ContactsTopPeers],
|
|
50102
51558
|
[0xB52C939D, ContactsTopPeersDisabled],
|
|
50103
51559
|
[0x1B0C841A, DraftMessageEmpty],
|
|
50104
|
-
[
|
|
51560
|
+
[0x3FCCF7EF, DraftMessage],
|
|
50105
51561
|
[0xC6DC0C66, MessagesFeaturedStickersNotModified],
|
|
50106
51562
|
[0xBE382906, MessagesFeaturedStickers],
|
|
50107
51563
|
[0x0B17F890, MessagesRecentStickersNotModified],
|
|
@@ -50260,6 +51716,8 @@ export const map = new Map([
|
|
|
50260
51716
|
[0xAE168909, ChannelAdminLogEventActionDeleteTopic],
|
|
50261
51717
|
[0x5D8D353B, ChannelAdminLogEventActionPinTopic],
|
|
50262
51718
|
[0x64F36DFC, ChannelAdminLogEventActionToggleAntiSpam],
|
|
51719
|
+
[0x3C2B247B, ChannelAdminLogEventActionChangeColor],
|
|
51720
|
+
[0x445FC434, ChannelAdminLogEventActionChangeBackgroundEmoji],
|
|
50263
51721
|
[0x1FAD68CD, ChannelAdminLogEvent],
|
|
50264
51722
|
[0xED8AF74D, ChannelsAdminLogResults],
|
|
50265
51723
|
[0xEA107AE4, ChannelAdminLogEventsFilter],
|
|
@@ -50445,7 +51903,7 @@ export const map = new Map([
|
|
|
50445
51903
|
[0x455B853D, MessageViews],
|
|
50446
51904
|
[0xB6C4F543, MessagesMessageViews],
|
|
50447
51905
|
[0xA6341782, MessagesDiscussionMessage],
|
|
50448
|
-
[
|
|
51906
|
+
[0x6EEBCABD, MessageReplyHeader],
|
|
50449
51907
|
[0x9C98BFC1, MessageReplyStoryHeader],
|
|
50450
51908
|
[0x83D60FC2, MessageReplies],
|
|
50451
51909
|
[0xE8FD8014, PeerBlocked],
|
|
@@ -50536,11 +51994,14 @@ export const map = new Map([
|
|
|
50536
51994
|
[0x7BFBDEFC, AttachMenuPeerTypeBroadcast],
|
|
50537
51995
|
[0xC5B56859, InputInvoiceMessage],
|
|
50538
51996
|
[0xC326CAEF, InputInvoiceSlug],
|
|
51997
|
+
[0x98986C0D, InputInvoicePremiumGiftCode],
|
|
50539
51998
|
[0xAED0CBD9, PaymentsExportedInvoice],
|
|
50540
51999
|
[0x93752C52, MessagesTranscribedAudio],
|
|
50541
52000
|
[0x5334759C, HelpPremiumPromo],
|
|
50542
52001
|
[0xA6751E66, InputStorePaymentPremiumSubscription],
|
|
50543
52002
|
[0x616F7FE8, InputStorePaymentGiftPremium],
|
|
52003
|
+
[0xA3805F3F, InputStorePaymentPremiumGiftCode],
|
|
52004
|
+
[0x7C9375E6, InputStorePaymentPremiumGiveaway],
|
|
50544
52005
|
[0x74C34319, PremiumGiftOption],
|
|
50545
52006
|
[0x88F8F21B, PaymentFormMethod],
|
|
50546
52007
|
[0x2DE11AAE, EmojiStatusEmpty],
|
|
@@ -50620,7 +52081,7 @@ export const map = new Map([
|
|
|
50620
52081
|
[0xB0BDEAC5, StoryView],
|
|
50621
52082
|
[0x46E9B9EC, StoriesStoryViewsList],
|
|
50622
52083
|
[0xDE9EED1D, StoriesStoryViews],
|
|
50623
|
-
[
|
|
52084
|
+
[0x073EC805, InputReplyToMessage],
|
|
50624
52085
|
[0x15B0F283, InputReplyToStory],
|
|
50625
52086
|
[0x3FC9053B, ExportedStoryLink],
|
|
50626
52087
|
[0x712E27FD, StoriesStealthMode],
|
|
@@ -50631,11 +52092,16 @@ export const map = new Map([
|
|
|
50631
52092
|
[0x14455871, MediaAreaSuggestedReaction],
|
|
50632
52093
|
[0x9A35E999, PeerStories],
|
|
50633
52094
|
[0xCAE68768, StoriesPeerStories],
|
|
50634
|
-
[0xE5C1AA5C, StoriesBoostsStatus],
|
|
50635
|
-
[0xC3173587, StoriesCanApplyBoostOk],
|
|
50636
|
-
[0x712C4655, StoriesCanApplyBoostReplace],
|
|
50637
|
-
[0x0E9E6380, Booster],
|
|
50638
|
-
[0xF3DD3D1D, StoriesBoostersList],
|
|
50639
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],
|
|
50640
52106
|
// deno-lint-ignore no-explicit-any
|
|
50641
52107
|
]);
|