@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.
Files changed (143) hide show
  1. package/esm/client/0_message.js +1 -1
  2. package/esm/client/3_client.d.ts +1 -1
  3. package/esm/client/3_client.js +1 -1
  4. package/esm/constants.d.ts +2 -2
  5. package/esm/constants.js +2 -2
  6. package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_object_match.js +1 -1
  7. package/esm/deps.d.ts +2 -2
  8. package/esm/deps.js +2 -2
  9. package/esm/tl/2_types.d.ts +127 -2
  10. package/esm/tl/2_types.js +469 -19
  11. package/esm/tl/3_functions.d.ts +57 -4
  12. package/esm/tl/3_functions.js +221 -15
  13. package/package.json +1 -1
  14. package/script/client/0_message.js +1 -1
  15. package/script/client/3_client.d.ts +1 -1
  16. package/script/client/3_client.js +1 -1
  17. package/script/constants.d.ts +2 -2
  18. package/script/constants.js +2 -2
  19. package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_object_match.js +1 -1
  20. package/script/deps.d.ts +2 -2
  21. package/script/deps.js +2 -2
  22. package/script/tl/2_types.d.ts +127 -2
  23. package/script/tl/2_types.js +504 -44
  24. package/script/tl/3_functions.d.ts +57 -4
  25. package/script/tl/3_functions.js +232 -23
  26. package/esm/deps/deno.land/std@0.197.0/testing/asserts.d.ts +0 -329
  27. package/esm/deps/deno.land/std@0.197.0/testing/asserts.js +0 -330
  28. package/script/deps/deno.land/std@0.197.0/testing/asserts.d.ts +0 -329
  29. package/script/deps/deno.land/std@0.197.0/testing/asserts.js +0 -333
  30. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/_util/diff.d.ts +0 -0
  31. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/_util/diff.js +0 -0
  32. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_constants.d.ts +0 -0
  33. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_constants.js +0 -0
  34. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_format.d.ts +0 -0
  35. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_format.js +0 -0
  36. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert.d.ts +0 -0
  37. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert.js +0 -0
  38. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_almost_equals.d.ts +0 -0
  39. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_almost_equals.js +0 -0
  40. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_array_includes.d.ts +0 -0
  41. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_array_includes.js +0 -0
  42. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_equals.d.ts +0 -0
  43. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_equals.js +0 -0
  44. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_exists.d.ts +0 -0
  45. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_exists.js +0 -0
  46. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_false.d.ts +0 -0
  47. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_false.js +0 -0
  48. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_instance_of.d.ts +0 -0
  49. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_instance_of.js +0 -0
  50. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_is_error.d.ts +0 -0
  51. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_is_error.js +0 -0
  52. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_match.d.ts +0 -0
  53. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_match.js +0 -0
  54. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_equals.d.ts +0 -0
  55. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_equals.js +0 -0
  56. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_instance_of.d.ts +0 -0
  57. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_instance_of.js +0 -0
  58. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_match.d.ts +0 -0
  59. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_match.js +0 -0
  60. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_strict_equals.d.ts +0 -0
  61. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_strict_equals.js +0 -0
  62. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_object_match.d.ts +0 -0
  63. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_rejects.d.ts +0 -0
  64. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_rejects.js +0 -0
  65. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_strict_equals.d.ts +0 -0
  66. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_strict_equals.js +0 -0
  67. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_string_includes.d.ts +0 -0
  68. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_string_includes.js +0 -0
  69. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_throws.d.ts +0 -0
  70. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_throws.js +0 -0
  71. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assertion_error.d.ts +0 -0
  72. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assertion_error.js +0 -0
  73. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/equal.d.ts +0 -0
  74. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/equal.js +0 -0
  75. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/fail.d.ts +0 -0
  76. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/fail.js +0 -0
  77. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/mod.d.ts +0 -0
  78. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/mod.js +0 -0
  79. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unimplemented.d.ts +0 -0
  80. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unimplemented.js +0 -0
  81. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unreachable.d.ts +0 -0
  82. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unreachable.js +0 -0
  83. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/encoding/base64.d.ts +0 -0
  84. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/encoding/base64.js +0 -0
  85. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/fmt/colors.d.ts +0 -0
  86. /package/esm/deps/deno.land/{std@0.197.0 → std@0.198.0}/fmt/colors.js +0 -0
  87. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/_util/diff.d.ts +0 -0
  88. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/_util/diff.js +0 -0
  89. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_constants.d.ts +0 -0
  90. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_constants.js +0 -0
  91. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_format.d.ts +0 -0
  92. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/_format.js +0 -0
  93. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert.d.ts +0 -0
  94. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert.js +0 -0
  95. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_almost_equals.d.ts +0 -0
  96. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_almost_equals.js +0 -0
  97. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_array_includes.d.ts +0 -0
  98. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_array_includes.js +0 -0
  99. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_equals.d.ts +0 -0
  100. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_equals.js +0 -0
  101. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_exists.d.ts +0 -0
  102. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_exists.js +0 -0
  103. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_false.d.ts +0 -0
  104. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_false.js +0 -0
  105. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_instance_of.d.ts +0 -0
  106. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_instance_of.js +0 -0
  107. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_is_error.d.ts +0 -0
  108. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_is_error.js +0 -0
  109. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_match.d.ts +0 -0
  110. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_match.js +0 -0
  111. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_equals.d.ts +0 -0
  112. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_equals.js +0 -0
  113. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_instance_of.d.ts +0 -0
  114. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_instance_of.js +0 -0
  115. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_match.d.ts +0 -0
  116. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_match.js +0 -0
  117. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_strict_equals.d.ts +0 -0
  118. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_not_strict_equals.js +0 -0
  119. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_object_match.d.ts +0 -0
  120. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_rejects.d.ts +0 -0
  121. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_rejects.js +0 -0
  122. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_strict_equals.d.ts +0 -0
  123. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_strict_equals.js +0 -0
  124. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_string_includes.d.ts +0 -0
  125. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_string_includes.js +0 -0
  126. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_throws.d.ts +0 -0
  127. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assert_throws.js +0 -0
  128. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assertion_error.d.ts +0 -0
  129. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/assertion_error.js +0 -0
  130. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/equal.d.ts +0 -0
  131. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/equal.js +0 -0
  132. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/fail.d.ts +0 -0
  133. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/fail.js +0 -0
  134. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/mod.d.ts +0 -0
  135. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/mod.js +0 -0
  136. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unimplemented.d.ts +0 -0
  137. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unimplemented.js +0 -0
  138. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unreachable.d.ts +0 -0
  139. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/assert/unreachable.js +0 -0
  140. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/encoding/base64.d.ts +0 -0
  141. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/encoding/base64.js +0 -0
  142. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/fmt/colors.d.ts +0 -0
  143. /package/script/deps/deno.land/{std@0.197.0 → std@0.198.0}/fmt/colors.js +0 -0
@@ -14,7 +14,7 @@ export function getMessageId(lastMsgId) {
14
14
  let newMsgId = (BigInt(Math.floor(now)) <<
15
15
  32n) ||
16
16
  (BigInt(nanoseconds) << 2n);
17
- if (lastMsgId >= (newMsgId)) {
17
+ if (lastMsgId >= newMsgId) {
18
18
  newMsgId = lastMsgId + 4n;
19
19
  }
20
20
  return newMsgId;
@@ -158,7 +158,7 @@ export declare class Client extends ClientAbstract {
158
158
  *
159
159
  * @param storage The storage provider to use. Defaults to memory storage.
160
160
  * @param apiId App's API ID from [my.telegram.org](https://my.telegram.org/apps). Defaults to 0 (unset).
161
- * @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Default to empty string (unset).
161
+ * @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Defaults to empty string (unset).
162
162
  * @param params Other parameters.
163
163
  */
164
164
  constructor(storage?: Storage, apiId?: number | null, apiHash?: string | null, params?: ClientParams, cdn?: boolean);
@@ -47,7 +47,7 @@ export class Client extends ClientAbstract {
47
47
  *
48
48
  * @param storage The storage provider to use. Defaults to memory storage.
49
49
  * @param apiId App's API ID from [my.telegram.org](https://my.telegram.org/apps). Defaults to 0 (unset).
50
- * @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Default to empty string (unset).
50
+ * @param apiHash App's API hash from [my.telegram.org/apps](https://my.telegram.org/apps). Defaults to empty string (unset).
51
51
  * @param params Other parameters.
52
52
  */
53
53
  constructor(storage = new StorageMemory(), apiId = 0, apiHash = "", params, cdn = false) {
@@ -4,8 +4,8 @@ export type PublicKeys = readonly [bigint, [bigint, bigint]][];
4
4
  export declare const PUBLIC_KEYS: PublicKeys;
5
5
  export declare const VECTOR_CONSTRUCTOR = 481674261;
6
6
  export declare const INITIAL_DC: DC;
7
- export declare const LAYER = 160;
8
- export declare const APP_VERSION = "MTKruto 0.0.981";
7
+ export declare const LAYER = 161;
8
+ export declare const APP_VERSION = "MTKruto 0.0.982";
9
9
  export declare const DEVICE_MODEL: string;
10
10
  export declare const LANG_CODE: string;
11
11
  export declare const LANG_PACK = "";
package/esm/constants.js CHANGED
@@ -53,8 +53,8 @@ export const PUBLIC_KEYS = Object.freeze([
53
53
  ]);
54
54
  export const VECTOR_CONSTRUCTOR = 0x1CB5C415;
55
55
  export const INITIAL_DC = "2-test";
56
- export const LAYER = 160;
57
- export const APP_VERSION = "MTKruto 0.0.981";
56
+ export const LAYER = 161;
57
+ export const APP_VERSION = "MTKruto 0.0.982";
58
58
  // @ts-ignore: lib
59
59
  export const DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
60
60
  export const LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];
@@ -48,7 +48,7 @@ actual, expected, msg) {
48
48
  } // On nested objects references, build a filtered object recursively
49
49
  else if (typeof value === "object" && value !== null) {
50
50
  const subset = b[key];
51
- if ((typeof subset === "object") && (subset)) {
51
+ if ((typeof subset === "object") && subset) {
52
52
  // When both operands are maps, build a filtered map with common keys and filter nested objects inside
53
53
  if ((value instanceof Map) && (subset instanceof Map)) {
54
54
  filtered[key] = new Map([...value].filter(([k]) => subset.has(k)).map(([k, v]) => [k, typeof v === "object" ? fn(v, subset.get(k)) : v]));
package/esm/deps.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export * from "./deps/deno.land/std@0.197.0/testing/asserts.js";
1
+ export * from "./deps/deno.land/std@0.198.0/assert/mod.js";
2
2
  export { ctr256Decrypt, ctr256Encrypt, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.1.3/mod.js";
3
3
  export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/master/gzip/gzip.js";
4
4
  export { Mutex, type MutexInterface } from "async-mutex";
5
5
  export { Parser } from "./deps/deno.land/x/html_parser@v0.1.3/src/mod.js";
6
6
  import { debug as debug_ } from "./deps/raw.githubusercontent.com/MTKruto/debug/master/mod.js";
7
7
  export declare const debug: typeof debug_;
8
- export { decode as base64Decode, encode as base64Encode } from "./deps/deno.land/std@0.197.0/encoding/base64.js";
8
+ export { decode as base64Decode, encode as base64Encode } from "./deps/deno.land/std@0.198.0/encoding/base64.js";
package/esm/deps.js CHANGED
@@ -1,8 +1,8 @@
1
- export * from "./deps/deno.land/std@0.197.0/testing/asserts.js";
1
+ export * from "./deps/deno.land/std@0.198.0/assert/mod.js";
2
2
  export { ctr256Decrypt, ctr256Encrypt, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.1.3/mod.js";
3
3
  export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/master/gzip/gzip.js";
4
4
  export { Mutex } from "async-mutex";
5
5
  export { Parser } from "./deps/deno.land/x/html_parser@v0.1.3/src/mod.js";
6
6
  import { debug as debug_ } from "./deps/raw.githubusercontent.com/MTKruto/debug/master/mod.js";
7
7
  export const debug = (v) => debug_(`mtkruto/${v}`);
8
- export { decode as base64Decode, encode as base64Encode } from "./deps/deno.land/std@0.197.0/encoding/base64.js";
8
+ export { decode as base64Decode, encode as base64Encode } from "./deps/deno.land/std@0.198.0/encoding/base64.js";
@@ -873,6 +873,12 @@ export declare abstract class TypeInputReplyTo extends Type {
873
873
  }
874
874
  export declare abstract class TypeExportedStoryLink extends Type {
875
875
  }
876
+ export declare abstract class TypeStoriesStealthMode extends Type {
877
+ }
878
+ export declare abstract class TypeMediaAreaCoordinates extends Type {
879
+ }
880
+ export declare abstract class TypeMediaArea extends Type {
881
+ }
876
882
  export declare class ResPQ extends TypeResPQ {
877
883
  nonce: bigint;
878
884
  serverNonce: bigint;
@@ -3676,6 +3682,7 @@ export declare class UserFull extends TypeUserFull {
3676
3682
  voiceMessagesForbidden?: true;
3677
3683
  translationsDisabled?: true;
3678
3684
  storiesPinnedAvailable?: true;
3685
+ blockedMyStoriesFrom?: true;
3679
3686
  id: bigint;
3680
3687
  about?: string;
3681
3688
  settings: TypePeerSettings;
@@ -3708,6 +3715,7 @@ export declare class UserFull extends TypeUserFull {
3708
3715
  voiceMessagesForbidden?: true;
3709
3716
  translationsDisabled?: true;
3710
3717
  storiesPinnedAvailable?: true;
3718
+ blockedMyStoriesFrom?: true;
3711
3719
  id: bigint;
3712
3720
  about?: string;
3713
3721
  settings: TypePeerSettings;
@@ -5027,14 +5035,16 @@ export declare class UpdateReadChannelDiscussionOutbox extends TypeUpdate {
5027
5035
  });
5028
5036
  }
5029
5037
  export declare class UpdatePeerBlocked extends TypeUpdate {
5038
+ blocked?: true;
5039
+ blockedMyStoriesFrom?: true;
5030
5040
  peerId: TypePeer;
5031
- blocked: boolean;
5032
5041
  protected get [id](): number;
5033
5042
  static get [paramDesc](): ParamDesc;
5034
5043
  protected get [params](): Params;
5035
5044
  constructor(params: {
5045
+ blocked?: true;
5046
+ blockedMyStoriesFrom?: true;
5036
5047
  peerId: TypePeer;
5037
- blocked: boolean;
5038
5048
  });
5039
5049
  }
5040
5050
  export declare class UpdateChannelUserTyping extends TypeUpdate {
@@ -5449,6 +5459,28 @@ export declare class UpdateStoryID extends TypeUpdate {
5449
5459
  randomId: bigint;
5450
5460
  });
5451
5461
  }
5462
+ export declare class UpdateStoriesStealthMode extends TypeUpdate {
5463
+ stealthMode: TypeStoriesStealthMode;
5464
+ protected get [id](): number;
5465
+ static get [paramDesc](): ParamDesc;
5466
+ protected get [params](): Params;
5467
+ constructor(params: {
5468
+ stealthMode: TypeStoriesStealthMode;
5469
+ });
5470
+ }
5471
+ export declare class UpdateSentStoryReaction extends TypeUpdate {
5472
+ userId: bigint;
5473
+ storyId: number;
5474
+ reaction: TypeReaction;
5475
+ protected get [id](): number;
5476
+ static get [paramDesc](): ParamDesc;
5477
+ protected get [params](): Params;
5478
+ constructor(params: {
5479
+ userId: bigint;
5480
+ storyId: number;
5481
+ reaction: TypeReaction;
5482
+ });
5483
+ }
5452
5484
  export declare class UpdatesState extends TypeUpdatesState {
5453
5485
  pts: number;
5454
5486
  qts: number;
@@ -15008,12 +15040,14 @@ export declare class SponsoredWebPage extends TypeSponsoredWebPage {
15008
15040
  }
15009
15041
  export declare class StoryViews extends TypeStoryViews {
15010
15042
  viewsCount: number;
15043
+ reactionsCount: number;
15011
15044
  recentViewers?: Array<bigint>;
15012
15045
  protected get [id](): number;
15013
15046
  static get [paramDesc](): ParamDesc;
15014
15047
  protected get [params](): Params;
15015
15048
  constructor(params: {
15016
15049
  viewsCount: number;
15050
+ reactionsCount: number;
15017
15051
  recentViewers?: Array<bigint>;
15018
15052
  });
15019
15053
  }
@@ -15056,8 +15090,10 @@ export declare class StoryItem extends TypeStoryItem {
15056
15090
  caption?: string;
15057
15091
  entities?: Array<TypeMessageEntity>;
15058
15092
  media: TypeMessageMedia;
15093
+ mediaAreas?: Array<TypeMediaArea>;
15059
15094
  privacy?: Array<TypePrivacyRule>;
15060
15095
  views?: TypeStoryViews;
15096
+ sentReaction?: TypeReaction;
15061
15097
  protected get [id](): number;
15062
15098
  static get [paramDesc](): ParamDesc;
15063
15099
  protected get [params](): Params;
@@ -15076,8 +15112,10 @@ export declare class StoryItem extends TypeStoryItem {
15076
15112
  caption?: string;
15077
15113
  entities?: Array<TypeMessageEntity>;
15078
15114
  media: TypeMessageMedia;
15115
+ mediaAreas?: Array<TypeMediaArea>;
15079
15116
  privacy?: Array<TypePrivacyRule>;
15080
15117
  views?: TypeStoryViews;
15118
+ sentReaction?: TypeReaction;
15081
15119
  });
15082
15120
  }
15083
15121
  export declare class UserStories extends TypeUserStories {
@@ -15095,11 +15133,13 @@ export declare class UserStories extends TypeUserStories {
15095
15133
  }
15096
15134
  export declare class StoriesAllStoriesNotModified extends TypeStoriesAllStories {
15097
15135
  state: string;
15136
+ stealthMode: TypeStoriesStealthMode;
15098
15137
  protected get [id](): number;
15099
15138
  static get [paramDesc](): ParamDesc;
15100
15139
  protected get [params](): Params;
15101
15140
  constructor(params: {
15102
15141
  state: string;
15142
+ stealthMode: TypeStoriesStealthMode;
15103
15143
  });
15104
15144
  }
15105
15145
  export declare class StoriesAllStories extends TypeStoriesAllStories {
@@ -15108,6 +15148,7 @@ export declare class StoriesAllStories extends TypeStoriesAllStories {
15108
15148
  state: string;
15109
15149
  userStories: Array<TypeUserStories>;
15110
15150
  users: Array<TypeUser>;
15151
+ stealthMode: TypeStoriesStealthMode;
15111
15152
  protected get [id](): number;
15112
15153
  static get [paramDesc](): ParamDesc;
15113
15154
  protected get [params](): Params;
@@ -15117,6 +15158,7 @@ export declare class StoriesAllStories extends TypeStoriesAllStories {
15117
15158
  state: string;
15118
15159
  userStories: Array<TypeUserStories>;
15119
15160
  users: Array<TypeUser>;
15161
+ stealthMode: TypeStoriesStealthMode;
15120
15162
  });
15121
15163
  }
15122
15164
  export declare class StoriesStories extends TypeStoriesStories {
@@ -15144,27 +15186,37 @@ export declare class StoriesUserStories extends TypeStoriesUserStories {
15144
15186
  });
15145
15187
  }
15146
15188
  export declare class StoryView extends TypeStoryView {
15189
+ blocked?: true;
15190
+ blockedMyStoriesFrom?: true;
15147
15191
  userId: bigint;
15148
15192
  date: number;
15193
+ reaction?: TypeReaction;
15149
15194
  protected get [id](): number;
15150
15195
  static get [paramDesc](): ParamDesc;
15151
15196
  protected get [params](): Params;
15152
15197
  constructor(params: {
15198
+ blocked?: true;
15199
+ blockedMyStoriesFrom?: true;
15153
15200
  userId: bigint;
15154
15201
  date: number;
15202
+ reaction?: TypeReaction;
15155
15203
  });
15156
15204
  }
15157
15205
  export declare class StoriesStoryViewsList extends TypeStoriesStoryViewsList {
15158
15206
  count: number;
15207
+ reactionsCount: number;
15159
15208
  views: Array<TypeStoryView>;
15160
15209
  users: Array<TypeUser>;
15210
+ nextOffset?: string;
15161
15211
  protected get [id](): number;
15162
15212
  static get [paramDesc](): ParamDesc;
15163
15213
  protected get [params](): Params;
15164
15214
  constructor(params: {
15165
15215
  count: number;
15216
+ reactionsCount: number;
15166
15217
  views: Array<TypeStoryView>;
15167
15218
  users: Array<TypeUser>;
15219
+ nextOffset?: string;
15168
15220
  });
15169
15221
  }
15170
15222
  export declare class StoriesStoryViews extends TypeStoriesStoryViews {
@@ -15209,4 +15261,77 @@ export declare class ExportedStoryLink extends TypeExportedStoryLink {
15209
15261
  link: string;
15210
15262
  });
15211
15263
  }
15264
+ export declare class StoriesStealthMode extends TypeStoriesStealthMode {
15265
+ activeUntilDate?: number;
15266
+ cooldownUntilDate?: number;
15267
+ protected get [id](): number;
15268
+ static get [paramDesc](): ParamDesc;
15269
+ protected get [params](): Params;
15270
+ constructor(params?: {
15271
+ activeUntilDate?: number;
15272
+ cooldownUntilDate?: number;
15273
+ });
15274
+ }
15275
+ export declare class MediaAreaCoordinates extends TypeMediaAreaCoordinates {
15276
+ x: number;
15277
+ y: number;
15278
+ w: number;
15279
+ h: number;
15280
+ rotation: number;
15281
+ protected get [id](): number;
15282
+ static get [paramDesc](): ParamDesc;
15283
+ protected get [params](): Params;
15284
+ constructor(params: {
15285
+ x: number;
15286
+ y: number;
15287
+ w: number;
15288
+ h: number;
15289
+ rotation: number;
15290
+ });
15291
+ }
15292
+ export declare class MediaAreaVenue extends TypeMediaArea {
15293
+ coordinates: TypeMediaAreaCoordinates;
15294
+ geo: TypeGeoPoint;
15295
+ title: string;
15296
+ address: string;
15297
+ provider: string;
15298
+ venueId: string;
15299
+ venueType: string;
15300
+ protected get [id](): number;
15301
+ static get [paramDesc](): ParamDesc;
15302
+ protected get [params](): Params;
15303
+ constructor(params: {
15304
+ coordinates: TypeMediaAreaCoordinates;
15305
+ geo: TypeGeoPoint;
15306
+ title: string;
15307
+ address: string;
15308
+ provider: string;
15309
+ venueId: string;
15310
+ venueType: string;
15311
+ });
15312
+ }
15313
+ export declare class InputMediaAreaVenue extends TypeMediaArea {
15314
+ coordinates: TypeMediaAreaCoordinates;
15315
+ queryId: bigint;
15316
+ resultId: string;
15317
+ protected get [id](): number;
15318
+ static get [paramDesc](): ParamDesc;
15319
+ protected get [params](): Params;
15320
+ constructor(params: {
15321
+ coordinates: TypeMediaAreaCoordinates;
15322
+ queryId: bigint;
15323
+ resultId: string;
15324
+ });
15325
+ }
15326
+ export declare class MediaAreaGeoPoint extends TypeMediaArea {
15327
+ coordinates: TypeMediaAreaCoordinates;
15328
+ geo: TypeGeoPoint;
15329
+ protected get [id](): number;
15330
+ static get [paramDesc](): ParamDesc;
15331
+ protected get [params](): Params;
15332
+ constructor(params: {
15333
+ coordinates: TypeMediaAreaCoordinates;
15334
+ geo: TypeGeoPoint;
15335
+ });
15336
+ }
15212
15337
  export declare const map: Map<number, TLObjectConstructor<TLObject>>;