@mtkruto/node 0.0.981 → 0.0.982
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/client/0_message.js +1 -1
- package/esm/client/3_client.d.ts +1 -1
- package/esm/client/3_client.js +1 -1
- package/esm/constants.d.ts +2 -2
- package/esm/constants.js +2 -2
- package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_object_match.js +1 -1
- package/esm/deps.d.ts +2 -2
- package/esm/deps.js +2 -2
- package/esm/tl/2_types.d.ts +127 -2
- package/esm/tl/2_types.js +469 -19
- package/esm/tl/3_functions.d.ts +57 -4
- package/esm/tl/3_functions.js +221 -15
- package/package.json +1 -1
- package/script/client/0_message.js +1 -1
- package/script/client/3_client.d.ts +1 -1
- package/script/client/3_client.js +1 -1
- package/script/constants.d.ts +2 -2
- package/script/constants.js +2 -2
- package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_object_match.js +1 -1
- package/script/deps.d.ts +2 -2
- package/script/deps.js +2 -2
- package/script/tl/2_types.d.ts +127 -2
- package/script/tl/2_types.js +504 -44
- package/script/tl/3_functions.d.ts +57 -4
- package/script/tl/3_functions.js +232 -23
- package/esm/deps/deno.land/std@0.197.0/testing/asserts.d.ts +0 -329
- package/esm/deps/deno.land/std@0.197.0/testing/asserts.js +0 -330
- package/script/deps/deno.land/std@0.197.0/testing/asserts.d.ts +0 -329
- package/script/deps/deno.land/std@0.197.0/testing/asserts.js +0 -333
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/_util/diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/_util/diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/encoding/base64.js +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/_util/diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/_util/diff.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/encoding/base64.js +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/fmt/colors.js +0 -0
package/esm/tl/2_types.js
CHANGED
|
@@ -875,6 +875,12 @@ export class TypeInputReplyTo extends Type {
|
|
|
875
875
|
}
|
|
876
876
|
export class TypeExportedStoryLink extends Type {
|
|
877
877
|
}
|
|
878
|
+
export class TypeStoriesStealthMode extends Type {
|
|
879
|
+
}
|
|
880
|
+
export class TypeMediaAreaCoordinates extends Type {
|
|
881
|
+
}
|
|
882
|
+
export class TypeMediaArea extends Type {
|
|
883
|
+
}
|
|
878
884
|
export class ResPQ extends TypeResPQ {
|
|
879
885
|
get [id]() {
|
|
880
886
|
return 0x05162463;
|
|
@@ -10388,6 +10394,7 @@ export class UserFull extends TypeUserFull {
|
|
|
10388
10394
|
["voiceMessagesForbidden", "true", "flags.20?true"],
|
|
10389
10395
|
["translationsDisabled", "true", "flags.23?true"],
|
|
10390
10396
|
["storiesPinnedAvailable", "true", "flags.26?true"],
|
|
10397
|
+
["blockedMyStoriesFrom", "true", "flags.27?true"],
|
|
10391
10398
|
["id", "bigint", "long"],
|
|
10392
10399
|
["about", "string", "flags.1?string"],
|
|
10393
10400
|
["settings", TypePeerSettings, "PeerSettings"],
|
|
@@ -10421,6 +10428,7 @@ export class UserFull extends TypeUserFull {
|
|
|
10421
10428
|
[this.voiceMessagesForbidden ?? null, "true", "flags.20?true"],
|
|
10422
10429
|
[this.translationsDisabled ?? null, "true", "flags.23?true"],
|
|
10423
10430
|
[this.storiesPinnedAvailable ?? null, "true", "flags.26?true"],
|
|
10431
|
+
[this.blockedMyStoriesFrom ?? null, "true", "flags.27?true"],
|
|
10424
10432
|
[this.id, "bigint", "long"],
|
|
10425
10433
|
[this.about ?? null, "string", "flags.1?string"],
|
|
10426
10434
|
[this.settings, TypePeerSettings, "PeerSettings"],
|
|
@@ -10498,6 +10506,12 @@ export class UserFull extends TypeUserFull {
|
|
|
10498
10506
|
writable: true,
|
|
10499
10507
|
value: void 0
|
|
10500
10508
|
});
|
|
10509
|
+
Object.defineProperty(this, "blockedMyStoriesFrom", {
|
|
10510
|
+
enumerable: true,
|
|
10511
|
+
configurable: true,
|
|
10512
|
+
writable: true,
|
|
10513
|
+
value: void 0
|
|
10514
|
+
});
|
|
10501
10515
|
Object.defineProperty(this, "id", {
|
|
10502
10516
|
enumerable: true,
|
|
10503
10517
|
configurable: true,
|
|
@@ -10621,6 +10635,7 @@ export class UserFull extends TypeUserFull {
|
|
|
10621
10635
|
this.voiceMessagesForbidden = params.voiceMessagesForbidden;
|
|
10622
10636
|
this.translationsDisabled = params.translationsDisabled;
|
|
10623
10637
|
this.storiesPinnedAvailable = params.storiesPinnedAvailable;
|
|
10638
|
+
this.blockedMyStoriesFrom = params.blockedMyStoriesFrom;
|
|
10624
10639
|
this.id = params.id;
|
|
10625
10640
|
this.about = params.about;
|
|
10626
10641
|
this.settings = params.settings;
|
|
@@ -14807,36 +14822,47 @@ export class UpdateReadChannelDiscussionOutbox extends TypeUpdate {
|
|
|
14807
14822
|
}
|
|
14808
14823
|
export class UpdatePeerBlocked extends TypeUpdate {
|
|
14809
14824
|
get [id]() {
|
|
14810
|
-
return
|
|
14825
|
+
return 0xEBE07752;
|
|
14811
14826
|
}
|
|
14812
14827
|
static get [paramDesc]() {
|
|
14813
14828
|
return [
|
|
14829
|
+
["flags", flags, "#"],
|
|
14830
|
+
["blocked", "true", "flags.0?true"],
|
|
14831
|
+
["blockedMyStoriesFrom", "true", "flags.1?true"],
|
|
14814
14832
|
["peerId", TypePeer, "Peer"],
|
|
14815
|
-
["blocked", "boolean", "Bool"],
|
|
14816
14833
|
];
|
|
14817
14834
|
}
|
|
14818
14835
|
get [params]() {
|
|
14819
14836
|
return [
|
|
14837
|
+
["flags", flags, "#"],
|
|
14838
|
+
[this.blocked ?? null, "true", "flags.0?true"],
|
|
14839
|
+
[this.blockedMyStoriesFrom ?? null, "true", "flags.1?true"],
|
|
14820
14840
|
[this.peerId, TypePeer, "Peer"],
|
|
14821
|
-
[this.blocked, "boolean", "Bool"],
|
|
14822
14841
|
];
|
|
14823
14842
|
}
|
|
14824
14843
|
constructor(params) {
|
|
14825
14844
|
super();
|
|
14826
|
-
Object.defineProperty(this, "
|
|
14845
|
+
Object.defineProperty(this, "blocked", {
|
|
14827
14846
|
enumerable: true,
|
|
14828
14847
|
configurable: true,
|
|
14829
14848
|
writable: true,
|
|
14830
14849
|
value: void 0
|
|
14831
14850
|
});
|
|
14832
|
-
Object.defineProperty(this, "
|
|
14851
|
+
Object.defineProperty(this, "blockedMyStoriesFrom", {
|
|
14852
|
+
enumerable: true,
|
|
14853
|
+
configurable: true,
|
|
14854
|
+
writable: true,
|
|
14855
|
+
value: void 0
|
|
14856
|
+
});
|
|
14857
|
+
Object.defineProperty(this, "peerId", {
|
|
14833
14858
|
enumerable: true,
|
|
14834
14859
|
configurable: true,
|
|
14835
14860
|
writable: true,
|
|
14836
14861
|
value: void 0
|
|
14837
14862
|
});
|
|
14838
|
-
this.peerId = params.peerId;
|
|
14839
14863
|
this.blocked = params.blocked;
|
|
14864
|
+
this.blockedMyStoriesFrom = params.blockedMyStoriesFrom;
|
|
14865
|
+
this.peerId = params.peerId;
|
|
14840
14866
|
}
|
|
14841
14867
|
}
|
|
14842
14868
|
export class UpdateChannelUserTyping extends TypeUpdate {
|
|
@@ -16205,6 +16231,74 @@ export class UpdateStoryID extends TypeUpdate {
|
|
|
16205
16231
|
this.randomId = params.randomId;
|
|
16206
16232
|
}
|
|
16207
16233
|
}
|
|
16234
|
+
export class UpdateStoriesStealthMode extends TypeUpdate {
|
|
16235
|
+
get [id]() {
|
|
16236
|
+
return 0x2C084DC1;
|
|
16237
|
+
}
|
|
16238
|
+
static get [paramDesc]() {
|
|
16239
|
+
return [
|
|
16240
|
+
["stealthMode", TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
16241
|
+
];
|
|
16242
|
+
}
|
|
16243
|
+
get [params]() {
|
|
16244
|
+
return [
|
|
16245
|
+
[this.stealthMode, TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
16246
|
+
];
|
|
16247
|
+
}
|
|
16248
|
+
constructor(params) {
|
|
16249
|
+
super();
|
|
16250
|
+
Object.defineProperty(this, "stealthMode", {
|
|
16251
|
+
enumerable: true,
|
|
16252
|
+
configurable: true,
|
|
16253
|
+
writable: true,
|
|
16254
|
+
value: void 0
|
|
16255
|
+
});
|
|
16256
|
+
this.stealthMode = params.stealthMode;
|
|
16257
|
+
}
|
|
16258
|
+
}
|
|
16259
|
+
export class UpdateSentStoryReaction extends TypeUpdate {
|
|
16260
|
+
get [id]() {
|
|
16261
|
+
return 0xE3A73D20;
|
|
16262
|
+
}
|
|
16263
|
+
static get [paramDesc]() {
|
|
16264
|
+
return [
|
|
16265
|
+
["userId", "bigint", "long"],
|
|
16266
|
+
["storyId", "number", "int"],
|
|
16267
|
+
["reaction", TypeReaction, "Reaction"],
|
|
16268
|
+
];
|
|
16269
|
+
}
|
|
16270
|
+
get [params]() {
|
|
16271
|
+
return [
|
|
16272
|
+
[this.userId, "bigint", "long"],
|
|
16273
|
+
[this.storyId, "number", "int"],
|
|
16274
|
+
[this.reaction, TypeReaction, "Reaction"],
|
|
16275
|
+
];
|
|
16276
|
+
}
|
|
16277
|
+
constructor(params) {
|
|
16278
|
+
super();
|
|
16279
|
+
Object.defineProperty(this, "userId", {
|
|
16280
|
+
enumerable: true,
|
|
16281
|
+
configurable: true,
|
|
16282
|
+
writable: true,
|
|
16283
|
+
value: void 0
|
|
16284
|
+
});
|
|
16285
|
+
Object.defineProperty(this, "storyId", {
|
|
16286
|
+
enumerable: true,
|
|
16287
|
+
configurable: true,
|
|
16288
|
+
writable: true,
|
|
16289
|
+
value: void 0
|
|
16290
|
+
});
|
|
16291
|
+
Object.defineProperty(this, "reaction", {
|
|
16292
|
+
enumerable: true,
|
|
16293
|
+
configurable: true,
|
|
16294
|
+
writable: true,
|
|
16295
|
+
value: void 0
|
|
16296
|
+
});
|
|
16297
|
+
this.userId = params.userId;
|
|
16298
|
+
this.storyId = params.storyId;
|
|
16299
|
+
this.reaction = params.reaction;
|
|
16300
|
+
}
|
|
16301
|
+
}
|
|
16208
16302
|
export class UpdatesState extends TypeUpdatesState {
|
|
16209
16303
|
get [id]() {
|
|
16210
16304
|
return 0xA56C2A3E;
|
|
@@ -47692,12 +47786,13 @@ export class SponsoredWebPage extends TypeSponsoredWebPage {
|
|
|
47692
47786
|
}
|
|
47693
47787
|
export class StoryViews extends TypeStoryViews {
|
|
47694
47788
|
get [id]() {
|
|
47695
|
-
return
|
|
47789
|
+
return 0xC64C0B97;
|
|
47696
47790
|
}
|
|
47697
47791
|
static get [paramDesc]() {
|
|
47698
47792
|
return [
|
|
47699
47793
|
["flags", flags, "#"],
|
|
47700
47794
|
["viewsCount", "number", "int"],
|
|
47795
|
+
["reactionsCount", "number", "int"],
|
|
47701
47796
|
["recentViewers", ["bigint"], "flags.0?Vector<long>"],
|
|
47702
47797
|
];
|
|
47703
47798
|
}
|
|
@@ -47705,6 +47800,7 @@ export class StoryViews extends TypeStoryViews {
|
|
|
47705
47800
|
return [
|
|
47706
47801
|
["flags", flags, "#"],
|
|
47707
47802
|
[this.viewsCount, "number", "int"],
|
|
47803
|
+
[this.reactionsCount, "number", "int"],
|
|
47708
47804
|
[this.recentViewers ?? null, ["bigint"], "flags.0?Vector<long>"],
|
|
47709
47805
|
];
|
|
47710
47806
|
}
|
|
@@ -47716,6 +47812,12 @@ export class StoryViews extends TypeStoryViews {
|
|
|
47716
47812
|
writable: true,
|
|
47717
47813
|
value: void 0
|
|
47718
47814
|
});
|
|
47815
|
+
Object.defineProperty(this, "reactionsCount", {
|
|
47816
|
+
enumerable: true,
|
|
47817
|
+
configurable: true,
|
|
47818
|
+
writable: true,
|
|
47819
|
+
value: void 0
|
|
47820
|
+
});
|
|
47719
47821
|
Object.defineProperty(this, "recentViewers", {
|
|
47720
47822
|
enumerable: true,
|
|
47721
47823
|
configurable: true,
|
|
@@ -47723,6 +47825,7 @@ export class StoryViews extends TypeStoryViews {
|
|
|
47723
47825
|
value: void 0
|
|
47724
47826
|
});
|
|
47725
47827
|
this.viewsCount = params.viewsCount;
|
|
47828
|
+
this.reactionsCount = params.reactionsCount;
|
|
47726
47829
|
this.recentViewers = params.recentViewers;
|
|
47727
47830
|
}
|
|
47728
47831
|
}
|
|
@@ -47807,7 +47910,7 @@ export class StoryItemSkipped extends TypeStoryItem {
|
|
|
47807
47910
|
}
|
|
47808
47911
|
export class StoryItem extends TypeStoryItem {
|
|
47809
47912
|
get [id]() {
|
|
47810
|
-
return
|
|
47913
|
+
return 0x44C457CE;
|
|
47811
47914
|
}
|
|
47812
47915
|
static get [paramDesc]() {
|
|
47813
47916
|
return [
|
|
@@ -47826,8 +47929,10 @@ export class StoryItem extends TypeStoryItem {
|
|
|
47826
47929
|
["caption", "string", "flags.0?string"],
|
|
47827
47930
|
["entities", [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
47828
47931
|
["media", TypeMessageMedia, "MessageMedia"],
|
|
47932
|
+
["mediaAreas", [TypeMediaArea], "flags.14?Vector<MediaArea>"],
|
|
47829
47933
|
["privacy", [TypePrivacyRule], "flags.2?Vector<PrivacyRule>"],
|
|
47830
47934
|
["views", TypeStoryViews, "flags.3?StoryViews"],
|
|
47935
|
+
["sentReaction", TypeReaction, "flags.15?Reaction"],
|
|
47831
47936
|
];
|
|
47832
47937
|
}
|
|
47833
47938
|
get [params]() {
|
|
@@ -47847,8 +47952,10 @@ export class StoryItem extends TypeStoryItem {
|
|
|
47847
47952
|
[this.caption ?? null, "string", "flags.0?string"],
|
|
47848
47953
|
[this.entities ?? null, [TypeMessageEntity], "flags.1?Vector<MessageEntity>"],
|
|
47849
47954
|
[this.media, TypeMessageMedia, "MessageMedia"],
|
|
47955
|
+
[this.mediaAreas ?? null, [TypeMediaArea], "flags.14?Vector<MediaArea>"],
|
|
47850
47956
|
[this.privacy ?? null, [TypePrivacyRule], "flags.2?Vector<PrivacyRule>"],
|
|
47851
47957
|
[this.views ?? null, TypeStoryViews, "flags.3?StoryViews"],
|
|
47958
|
+
[this.sentReaction ?? null, TypeReaction, "flags.15?Reaction"],
|
|
47852
47959
|
];
|
|
47853
47960
|
}
|
|
47854
47961
|
constructor(params) {
|
|
@@ -47937,6 +48044,12 @@ export class StoryItem extends TypeStoryItem {
|
|
|
47937
48044
|
writable: true,
|
|
47938
48045
|
value: void 0
|
|
47939
48046
|
});
|
|
48047
|
+
Object.defineProperty(this, "mediaAreas", {
|
|
48048
|
+
enumerable: true,
|
|
48049
|
+
configurable: true,
|
|
48050
|
+
writable: true,
|
|
48051
|
+
value: void 0
|
|
48052
|
+
});
|
|
47940
48053
|
Object.defineProperty(this, "privacy", {
|
|
47941
48054
|
enumerable: true,
|
|
47942
48055
|
configurable: true,
|
|
@@ -47949,6 +48062,12 @@ export class StoryItem extends TypeStoryItem {
|
|
|
47949
48062
|
writable: true,
|
|
47950
48063
|
value: void 0
|
|
47951
48064
|
});
|
|
48065
|
+
Object.defineProperty(this, "sentReaction", {
|
|
48066
|
+
enumerable: true,
|
|
48067
|
+
configurable: true,
|
|
48068
|
+
writable: true,
|
|
48069
|
+
value: void 0
|
|
48070
|
+
});
|
|
47952
48071
|
this.pinned = params.pinned;
|
|
47953
48072
|
this.public = params.public;
|
|
47954
48073
|
this.closeFriends = params.closeFriends;
|
|
@@ -47963,8 +48082,10 @@ export class StoryItem extends TypeStoryItem {
|
|
|
47963
48082
|
this.caption = params.caption;
|
|
47964
48083
|
this.entities = params.entities;
|
|
47965
48084
|
this.media = params.media;
|
|
48085
|
+
this.mediaAreas = params.mediaAreas;
|
|
47966
48086
|
this.privacy = params.privacy;
|
|
47967
48087
|
this.views = params.views;
|
|
48088
|
+
this.sentReaction = params.sentReaction;
|
|
47968
48089
|
}
|
|
47969
48090
|
}
|
|
47970
48091
|
export class UserStories extends TypeUserStories {
|
|
@@ -48014,16 +48135,20 @@ export class UserStories extends TypeUserStories {
|
|
|
48014
48135
|
}
|
|
48015
48136
|
export class StoriesAllStoriesNotModified extends TypeStoriesAllStories {
|
|
48016
48137
|
get [id]() {
|
|
48017
|
-
return
|
|
48138
|
+
return 0x1158FE3E;
|
|
48018
48139
|
}
|
|
48019
48140
|
static get [paramDesc]() {
|
|
48020
48141
|
return [
|
|
48142
|
+
["flags", flags, "#"],
|
|
48021
48143
|
["state", "string", "string"],
|
|
48144
|
+
["stealthMode", TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
48022
48145
|
];
|
|
48023
48146
|
}
|
|
48024
48147
|
get [params]() {
|
|
48025
48148
|
return [
|
|
48149
|
+
["flags", flags, "#"],
|
|
48026
48150
|
[this.state, "string", "string"],
|
|
48151
|
+
[this.stealthMode, TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
48027
48152
|
];
|
|
48028
48153
|
}
|
|
48029
48154
|
constructor(params) {
|
|
@@ -48034,12 +48159,19 @@ export class StoriesAllStoriesNotModified extends TypeStoriesAllStories {
|
|
|
48034
48159
|
writable: true,
|
|
48035
48160
|
value: void 0
|
|
48036
48161
|
});
|
|
48162
|
+
Object.defineProperty(this, "stealthMode", {
|
|
48163
|
+
enumerable: true,
|
|
48164
|
+
configurable: true,
|
|
48165
|
+
writable: true,
|
|
48166
|
+
value: void 0
|
|
48167
|
+
});
|
|
48037
48168
|
this.state = params.state;
|
|
48169
|
+
this.stealthMode = params.stealthMode;
|
|
48038
48170
|
}
|
|
48039
48171
|
}
|
|
48040
48172
|
export class StoriesAllStories extends TypeStoriesAllStories {
|
|
48041
48173
|
get [id]() {
|
|
48042
|
-
return
|
|
48174
|
+
return 0x519D899E;
|
|
48043
48175
|
}
|
|
48044
48176
|
static get [paramDesc]() {
|
|
48045
48177
|
return [
|
|
@@ -48049,6 +48181,7 @@ export class StoriesAllStories extends TypeStoriesAllStories {
|
|
|
48049
48181
|
["state", "string", "string"],
|
|
48050
48182
|
["userStories", [TypeUserStories], "Vector<UserStories>"],
|
|
48051
48183
|
["users", [TypeUser], "Vector<User>"],
|
|
48184
|
+
["stealthMode", TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
48052
48185
|
];
|
|
48053
48186
|
}
|
|
48054
48187
|
get [params]() {
|
|
@@ -48059,6 +48192,7 @@ export class StoriesAllStories extends TypeStoriesAllStories {
|
|
|
48059
48192
|
[this.state, "string", "string"],
|
|
48060
48193
|
[this.userStories, [TypeUserStories], "Vector<UserStories>"],
|
|
48061
48194
|
[this.users, [TypeUser], "Vector<User>"],
|
|
48195
|
+
[this.stealthMode, TypeStoriesStealthMode, "StoriesStealthMode"],
|
|
48062
48196
|
];
|
|
48063
48197
|
}
|
|
48064
48198
|
constructor(params) {
|
|
@@ -48093,11 +48227,18 @@ export class StoriesAllStories extends TypeStoriesAllStories {
|
|
|
48093
48227
|
writable: true,
|
|
48094
48228
|
value: void 0
|
|
48095
48229
|
});
|
|
48230
|
+
Object.defineProperty(this, "stealthMode", {
|
|
48231
|
+
enumerable: true,
|
|
48232
|
+
configurable: true,
|
|
48233
|
+
writable: true,
|
|
48234
|
+
value: void 0
|
|
48235
|
+
});
|
|
48096
48236
|
this.hasMore = params.hasMore;
|
|
48097
48237
|
this.count = params.count;
|
|
48098
48238
|
this.state = params.state;
|
|
48099
48239
|
this.userStories = params.userStories;
|
|
48100
48240
|
this.users = params.users;
|
|
48241
|
+
this.stealthMode = params.stealthMode;
|
|
48101
48242
|
}
|
|
48102
48243
|
}
|
|
48103
48244
|
export class StoriesStories extends TypeStoriesStories {
|
|
@@ -48179,22 +48320,42 @@ export class StoriesUserStories extends TypeStoriesUserStories {
|
|
|
48179
48320
|
}
|
|
48180
48321
|
export class StoryView extends TypeStoryView {
|
|
48181
48322
|
get [id]() {
|
|
48182
|
-
return
|
|
48323
|
+
return 0xB0BDEAC5;
|
|
48183
48324
|
}
|
|
48184
48325
|
static get [paramDesc]() {
|
|
48185
48326
|
return [
|
|
48327
|
+
["flags", flags, "#"],
|
|
48328
|
+
["blocked", "true", "flags.0?true"],
|
|
48329
|
+
["blockedMyStoriesFrom", "true", "flags.1?true"],
|
|
48186
48330
|
["userId", "bigint", "long"],
|
|
48187
48331
|
["date", "number", "int"],
|
|
48332
|
+
["reaction", TypeReaction, "flags.2?Reaction"],
|
|
48188
48333
|
];
|
|
48189
48334
|
}
|
|
48190
48335
|
get [params]() {
|
|
48191
48336
|
return [
|
|
48337
|
+
["flags", flags, "#"],
|
|
48338
|
+
[this.blocked ?? null, "true", "flags.0?true"],
|
|
48339
|
+
[this.blockedMyStoriesFrom ?? null, "true", "flags.1?true"],
|
|
48192
48340
|
[this.userId, "bigint", "long"],
|
|
48193
48341
|
[this.date, "number", "int"],
|
|
48342
|
+
[this.reaction ?? null, TypeReaction, "flags.2?Reaction"],
|
|
48194
48343
|
];
|
|
48195
48344
|
}
|
|
48196
48345
|
constructor(params) {
|
|
48197
48346
|
super();
|
|
48347
|
+
Object.defineProperty(this, "blocked", {
|
|
48348
|
+
enumerable: true,
|
|
48349
|
+
configurable: true,
|
|
48350
|
+
writable: true,
|
|
48351
|
+
value: void 0
|
|
48352
|
+
});
|
|
48353
|
+
Object.defineProperty(this, "blockedMyStoriesFrom", {
|
|
48354
|
+
enumerable: true,
|
|
48355
|
+
configurable: true,
|
|
48356
|
+
writable: true,
|
|
48357
|
+
value: void 0
|
|
48358
|
+
});
|
|
48198
48359
|
Object.defineProperty(this, "userId", {
|
|
48199
48360
|
enumerable: true,
|
|
48200
48361
|
configurable: true,
|
|
@@ -48207,26 +48368,41 @@ export class StoryView extends TypeStoryView {
|
|
|
48207
48368
|
writable: true,
|
|
48208
48369
|
value: void 0
|
|
48209
48370
|
});
|
|
48371
|
+
Object.defineProperty(this, "reaction", {
|
|
48372
|
+
enumerable: true,
|
|
48373
|
+
configurable: true,
|
|
48374
|
+
writable: true,
|
|
48375
|
+
value: void 0
|
|
48376
|
+
});
|
|
48377
|
+
this.blocked = params.blocked;
|
|
48378
|
+
this.blockedMyStoriesFrom = params.blockedMyStoriesFrom;
|
|
48210
48379
|
this.userId = params.userId;
|
|
48211
48380
|
this.date = params.date;
|
|
48381
|
+
this.reaction = params.reaction;
|
|
48212
48382
|
}
|
|
48213
48383
|
}
|
|
48214
48384
|
export class StoriesStoryViewsList extends TypeStoriesStoryViewsList {
|
|
48215
48385
|
get [id]() {
|
|
48216
|
-
return
|
|
48386
|
+
return 0x46E9B9EC;
|
|
48217
48387
|
}
|
|
48218
48388
|
static get [paramDesc]() {
|
|
48219
48389
|
return [
|
|
48390
|
+
["flags", flags, "#"],
|
|
48220
48391
|
["count", "number", "int"],
|
|
48392
|
+
["reactionsCount", "number", "int"],
|
|
48221
48393
|
["views", [TypeStoryView], "Vector<StoryView>"],
|
|
48222
48394
|
["users", [TypeUser], "Vector<User>"],
|
|
48395
|
+
["nextOffset", "string", "flags.0?string"],
|
|
48223
48396
|
];
|
|
48224
48397
|
}
|
|
48225
48398
|
get [params]() {
|
|
48226
48399
|
return [
|
|
48400
|
+
["flags", flags, "#"],
|
|
48227
48401
|
[this.count, "number", "int"],
|
|
48402
|
+
[this.reactionsCount, "number", "int"],
|
|
48228
48403
|
[this.views, [TypeStoryView], "Vector<StoryView>"],
|
|
48229
48404
|
[this.users, [TypeUser], "Vector<User>"],
|
|
48405
|
+
[this.nextOffset ?? null, "string", "flags.0?string"],
|
|
48230
48406
|
];
|
|
48231
48407
|
}
|
|
48232
48408
|
constructor(params) {
|
|
@@ -48237,6 +48413,12 @@ export class StoriesStoryViewsList extends TypeStoriesStoryViewsList {
|
|
|
48237
48413
|
writable: true,
|
|
48238
48414
|
value: void 0
|
|
48239
48415
|
});
|
|
48416
|
+
Object.defineProperty(this, "reactionsCount", {
|
|
48417
|
+
enumerable: true,
|
|
48418
|
+
configurable: true,
|
|
48419
|
+
writable: true,
|
|
48420
|
+
value: void 0
|
|
48421
|
+
});
|
|
48240
48422
|
Object.defineProperty(this, "views", {
|
|
48241
48423
|
enumerable: true,
|
|
48242
48424
|
configurable: true,
|
|
@@ -48249,9 +48431,17 @@ export class StoriesStoryViewsList extends TypeStoriesStoryViewsList {
|
|
|
48249
48431
|
writable: true,
|
|
48250
48432
|
value: void 0
|
|
48251
48433
|
});
|
|
48434
|
+
Object.defineProperty(this, "nextOffset", {
|
|
48435
|
+
enumerable: true,
|
|
48436
|
+
configurable: true,
|
|
48437
|
+
writable: true,
|
|
48438
|
+
value: void 0
|
|
48439
|
+
});
|
|
48252
48440
|
this.count = params.count;
|
|
48441
|
+
this.reactionsCount = params.reactionsCount;
|
|
48253
48442
|
this.views = params.views;
|
|
48254
48443
|
this.users = params.users;
|
|
48444
|
+
this.nextOffset = params.nextOffset;
|
|
48255
48445
|
}
|
|
48256
48446
|
}
|
|
48257
48447
|
export class StoriesStoryViews extends TypeStoriesStoryViews {
|
|
@@ -48383,6 +48573,259 @@ export class ExportedStoryLink extends TypeExportedStoryLink {
|
|
|
48383
48573
|
this.link = params.link;
|
|
48384
48574
|
}
|
|
48385
48575
|
}
|
|
48576
|
+
export class StoriesStealthMode extends TypeStoriesStealthMode {
|
|
48577
|
+
get [id]() {
|
|
48578
|
+
return 0x712E27FD;
|
|
48579
|
+
}
|
|
48580
|
+
static get [paramDesc]() {
|
|
48581
|
+
return [
|
|
48582
|
+
["flags", flags, "#"],
|
|
48583
|
+
["activeUntilDate", "number", "flags.0?int"],
|
|
48584
|
+
["cooldownUntilDate", "number", "flags.1?int"],
|
|
48585
|
+
];
|
|
48586
|
+
}
|
|
48587
|
+
get [params]() {
|
|
48588
|
+
return [
|
|
48589
|
+
["flags", flags, "#"],
|
|
48590
|
+
[this.activeUntilDate ?? null, "number", "flags.0?int"],
|
|
48591
|
+
[this.cooldownUntilDate ?? null, "number", "flags.1?int"],
|
|
48592
|
+
];
|
|
48593
|
+
}
|
|
48594
|
+
constructor(params) {
|
|
48595
|
+
super();
|
|
48596
|
+
Object.defineProperty(this, "activeUntilDate", {
|
|
48597
|
+
enumerable: true,
|
|
48598
|
+
configurable: true,
|
|
48599
|
+
writable: true,
|
|
48600
|
+
value: void 0
|
|
48601
|
+
});
|
|
48602
|
+
Object.defineProperty(this, "cooldownUntilDate", {
|
|
48603
|
+
enumerable: true,
|
|
48604
|
+
configurable: true,
|
|
48605
|
+
writable: true,
|
|
48606
|
+
value: void 0
|
|
48607
|
+
});
|
|
48608
|
+
this.activeUntilDate = params?.activeUntilDate;
|
|
48609
|
+
this.cooldownUntilDate = params?.cooldownUntilDate;
|
|
48610
|
+
}
|
|
48611
|
+
}
|
|
48612
|
+
export class MediaAreaCoordinates extends TypeMediaAreaCoordinates {
|
|
48613
|
+
get [id]() {
|
|
48614
|
+
return 0x03D1EA4E;
|
|
48615
|
+
}
|
|
48616
|
+
static get [paramDesc]() {
|
|
48617
|
+
return [
|
|
48618
|
+
["x", "number", "double"],
|
|
48619
|
+
["y", "number", "double"],
|
|
48620
|
+
["w", "number", "double"],
|
|
48621
|
+
["h", "number", "double"],
|
|
48622
|
+
["rotation", "number", "double"],
|
|
48623
|
+
];
|
|
48624
|
+
}
|
|
48625
|
+
get [params]() {
|
|
48626
|
+
return [
|
|
48627
|
+
[this.x, "number", "double"],
|
|
48628
|
+
[this.y, "number", "double"],
|
|
48629
|
+
[this.w, "number", "double"],
|
|
48630
|
+
[this.h, "number", "double"],
|
|
48631
|
+
[this.rotation, "number", "double"],
|
|
48632
|
+
];
|
|
48633
|
+
}
|
|
48634
|
+
constructor(params) {
|
|
48635
|
+
super();
|
|
48636
|
+
Object.defineProperty(this, "x", {
|
|
48637
|
+
enumerable: true,
|
|
48638
|
+
configurable: true,
|
|
48639
|
+
writable: true,
|
|
48640
|
+
value: void 0
|
|
48641
|
+
});
|
|
48642
|
+
Object.defineProperty(this, "y", {
|
|
48643
|
+
enumerable: true,
|
|
48644
|
+
configurable: true,
|
|
48645
|
+
writable: true,
|
|
48646
|
+
value: void 0
|
|
48647
|
+
});
|
|
48648
|
+
Object.defineProperty(this, "w", {
|
|
48649
|
+
enumerable: true,
|
|
48650
|
+
configurable: true,
|
|
48651
|
+
writable: true,
|
|
48652
|
+
value: void 0
|
|
48653
|
+
});
|
|
48654
|
+
Object.defineProperty(this, "h", {
|
|
48655
|
+
enumerable: true,
|
|
48656
|
+
configurable: true,
|
|
48657
|
+
writable: true,
|
|
48658
|
+
value: void 0
|
|
48659
|
+
});
|
|
48660
|
+
Object.defineProperty(this, "rotation", {
|
|
48661
|
+
enumerable: true,
|
|
48662
|
+
configurable: true,
|
|
48663
|
+
writable: true,
|
|
48664
|
+
value: void 0
|
|
48665
|
+
});
|
|
48666
|
+
this.x = params.x;
|
|
48667
|
+
this.y = params.y;
|
|
48668
|
+
this.w = params.w;
|
|
48669
|
+
this.h = params.h;
|
|
48670
|
+
this.rotation = params.rotation;
|
|
48671
|
+
}
|
|
48672
|
+
}
|
|
48673
|
+
export class MediaAreaVenue extends TypeMediaArea {
|
|
48674
|
+
get [id]() {
|
|
48675
|
+
return 0xBE82DB9C;
|
|
48676
|
+
}
|
|
48677
|
+
static get [paramDesc]() {
|
|
48678
|
+
return [
|
|
48679
|
+
["coordinates", TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
48680
|
+
["geo", TypeGeoPoint, "GeoPoint"],
|
|
48681
|
+
["title", "string", "string"],
|
|
48682
|
+
["address", "string", "string"],
|
|
48683
|
+
["provider", "string", "string"],
|
|
48684
|
+
["venueId", "string", "string"],
|
|
48685
|
+
["venueType", "string", "string"],
|
|
48686
|
+
];
|
|
48687
|
+
}
|
|
48688
|
+
get [params]() {
|
|
48689
|
+
return [
|
|
48690
|
+
[this.coordinates, TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
48691
|
+
[this.geo, TypeGeoPoint, "GeoPoint"],
|
|
48692
|
+
[this.title, "string", "string"],
|
|
48693
|
+
[this.address, "string", "string"],
|
|
48694
|
+
[this.provider, "string", "string"],
|
|
48695
|
+
[this.venueId, "string", "string"],
|
|
48696
|
+
[this.venueType, "string", "string"],
|
|
48697
|
+
];
|
|
48698
|
+
}
|
|
48699
|
+
constructor(params) {
|
|
48700
|
+
super();
|
|
48701
|
+
Object.defineProperty(this, "coordinates", {
|
|
48702
|
+
enumerable: true,
|
|
48703
|
+
configurable: true,
|
|
48704
|
+
writable: true,
|
|
48705
|
+
value: void 0
|
|
48706
|
+
});
|
|
48707
|
+
Object.defineProperty(this, "geo", {
|
|
48708
|
+
enumerable: true,
|
|
48709
|
+
configurable: true,
|
|
48710
|
+
writable: true,
|
|
48711
|
+
value: void 0
|
|
48712
|
+
});
|
|
48713
|
+
Object.defineProperty(this, "title", {
|
|
48714
|
+
enumerable: true,
|
|
48715
|
+
configurable: true,
|
|
48716
|
+
writable: true,
|
|
48717
|
+
value: void 0
|
|
48718
|
+
});
|
|
48719
|
+
Object.defineProperty(this, "address", {
|
|
48720
|
+
enumerable: true,
|
|
48721
|
+
configurable: true,
|
|
48722
|
+
writable: true,
|
|
48723
|
+
value: void 0
|
|
48724
|
+
});
|
|
48725
|
+
Object.defineProperty(this, "provider", {
|
|
48726
|
+
enumerable: true,
|
|
48727
|
+
configurable: true,
|
|
48728
|
+
writable: true,
|
|
48729
|
+
value: void 0
|
|
48730
|
+
});
|
|
48731
|
+
Object.defineProperty(this, "venueId", {
|
|
48732
|
+
enumerable: true,
|
|
48733
|
+
configurable: true,
|
|
48734
|
+
writable: true,
|
|
48735
|
+
value: void 0
|
|
48736
|
+
});
|
|
48737
|
+
Object.defineProperty(this, "venueType", {
|
|
48738
|
+
enumerable: true,
|
|
48739
|
+
configurable: true,
|
|
48740
|
+
writable: true,
|
|
48741
|
+
value: void 0
|
|
48742
|
+
});
|
|
48743
|
+
this.coordinates = params.coordinates;
|
|
48744
|
+
this.geo = params.geo;
|
|
48745
|
+
this.title = params.title;
|
|
48746
|
+
this.address = params.address;
|
|
48747
|
+
this.provider = params.provider;
|
|
48748
|
+
this.venueId = params.venueId;
|
|
48749
|
+
this.venueType = params.venueType;
|
|
48750
|
+
}
|
|
48751
|
+
}
|
|
48752
|
+
export class InputMediaAreaVenue extends TypeMediaArea {
|
|
48753
|
+
get [id]() {
|
|
48754
|
+
return 0xB282217F;
|
|
48755
|
+
}
|
|
48756
|
+
static get [paramDesc]() {
|
|
48757
|
+
return [
|
|
48758
|
+
["coordinates", TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
48759
|
+
["queryId", "bigint", "long"],
|
|
48760
|
+
["resultId", "string", "string"],
|
|
48761
|
+
];
|
|
48762
|
+
}
|
|
48763
|
+
get [params]() {
|
|
48764
|
+
return [
|
|
48765
|
+
[this.coordinates, TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
48766
|
+
[this.queryId, "bigint", "long"],
|
|
48767
|
+
[this.resultId, "string", "string"],
|
|
48768
|
+
];
|
|
48769
|
+
}
|
|
48770
|
+
constructor(params) {
|
|
48771
|
+
super();
|
|
48772
|
+
Object.defineProperty(this, "coordinates", {
|
|
48773
|
+
enumerable: true,
|
|
48774
|
+
configurable: true,
|
|
48775
|
+
writable: true,
|
|
48776
|
+
value: void 0
|
|
48777
|
+
});
|
|
48778
|
+
Object.defineProperty(this, "queryId", {
|
|
48779
|
+
enumerable: true,
|
|
48780
|
+
configurable: true,
|
|
48781
|
+
writable: true,
|
|
48782
|
+
value: void 0
|
|
48783
|
+
});
|
|
48784
|
+
Object.defineProperty(this, "resultId", {
|
|
48785
|
+
enumerable: true,
|
|
48786
|
+
configurable: true,
|
|
48787
|
+
writable: true,
|
|
48788
|
+
value: void 0
|
|
48789
|
+
});
|
|
48790
|
+
this.coordinates = params.coordinates;
|
|
48791
|
+
this.queryId = params.queryId;
|
|
48792
|
+
this.resultId = params.resultId;
|
|
48793
|
+
}
|
|
48794
|
+
}
|
|
48795
|
+
export class MediaAreaGeoPoint extends TypeMediaArea {
|
|
48796
|
+
get [id]() {
|
|
48797
|
+
return 0xDF8B3B22;
|
|
48798
|
+
}
|
|
48799
|
+
static get [paramDesc]() {
|
|
48800
|
+
return [
|
|
48801
|
+
["coordinates", TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
48802
|
+
["geo", TypeGeoPoint, "GeoPoint"],
|
|
48803
|
+
];
|
|
48804
|
+
}
|
|
48805
|
+
get [params]() {
|
|
48806
|
+
return [
|
|
48807
|
+
[this.coordinates, TypeMediaAreaCoordinates, "MediaAreaCoordinates"],
|
|
48808
|
+
[this.geo, TypeGeoPoint, "GeoPoint"],
|
|
48809
|
+
];
|
|
48810
|
+
}
|
|
48811
|
+
constructor(params) {
|
|
48812
|
+
super();
|
|
48813
|
+
Object.defineProperty(this, "coordinates", {
|
|
48814
|
+
enumerable: true,
|
|
48815
|
+
configurable: true,
|
|
48816
|
+
writable: true,
|
|
48817
|
+
value: void 0
|
|
48818
|
+
});
|
|
48819
|
+
Object.defineProperty(this, "geo", {
|
|
48820
|
+
enumerable: true,
|
|
48821
|
+
configurable: true,
|
|
48822
|
+
writable: true,
|
|
48823
|
+
value: void 0
|
|
48824
|
+
});
|
|
48825
|
+
this.coordinates = params.coordinates;
|
|
48826
|
+
this.geo = params.geo;
|
|
48827
|
+
}
|
|
48828
|
+
}
|
|
48386
48829
|
export const map = new Map([
|
|
48387
48830
|
[0x05162463, ResPQ],
|
|
48388
48831
|
[0xA9F55F95, PQInnerDataDC],
|
|
@@ -48714,7 +49157,7 @@ export const map = new Map([
|
|
|
48714
49157
|
[0xD29A27F4, UpdateChannelMessageForwards],
|
|
48715
49158
|
[0xD6B19546, UpdateReadChannelDiscussionInbox],
|
|
48716
49159
|
[0x695C9E7C, UpdateReadChannelDiscussionOutbox],
|
|
48717
|
-
[
|
|
49160
|
+
[0xEBE07752, UpdatePeerBlocked],
|
|
48718
49161
|
[0x8C88C923, UpdateChannelUserTyping],
|
|
48719
49162
|
[0xED85EAB5, UpdatePinnedMessages],
|
|
48720
49163
|
[0x5BB98608, UpdatePinnedChannelMessages],
|
|
@@ -48749,6 +49192,8 @@ export const map = new Map([
|
|
|
48749
49192
|
[0x205A4133, UpdateStory],
|
|
48750
49193
|
[0xFEB5345A, UpdateReadStories],
|
|
48751
49194
|
[0x1BF335B9, UpdateStoryID],
|
|
49195
|
+
[0x2C084DC1, UpdateStoriesStealthMode],
|
|
49196
|
+
[0xE3A73D20, UpdateSentStoryReaction],
|
|
48752
49197
|
[0xA56C2A3E, UpdatesState],
|
|
48753
49198
|
[0x5D75A138, UpdatesDifferenceEmpty],
|
|
48754
49199
|
[0x00F49CA0, UpdatesDifference],
|
|
@@ -49541,20 +49986,25 @@ export const map = new Map([
|
|
|
49541
49986
|
[0x74CDA504, MessagePeerVoteInputOption],
|
|
49542
49987
|
[0x4628F6E6, MessagePeerVoteMultiple],
|
|
49543
49988
|
[0x3DB8EC63, SponsoredWebPage],
|
|
49544
|
-
[
|
|
49989
|
+
[0xC64C0B97, StoryViews],
|
|
49545
49990
|
[0x51E6EE4F, StoryItemDeleted],
|
|
49546
49991
|
[0xFFADC913, StoryItemSkipped],
|
|
49547
|
-
[
|
|
49992
|
+
[0x44C457CE, StoryItem],
|
|
49548
49993
|
[0x8611A200, UserStories],
|
|
49549
|
-
[
|
|
49550
|
-
[
|
|
49994
|
+
[0x1158FE3E, StoriesAllStoriesNotModified],
|
|
49995
|
+
[0x519D899E, StoriesAllStories],
|
|
49551
49996
|
[0x4FE57DF1, StoriesStories],
|
|
49552
49997
|
[0x37A6FF5F, StoriesUserStories],
|
|
49553
|
-
[
|
|
49554
|
-
[
|
|
49998
|
+
[0xB0BDEAC5, StoryView],
|
|
49999
|
+
[0x46E9B9EC, StoriesStoryViewsList],
|
|
49555
50000
|
[0xDE9EED1D, StoriesStoryViews],
|
|
49556
50001
|
[0x9C5386E4, InputReplyToMessage],
|
|
49557
50002
|
[0x15B0F283, InputReplyToStory],
|
|
49558
50003
|
[0x3FC9053B, ExportedStoryLink],
|
|
50004
|
+
[0x712E27FD, StoriesStealthMode],
|
|
50005
|
+
[0x03D1EA4E, MediaAreaCoordinates],
|
|
50006
|
+
[0xBE82DB9C, MediaAreaVenue],
|
|
50007
|
+
[0xB282217F, InputMediaAreaVenue],
|
|
50008
|
+
[0xDF8B3B22, MediaAreaGeoPoint],
|
|
49559
50009
|
// deno-lint-ignore no-explicit-any
|
|
49560
50010
|
]);
|