@mtkruto/browser 0.141.0 → 0.143.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/0_deps.d.ts +4 -4
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +4 -4
- package/esm/3_types.d.ts +1 -0
- package/esm/3_types.d.ts.map +1 -1
- package/esm/3_types.js +1 -0
- package/esm/client/0_params.d.ts +10 -0
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +1 -1
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/1_client_generic.d.ts +50 -3
- package/esm/client/1_client_generic.d.ts.map +1 -1
- package/esm/client/2_managed_bot_manager.d.ts +28 -0
- package/esm/client/2_managed_bot_manager.d.ts.map +1 -0
- package/esm/client/2_managed_bot_manager.js +37 -0
- package/esm/client/3_account_manager.d.ts +2 -1
- package/esm/client/3_account_manager.d.ts.map +1 -1
- package/esm/client/3_account_manager.js +17 -2
- package/esm/client/3_filters.d.ts +6 -1
- package/esm/client/3_filters.d.ts.map +1 -1
- package/esm/client/3_message_manager.d.ts +8 -5
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +40 -11
- package/esm/client/4_context.d.ts +8 -0
- package/esm/client/4_context.d.ts.map +1 -1
- package/esm/client/4_context.js +21 -1
- package/esm/client/6_client.d.ts +50 -3
- package/esm/client/6_client.d.ts.map +1 -1
- package/esm/client/6_client.js +71 -2
- package/esm/client/6_client_dispatcher.d.ts +50 -3
- package/esm/client/6_client_dispatcher.d.ts.map +1 -1
- package/esm/client/6_client_dispatcher.js +67 -2
- package/esm/deps/jsr.io/@std/assert/1.0.19/equals.js +4 -4
- package/esm/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/async/1.2.0 → esm/deps/jsr.io/@std/async/1.3.0}/pool.d.ts +2 -0
- package/esm/deps/jsr.io/@std/async/1.3.0/pool.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/pool.js +5 -1
- package/esm/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.js +27 -16
- package/{script/deps/jsr.io/@std/cache/0.2.2 → esm/deps/jsr.io/@std/cache/0.2.3}/lru_cache.d.ts +109 -25
- package/esm/deps/jsr.io/@std/cache/0.2.3/lru_cache.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cache/0.2.3/lru_cache.js +299 -0
- package/{script/deps/jsr.io/@std/cache/0.2.2 → esm/deps/jsr.io/@std/cache/0.2.3}/memoize.d.ts +18 -10
- package/esm/deps/jsr.io/@std/cache/0.2.3/memoize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/memoize.js +11 -7
- package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.js +3 -3
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.js +3 -3
- package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/1.0.13/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/extname.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/join.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/streams/1.1.0/to_array_buffer.d.ts.map +1 -0
- package/esm/tl/1_telegram_api.d.ts +251 -5
- package/esm/tl/1_telegram_api.d.ts.map +1 -1
- package/esm/tl/1_telegram_api.js +271 -11
- package/esm/types/1_chat_p.d.ts +2 -0
- package/esm/types/1_chat_p.d.ts.map +1 -1
- package/esm/types/1_chat_p.js +1 -0
- package/esm/types/2_user.d.ts +2 -0
- package/esm/types/2_user.d.ts.map +1 -1
- package/esm/types/2_user.js +1 -0
- package/esm/types/4_poll.d.ts +2 -0
- package/esm/types/4_poll.d.ts.map +1 -1
- package/esm/types/4_poll.js +1 -0
- package/esm/types/7_guest_query.d.ts +28 -0
- package/esm/types/7_guest_query.d.ts.map +1 -0
- package/esm/types/7_guest_query.js +20 -0
- package/esm/types/8_update.d.ts +19 -1
- package/esm/types/8_update.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/0_deps.d.ts +4 -4
- package/script/0_deps.d.ts.map +1 -1
- package/script/0_deps.js +4 -4
- package/script/3_types.d.ts +1 -0
- package/script/3_types.d.ts.map +1 -1
- package/script/3_types.js +1 -0
- package/script/client/0_params.d.ts +10 -0
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +1 -1
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/1_client_generic.d.ts +50 -3
- package/script/client/1_client_generic.d.ts.map +1 -1
- package/script/client/2_managed_bot_manager.d.ts +28 -0
- package/script/client/2_managed_bot_manager.d.ts.map +1 -0
- package/script/client/2_managed_bot_manager.js +41 -0
- package/script/client/3_account_manager.d.ts +2 -1
- package/script/client/3_account_manager.d.ts.map +1 -1
- package/script/client/3_account_manager.js +17 -2
- package/script/client/3_filters.d.ts +6 -1
- package/script/client/3_filters.d.ts.map +1 -1
- package/script/client/3_message_manager.d.ts +8 -5
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +38 -9
- package/script/client/4_context.d.ts +8 -0
- package/script/client/4_context.d.ts.map +1 -1
- package/script/client/4_context.js +21 -1
- package/script/client/6_client.d.ts +50 -3
- package/script/client/6_client.d.ts.map +1 -1
- package/script/client/6_client.js +71 -2
- package/script/client/6_client_dispatcher.d.ts +50 -3
- package/script/client/6_client_dispatcher.d.ts.map +1 -1
- package/script/client/6_client_dispatcher.js +67 -2
- package/script/deps/jsr.io/@std/assert/1.0.19/equals.js +4 -4
- package/script/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/async/1.2.0 → script/deps/jsr.io/@std/async/1.3.0}/pool.d.ts +2 -0
- package/script/deps/jsr.io/@std/async/1.3.0/pool.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/pool.js +5 -1
- package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.js +27 -16
- package/{esm/deps/jsr.io/@std/cache/0.2.2 → script/deps/jsr.io/@std/cache/0.2.3}/lru_cache.d.ts +109 -25
- package/script/deps/jsr.io/@std/cache/0.2.3/lru_cache.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/lru_cache.js +149 -38
- package/{esm/deps/jsr.io/@std/cache/0.2.2 → script/deps/jsr.io/@std/cache/0.2.3}/memoize.d.ts +18 -10
- package/script/deps/jsr.io/@std/cache/0.2.3/memoize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/memoize.js +11 -7
- package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.js +3 -3
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.js +3 -3
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/basename.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/extname.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/join.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.js +1 -1
- package/script/deps/jsr.io/@std/streams/1.1.0/to_array_buffer.d.ts.map +1 -0
- package/script/tl/1_telegram_api.d.ts +251 -5
- package/script/tl/1_telegram_api.d.ts.map +1 -1
- package/script/tl/1_telegram_api.js +271 -11
- package/script/types/1_chat_p.d.ts +2 -0
- package/script/types/1_chat_p.d.ts.map +1 -1
- package/script/types/1_chat_p.js +1 -0
- package/script/types/2_user.d.ts +2 -0
- package/script/types/2_user.d.ts.map +1 -1
- package/script/types/2_user.js +1 -0
- package/script/types/4_poll.d.ts +2 -0
- package/script/types/4_poll.d.ts.map +1 -1
- package/script/types/4_poll.js +1 -0
- package/script/types/7_guest_query.d.ts +28 -0
- package/script/types/7_guest_query.d.ts.map +1 -0
- package/script/types/7_guest_query.js +21 -0
- package/script/types/8_update.d.ts +19 -1
- package/script/types/8_update.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/cache/0.2.2/lru_cache.js +0 -188
- package/esm/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/types.js +0 -3
- package/esm/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.js +0 -0
- /package/esm/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.17 → 1.1.0}/to_array_buffer.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.17 → 1.1.0}/to_array_buffer.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.2.0 → 1.3.0}/delay.js +0 -0
- /package/script/deps/jsr.io/@std/cache/{0.2.2 → 0.2.3}/_serialize_arg_list.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.17 → 1.1.0}/to_array_buffer.d.ts +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.17 → 1.1.0}/to_array_buffer.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.13/styles.ts"],"names":[],"mappings":"AAqCA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEvC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE1C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE3C;AAWD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEpD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright 2018-
|
|
2
|
+
// Copyright 2018-2026 the Deno authors. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
// A module to print ANSI terminal colors. Inspired by chalk, kleur, and colors
|
|
5
5
|
// on npm.
|
|
@@ -229,7 +229,7 @@ function bgGreen(str) {
|
|
|
229
229
|
return run(str, code([42], 49));
|
|
230
230
|
}
|
|
231
231
|
// https://github.com/chalk/ansi-regex/blob/02fa893d619d3da85411acc8fd4e2eea0e95a9d9/index.js
|
|
232
|
-
const
|
|
232
|
+
const ANSI_REGEXP = new RegExp([
|
|
233
233
|
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
|
234
234
|
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TXZcf-nq-uy=><~]))",
|
|
235
235
|
].join("|"), "g");
|
|
@@ -248,5 +248,5 @@ const ANSI_PATTERN = new RegExp([
|
|
|
248
248
|
* ```
|
|
249
249
|
*/
|
|
250
250
|
function stripAnsiCode(string) {
|
|
251
|
-
return string.replace(
|
|
251
|
+
return string.replace(ANSI_REGEXP, "");
|
|
252
252
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.13/types.ts"],"names":[],"mappings":"AAGA,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAChC,IAAI,EAAE,QAAQ,GAAG,YAAY,CAAC;IAC9B,KAAK,EAAE,CAAC,CAAC;CACV,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1B,KAAK,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.basename = basename;
|
|
6
|
-
const os_js_1 = require("../../internal/1.0.
|
|
6
|
+
const os_js_1 = require("../../internal/1.0.13/os.js");
|
|
7
7
|
const basename_js_1 = require("./posix/basename.js");
|
|
8
8
|
const basename_js_2 = require("./windows/basename.js");
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.extname = extname;
|
|
6
|
-
const os_js_1 = require("../../internal/1.0.
|
|
6
|
+
const os_js_1 = require("../../internal/1.0.13/os.js");
|
|
7
7
|
const extname_js_1 = require("./posix/extname.js");
|
|
8
8
|
const extname_js_2 = require("./windows/extname.js");
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.isAbsolute = isAbsolute;
|
|
6
|
-
const os_js_1 = require("../../internal/1.0.
|
|
6
|
+
const os_js_1 = require("../../internal/1.0.13/os.js");
|
|
7
7
|
const is_absolute_js_1 = require("./posix/is_absolute.js");
|
|
8
8
|
const is_absolute_js_2 = require("./windows/is_absolute.js");
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.join = join;
|
|
6
|
-
const os_js_1 = require("../../internal/1.0.
|
|
6
|
+
const os_js_1 = require("../../internal/1.0.13/os.js");
|
|
7
7
|
const join_js_1 = require("./posix/join.js");
|
|
8
8
|
const join_js_2 = require("./windows/join.js");
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.toFileUrl = toFileUrl;
|
|
6
|
-
const os_js_1 = require("../../internal/1.0.
|
|
6
|
+
const os_js_1 = require("../../internal/1.0.13/os.js");
|
|
7
7
|
const to_file_url_js_1 = require("./posix/to_file_url.js");
|
|
8
8
|
const to_file_url_js_2 = require("./windows/to_file_url.js");
|
|
9
9
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to_array_buffer.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/streams/1.1.0/to_array_buffer.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,aAAa,CACjC,cAAc,EAAE,cAAc,CAAC,UAAU,CAAC,GACzC,OAAO,CAAC,WAAW,CAAC,CAetB"}
|
|
@@ -528,6 +528,7 @@ export interface user {
|
|
|
528
528
|
bot_forum_view?: true;
|
|
529
529
|
bot_forum_can_manage_topics?: true;
|
|
530
530
|
bot_can_manage_bots?: true;
|
|
531
|
+
bot_guestchat?: true;
|
|
531
532
|
id: bigint;
|
|
532
533
|
access_hash?: bigint;
|
|
533
534
|
first_name?: string;
|
|
@@ -859,6 +860,7 @@ export interface message {
|
|
|
859
860
|
fwd_from?: MessageFwdHeader;
|
|
860
861
|
via_bot_id?: bigint;
|
|
861
862
|
via_business_bot_id?: bigint;
|
|
863
|
+
guestchat_via_from?: Peer;
|
|
862
864
|
reply_to?: MessageReplyHeader;
|
|
863
865
|
date: number;
|
|
864
866
|
message: string;
|
|
@@ -1645,6 +1647,7 @@ export interface auth_sentCodePaymentRequired {
|
|
|
1645
1647
|
phone_code_hash: string;
|
|
1646
1648
|
support_email_address: string;
|
|
1647
1649
|
support_email_subject: string;
|
|
1650
|
+
premium_days: number;
|
|
1648
1651
|
currency: string;
|
|
1649
1652
|
amount: bigint;
|
|
1650
1653
|
}
|
|
@@ -3100,6 +3103,18 @@ export interface updateManagedBot {
|
|
|
3100
3103
|
bot_id: bigint;
|
|
3101
3104
|
qts: number;
|
|
3102
3105
|
}
|
|
3106
|
+
/** https://core.telegram.org/constructor/updateBotGuestChatQuery */
|
|
3107
|
+
export interface updateBotGuestChatQuery {
|
|
3108
|
+
_: "updateBotGuestChatQuery";
|
|
3109
|
+
query_id: bigint;
|
|
3110
|
+
message: Message;
|
|
3111
|
+
reference_messages?: Array<Message>;
|
|
3112
|
+
qts: number;
|
|
3113
|
+
}
|
|
3114
|
+
/** https://core.telegram.org/constructor/updateAiComposeTones */
|
|
3115
|
+
export interface updateAiComposeTones {
|
|
3116
|
+
_: "updateAiComposeTones";
|
|
3117
|
+
}
|
|
3103
3118
|
/** https://core.telegram.org/constructor/updates.state */
|
|
3104
3119
|
export interface updates_state {
|
|
3105
3120
|
_: "updates.state";
|
|
@@ -5165,6 +5180,10 @@ export interface topPeerCategoryForwardChats {
|
|
|
5165
5180
|
export interface topPeerCategoryBotsApp {
|
|
5166
5181
|
_: "topPeerCategoryBotsApp";
|
|
5167
5182
|
}
|
|
5183
|
+
/** https://core.telegram.org/constructor/topPeerCategoryBotsGuestChat */
|
|
5184
|
+
export interface topPeerCategoryBotsGuestChat {
|
|
5185
|
+
_: "topPeerCategoryBotsGuestChat";
|
|
5186
|
+
}
|
|
5168
5187
|
/** https://core.telegram.org/constructor/topPeerCategoryPeers */
|
|
5169
5188
|
export interface topPeerCategoryPeers {
|
|
5170
5189
|
_: "topPeerCategoryPeers";
|
|
@@ -6983,10 +7002,12 @@ export interface poll {
|
|
|
6983
7002
|
shuffle_answers?: true;
|
|
6984
7003
|
hide_results_until_close?: true;
|
|
6985
7004
|
creator?: true;
|
|
7005
|
+
subscribers_only?: true;
|
|
6986
7006
|
question: TextWithEntities;
|
|
6987
7007
|
answers: Array<PollAnswer>;
|
|
6988
7008
|
close_period?: number;
|
|
6989
7009
|
close_date?: number;
|
|
7010
|
+
countries_iso2?: Array<string>;
|
|
6990
7011
|
hash: bigint;
|
|
6991
7012
|
}
|
|
6992
7013
|
/** https://core.telegram.org/constructor/pollAnswerVoters */
|
|
@@ -7003,6 +7024,7 @@ export interface pollResults {
|
|
|
7003
7024
|
_: "pollResults";
|
|
7004
7025
|
min?: true;
|
|
7005
7026
|
has_unread_votes?: true;
|
|
7027
|
+
can_view_stats?: true;
|
|
7006
7028
|
results?: Array<PollAnswerVoters>;
|
|
7007
7029
|
total_voters?: number;
|
|
7008
7030
|
recent_voters?: Array<Peer>;
|
|
@@ -7065,6 +7087,7 @@ export interface chatBannedRights {
|
|
|
7065
7087
|
send_docs?: true;
|
|
7066
7088
|
send_plain?: true;
|
|
7067
7089
|
edit_rank?: true;
|
|
7090
|
+
send_reactions?: true;
|
|
7068
7091
|
until_date: number;
|
|
7069
7092
|
}
|
|
7070
7093
|
/** https://core.telegram.org/constructor/inputWallPaper */
|
|
@@ -7398,6 +7421,11 @@ export interface webPageAttributeStarGiftAuction {
|
|
|
7398
7421
|
gift: StarGift;
|
|
7399
7422
|
end_date: number;
|
|
7400
7423
|
}
|
|
7424
|
+
/** https://core.telegram.org/constructor/webPageAttributeAiComposeTone */
|
|
7425
|
+
export interface webPageAttributeAiComposeTone {
|
|
7426
|
+
_: "webPageAttributeAiComposeTone";
|
|
7427
|
+
emoji_id: bigint;
|
|
7428
|
+
}
|
|
7401
7429
|
/** https://core.telegram.org/constructor/messages.votesList */
|
|
7402
7430
|
export interface messages_votesList {
|
|
7403
7431
|
_: "messages.votesList";
|
|
@@ -8502,6 +8530,7 @@ export interface inputStorePaymentAuthCode {
|
|
|
8502
8530
|
restore?: true;
|
|
8503
8531
|
phone_number: string;
|
|
8504
8532
|
phone_code_hash: string;
|
|
8533
|
+
premium_days: number;
|
|
8505
8534
|
currency: string;
|
|
8506
8535
|
amount: bigint;
|
|
8507
8536
|
}
|
|
@@ -11071,6 +11100,71 @@ export interface messages_composedMessageWithAI {
|
|
|
11071
11100
|
result_text: TextWithEntities;
|
|
11072
11101
|
diff_text?: TextWithEntities;
|
|
11073
11102
|
}
|
|
11103
|
+
/** https://core.telegram.org/constructor/stats.pollStats */
|
|
11104
|
+
export interface stats_pollStats {
|
|
11105
|
+
_: "stats.pollStats";
|
|
11106
|
+
votes_graph: StatsGraph;
|
|
11107
|
+
}
|
|
11108
|
+
/** https://core.telegram.org/constructor/inputAiComposeToneDefault */
|
|
11109
|
+
export interface inputAiComposeToneDefault {
|
|
11110
|
+
_: "inputAiComposeToneDefault";
|
|
11111
|
+
tone: string;
|
|
11112
|
+
}
|
|
11113
|
+
/** https://core.telegram.org/constructor/inputAiComposeToneID */
|
|
11114
|
+
export interface inputAiComposeToneID {
|
|
11115
|
+
_: "inputAiComposeToneID";
|
|
11116
|
+
id: bigint;
|
|
11117
|
+
access_hash: bigint;
|
|
11118
|
+
}
|
|
11119
|
+
/** https://core.telegram.org/constructor/inputAiComposeToneSlug */
|
|
11120
|
+
export interface inputAiComposeToneSlug {
|
|
11121
|
+
_: "inputAiComposeToneSlug";
|
|
11122
|
+
slug: string;
|
|
11123
|
+
}
|
|
11124
|
+
/** https://core.telegram.org/constructor/aiComposeTone */
|
|
11125
|
+
export interface aiComposeTone {
|
|
11126
|
+
_: "aiComposeTone";
|
|
11127
|
+
creator?: true;
|
|
11128
|
+
id: bigint;
|
|
11129
|
+
access_hash: bigint;
|
|
11130
|
+
slug: string;
|
|
11131
|
+
title: string;
|
|
11132
|
+
emoji_id?: bigint;
|
|
11133
|
+
prompt?: string;
|
|
11134
|
+
installs_count?: number;
|
|
11135
|
+
author_id?: bigint;
|
|
11136
|
+
example_english?: AiComposeToneExample;
|
|
11137
|
+
}
|
|
11138
|
+
/** https://core.telegram.org/constructor/aiComposeToneDefault */
|
|
11139
|
+
export interface aiComposeToneDefault {
|
|
11140
|
+
_: "aiComposeToneDefault";
|
|
11141
|
+
tone: string;
|
|
11142
|
+
emoji_id: bigint;
|
|
11143
|
+
title: string;
|
|
11144
|
+
}
|
|
11145
|
+
/** https://core.telegram.org/constructor/aicompose.tonesNotModified */
|
|
11146
|
+
export interface aicompose_tonesNotModified {
|
|
11147
|
+
_: "aicompose.tonesNotModified";
|
|
11148
|
+
}
|
|
11149
|
+
/** https://core.telegram.org/constructor/aicompose.tones */
|
|
11150
|
+
export interface aicompose_tones {
|
|
11151
|
+
_: "aicompose.tones";
|
|
11152
|
+
hash: bigint;
|
|
11153
|
+
tones: Array<AiComposeTone>;
|
|
11154
|
+
users: Array<User>;
|
|
11155
|
+
}
|
|
11156
|
+
/** https://core.telegram.org/constructor/aiComposeToneExample */
|
|
11157
|
+
export interface aiComposeToneExample {
|
|
11158
|
+
_: "aiComposeToneExample";
|
|
11159
|
+
from: TextWithEntities;
|
|
11160
|
+
to: TextWithEntities;
|
|
11161
|
+
}
|
|
11162
|
+
/** https://core.telegram.org/constructor/bots.accessSettings */
|
|
11163
|
+
export interface bots_accessSettings {
|
|
11164
|
+
_: "bots.accessSettings";
|
|
11165
|
+
restricted?: true;
|
|
11166
|
+
add_users?: Array<User>;
|
|
11167
|
+
}
|
|
11074
11168
|
/** https://core.telegram.org/method/invokeWithBusinessConnectionPrefix */
|
|
11075
11169
|
export interface invokeWithBusinessConnectionPrefix {
|
|
11076
11170
|
_: "invokeWithBusinessConnectionPrefix";
|
|
@@ -12313,6 +12407,7 @@ export interface contacts_getTopPeers {
|
|
|
12313
12407
|
groups?: true;
|
|
12314
12408
|
channels?: true;
|
|
12315
12409
|
bots_app?: true;
|
|
12410
|
+
bots_guestchat?: true;
|
|
12316
12411
|
offset: number;
|
|
12317
12412
|
limit: number;
|
|
12318
12413
|
hash: bigint;
|
|
@@ -14446,7 +14541,7 @@ export interface messages_composeMessageWithAI {
|
|
|
14446
14541
|
emojify?: true;
|
|
14447
14542
|
text: TextWithEntities;
|
|
14448
14543
|
translate_to_lang?: string;
|
|
14449
|
-
|
|
14544
|
+
tone?: InputAiComposeTone;
|
|
14450
14545
|
[R]?: messages_ComposedMessageWithAI;
|
|
14451
14546
|
}
|
|
14452
14547
|
/** https://core.telegram.org/method/messages.reportReadMetrics */
|
|
@@ -14498,6 +14593,38 @@ export interface messages_readPollVotes {
|
|
|
14498
14593
|
top_msg_id?: number;
|
|
14499
14594
|
[R]?: messages_AffectedHistory;
|
|
14500
14595
|
}
|
|
14596
|
+
/** https://core.telegram.org/method/messages.setBotGuestChatResult */
|
|
14597
|
+
export interface messages_setBotGuestChatResult {
|
|
14598
|
+
_: "messages.setBotGuestChatResult";
|
|
14599
|
+
query_id: bigint;
|
|
14600
|
+
result: InputBotInlineResult;
|
|
14601
|
+
[R]?: InputBotInlineMessageID;
|
|
14602
|
+
}
|
|
14603
|
+
/** https://core.telegram.org/method/messages.deleteParticipantReactions */
|
|
14604
|
+
export interface messages_deleteParticipantReactions {
|
|
14605
|
+
_: "messages.deleteParticipantReactions";
|
|
14606
|
+
peer: InputPeer;
|
|
14607
|
+
participant: InputPeer;
|
|
14608
|
+
[R]?: boolean;
|
|
14609
|
+
}
|
|
14610
|
+
/** https://core.telegram.org/method/messages.deleteParticipantReaction */
|
|
14611
|
+
export interface messages_deleteParticipantReaction {
|
|
14612
|
+
_: "messages.deleteParticipantReaction";
|
|
14613
|
+
peer: InputPeer;
|
|
14614
|
+
msg_id: number;
|
|
14615
|
+
participant: InputPeer;
|
|
14616
|
+
[R]?: Updates;
|
|
14617
|
+
}
|
|
14618
|
+
/** https://core.telegram.org/method/messages.getPersonalChannelHistory */
|
|
14619
|
+
export interface messages_getPersonalChannelHistory {
|
|
14620
|
+
_: "messages.getPersonalChannelHistory";
|
|
14621
|
+
user_id: InputUser;
|
|
14622
|
+
limit: number;
|
|
14623
|
+
max_id: number;
|
|
14624
|
+
min_id: number;
|
|
14625
|
+
hash: bigint;
|
|
14626
|
+
[R]?: messages_Messages;
|
|
14627
|
+
}
|
|
14501
14628
|
/** https://core.telegram.org/method/updates.getState */
|
|
14502
14629
|
export interface updates_getState {
|
|
14503
14630
|
_: "updates.getState";
|
|
@@ -15460,6 +15587,20 @@ export interface bots_getRequestedWebViewButton {
|
|
|
15460
15587
|
webapp_req_id: string;
|
|
15461
15588
|
[R]?: KeyboardButton;
|
|
15462
15589
|
}
|
|
15590
|
+
/** https://core.telegram.org/method/bots.getAccessSettings */
|
|
15591
|
+
export interface bots_getAccessSettings {
|
|
15592
|
+
_: "bots.getAccessSettings";
|
|
15593
|
+
bot: InputUser;
|
|
15594
|
+
[R]?: bots_AccessSettings;
|
|
15595
|
+
}
|
|
15596
|
+
/** https://core.telegram.org/method/bots.editAccessSettings */
|
|
15597
|
+
export interface bots_editAccessSettings {
|
|
15598
|
+
_: "bots.editAccessSettings";
|
|
15599
|
+
restricted?: true;
|
|
15600
|
+
bot: InputUser;
|
|
15601
|
+
add_users?: Array<InputUser>;
|
|
15602
|
+
[R]?: boolean;
|
|
15603
|
+
}
|
|
15463
15604
|
/** https://core.telegram.org/method/payments.getPaymentForm */
|
|
15464
15605
|
export interface payments_getPaymentForm {
|
|
15465
15606
|
_: "payments.getPaymentForm";
|
|
@@ -16466,6 +16607,14 @@ export interface stats_getStoryPublicForwards {
|
|
|
16466
16607
|
limit: number;
|
|
16467
16608
|
[R]?: stats_PublicForwards;
|
|
16468
16609
|
}
|
|
16610
|
+
/** https://core.telegram.org/method/stats.getPollStats */
|
|
16611
|
+
export interface stats_getPollStats {
|
|
16612
|
+
_: "stats.getPollStats";
|
|
16613
|
+
dark?: true;
|
|
16614
|
+
peer: InputPeer;
|
|
16615
|
+
msg_id: number;
|
|
16616
|
+
[R]?: stats_PollStats;
|
|
16617
|
+
}
|
|
16469
16618
|
/** https://core.telegram.org/method/chatlists.exportChatlistInvite */
|
|
16470
16619
|
export interface chatlists_exportChatlistInvite {
|
|
16471
16620
|
_: "chatlists.exportChatlistInvite";
|
|
@@ -16898,6 +17047,57 @@ export interface fragment_getCollectibleInfo {
|
|
|
16898
17047
|
collectible: InputCollectible;
|
|
16899
17048
|
[R]?: fragment_CollectibleInfo;
|
|
16900
17049
|
}
|
|
17050
|
+
/** https://core.telegram.org/method/aicompose.createTone */
|
|
17051
|
+
export interface aicompose_createTone {
|
|
17052
|
+
_: "aicompose.createTone";
|
|
17053
|
+
display_author?: true;
|
|
17054
|
+
emoji_id: bigint;
|
|
17055
|
+
title: string;
|
|
17056
|
+
prompt: string;
|
|
17057
|
+
[R]?: AiComposeTone;
|
|
17058
|
+
}
|
|
17059
|
+
/** https://core.telegram.org/method/aicompose.updateTone */
|
|
17060
|
+
export interface aicompose_updateTone {
|
|
17061
|
+
_: "aicompose.updateTone";
|
|
17062
|
+
tone: InputAiComposeTone;
|
|
17063
|
+
display_author?: boolean;
|
|
17064
|
+
emoji_id?: bigint;
|
|
17065
|
+
title?: string;
|
|
17066
|
+
prompt?: string;
|
|
17067
|
+
[R]?: AiComposeTone;
|
|
17068
|
+
}
|
|
17069
|
+
/** https://core.telegram.org/method/aicompose.saveTone */
|
|
17070
|
+
export interface aicompose_saveTone {
|
|
17071
|
+
_: "aicompose.saveTone";
|
|
17072
|
+
tone: InputAiComposeTone;
|
|
17073
|
+
unsave: boolean;
|
|
17074
|
+
[R]?: boolean;
|
|
17075
|
+
}
|
|
17076
|
+
/** https://core.telegram.org/method/aicompose.deleteTone */
|
|
17077
|
+
export interface aicompose_deleteTone {
|
|
17078
|
+
_: "aicompose.deleteTone";
|
|
17079
|
+
tone: InputAiComposeTone;
|
|
17080
|
+
[R]?: boolean;
|
|
17081
|
+
}
|
|
17082
|
+
/** https://core.telegram.org/method/aicompose.getTone */
|
|
17083
|
+
export interface aicompose_getTone {
|
|
17084
|
+
_: "aicompose.getTone";
|
|
17085
|
+
tone: InputAiComposeTone;
|
|
17086
|
+
[R]?: aicompose_Tones;
|
|
17087
|
+
}
|
|
17088
|
+
/** https://core.telegram.org/method/aicompose.getTones */
|
|
17089
|
+
export interface aicompose_getTones {
|
|
17090
|
+
_: "aicompose.getTones";
|
|
17091
|
+
hash: bigint;
|
|
17092
|
+
[R]?: aicompose_Tones;
|
|
17093
|
+
}
|
|
17094
|
+
/** https://core.telegram.org/method/aicompose.getToneExample */
|
|
17095
|
+
export interface aicompose_getToneExample {
|
|
17096
|
+
_: "aicompose.getToneExample";
|
|
17097
|
+
tone: InputAiComposeTone;
|
|
17098
|
+
num: number;
|
|
17099
|
+
[R]?: AiComposeToneExample;
|
|
17100
|
+
}
|
|
16901
17101
|
export interface Types {
|
|
16902
17102
|
"true": true_;
|
|
16903
17103
|
"error": error;
|
|
@@ -17315,6 +17515,8 @@ export interface Types {
|
|
|
17315
17515
|
"updateStarGiftCraftFail": updateStarGiftCraftFail;
|
|
17316
17516
|
"updateChatParticipantRank": updateChatParticipantRank;
|
|
17317
17517
|
"updateManagedBot": updateManagedBot;
|
|
17518
|
+
"updateBotGuestChatQuery": updateBotGuestChatQuery;
|
|
17519
|
+
"updateAiComposeTones": updateAiComposeTones;
|
|
17318
17520
|
"updates.state": updates_state;
|
|
17319
17521
|
"updates.differenceEmpty": updates_differenceEmpty;
|
|
17320
17522
|
"updates.difference": updates_difference;
|
|
@@ -17621,6 +17823,7 @@ export interface Types {
|
|
|
17621
17823
|
"topPeerCategoryForwardUsers": topPeerCategoryForwardUsers;
|
|
17622
17824
|
"topPeerCategoryForwardChats": topPeerCategoryForwardChats;
|
|
17623
17825
|
"topPeerCategoryBotsApp": topPeerCategoryBotsApp;
|
|
17826
|
+
"topPeerCategoryBotsGuestChat": topPeerCategoryBotsGuestChat;
|
|
17624
17827
|
"topPeerCategoryPeers": topPeerCategoryPeers;
|
|
17625
17828
|
"contacts.topPeersNotModified": contacts_topPeersNotModified;
|
|
17626
17829
|
"contacts.topPeers": contacts_topPeers;
|
|
@@ -17956,6 +18159,7 @@ export interface Types {
|
|
|
17956
18159
|
"webPageAttributeUniqueStarGift": webPageAttributeUniqueStarGift;
|
|
17957
18160
|
"webPageAttributeStarGiftCollection": webPageAttributeStarGiftCollection;
|
|
17958
18161
|
"webPageAttributeStarGiftAuction": webPageAttributeStarGiftAuction;
|
|
18162
|
+
"webPageAttributeAiComposeTone": webPageAttributeAiComposeTone;
|
|
17959
18163
|
"messages.votesList": messages_votesList;
|
|
17960
18164
|
"bankCardOpenUrl": bankCardOpenUrl;
|
|
17961
18165
|
"payments.bankCardData": payments_bankCardData;
|
|
@@ -18461,6 +18665,16 @@ export interface Types {
|
|
|
18461
18665
|
"bots.exportedBotToken": bots_exportedBotToken;
|
|
18462
18666
|
"bots.requestedButton": bots_requestedButton;
|
|
18463
18667
|
"messages.composedMessageWithAI": messages_composedMessageWithAI;
|
|
18668
|
+
"stats.pollStats": stats_pollStats;
|
|
18669
|
+
"inputAiComposeToneDefault": inputAiComposeToneDefault;
|
|
18670
|
+
"inputAiComposeToneID": inputAiComposeToneID;
|
|
18671
|
+
"inputAiComposeToneSlug": inputAiComposeToneSlug;
|
|
18672
|
+
"aiComposeTone": aiComposeTone;
|
|
18673
|
+
"aiComposeToneDefault": aiComposeToneDefault;
|
|
18674
|
+
"aicompose.tonesNotModified": aicompose_tonesNotModified;
|
|
18675
|
+
"aicompose.tones": aicompose_tones;
|
|
18676
|
+
"aiComposeToneExample": aiComposeToneExample;
|
|
18677
|
+
"bots.accessSettings": bots_accessSettings;
|
|
18464
18678
|
}
|
|
18465
18679
|
export interface Functions<T = Function> {
|
|
18466
18680
|
"invokeWithBusinessConnectionPrefix": invokeWithBusinessConnectionPrefix;
|
|
@@ -18913,6 +19127,10 @@ export interface Functions<T = Function> {
|
|
|
18913
19127
|
"messages.deletePollAnswer": messages_deletePollAnswer;
|
|
18914
19128
|
"messages.getUnreadPollVotes": messages_getUnreadPollVotes;
|
|
18915
19129
|
"messages.readPollVotes": messages_readPollVotes;
|
|
19130
|
+
"messages.setBotGuestChatResult": messages_setBotGuestChatResult;
|
|
19131
|
+
"messages.deleteParticipantReactions": messages_deleteParticipantReactions;
|
|
19132
|
+
"messages.deleteParticipantReaction": messages_deleteParticipantReaction;
|
|
19133
|
+
"messages.getPersonalChannelHistory": messages_getPersonalChannelHistory;
|
|
18916
19134
|
"updates.getState": updates_getState;
|
|
18917
19135
|
"updates.getDifference": updates_getDifference;
|
|
18918
19136
|
"updates.getChannelDifference": updates_getChannelDifference;
|
|
@@ -19047,6 +19265,8 @@ export interface Functions<T = Function> {
|
|
|
19047
19265
|
"bots.exportBotToken": bots_exportBotToken;
|
|
19048
19266
|
"bots.requestWebViewButton": bots_requestWebViewButton;
|
|
19049
19267
|
"bots.getRequestedWebViewButton": bots_getRequestedWebViewButton;
|
|
19268
|
+
"bots.getAccessSettings": bots_getAccessSettings;
|
|
19269
|
+
"bots.editAccessSettings": bots_editAccessSettings;
|
|
19050
19270
|
"payments.getPaymentForm": payments_getPaymentForm;
|
|
19051
19271
|
"payments.getPaymentReceipt": payments_getPaymentReceipt;
|
|
19052
19272
|
"payments.validateRequestedInfo": payments_validateRequestedInfo;
|
|
@@ -19179,6 +19399,7 @@ export interface Functions<T = Function> {
|
|
|
19179
19399
|
"stats.getMessageStats": stats_getMessageStats;
|
|
19180
19400
|
"stats.getStoryStats": stats_getStoryStats;
|
|
19181
19401
|
"stats.getStoryPublicForwards": stats_getStoryPublicForwards;
|
|
19402
|
+
"stats.getPollStats": stats_getPollStats;
|
|
19182
19403
|
"chatlists.exportChatlistInvite": chatlists_exportChatlistInvite;
|
|
19183
19404
|
"chatlists.deleteExportedInvite": chatlists_deleteExportedInvite;
|
|
19184
19405
|
"chatlists.editExportedInvite": chatlists_editExportedInvite;
|
|
@@ -19236,6 +19457,13 @@ export interface Functions<T = Function> {
|
|
|
19236
19457
|
"smsjobs.getSmsJob": smsjobs_getSmsJob;
|
|
19237
19458
|
"smsjobs.finishJob": smsjobs_finishJob;
|
|
19238
19459
|
"fragment.getCollectibleInfo": fragment_getCollectibleInfo;
|
|
19460
|
+
"aicompose.createTone": aicompose_createTone;
|
|
19461
|
+
"aicompose.updateTone": aicompose_updateTone;
|
|
19462
|
+
"aicompose.saveTone": aicompose_saveTone;
|
|
19463
|
+
"aicompose.deleteTone": aicompose_deleteTone;
|
|
19464
|
+
"aicompose.getTone": aicompose_getTone;
|
|
19465
|
+
"aicompose.getTones": aicompose_getTones;
|
|
19466
|
+
"aicompose.getToneExample": aicompose_getToneExample;
|
|
19239
19467
|
}
|
|
19240
19468
|
export interface Enums {
|
|
19241
19469
|
"True": True;
|
|
@@ -19827,6 +20055,12 @@ export interface Enums {
|
|
|
19827
20055
|
"bots.ExportedBotToken": bots_ExportedBotToken;
|
|
19828
20056
|
"bots.RequestedButton": bots_RequestedButton;
|
|
19829
20057
|
"messages.ComposedMessageWithAI": messages_ComposedMessageWithAI;
|
|
20058
|
+
"stats.PollStats": stats_PollStats;
|
|
20059
|
+
"InputAiComposeTone": InputAiComposeTone;
|
|
20060
|
+
"AiComposeTone": AiComposeTone;
|
|
20061
|
+
"aicompose.Tones": aicompose_Tones;
|
|
20062
|
+
"AiComposeToneExample": AiComposeToneExample;
|
|
20063
|
+
"bots.AccessSettings": bots_AccessSettings;
|
|
19830
20064
|
}
|
|
19831
20065
|
export type AnyType = Types[keyof Types];
|
|
19832
20066
|
export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
|
|
@@ -19939,7 +20173,7 @@ export type messages_AffectedHistory = messages_affectedHistory;
|
|
|
19939
20173
|
/** https://core.telegram.org/type/MessagesFilter */
|
|
19940
20174
|
export type MessagesFilter = inputMessagesFilterEmpty | inputMessagesFilterPhotos | inputMessagesFilterVideo | inputMessagesFilterPhotoVideo | inputMessagesFilterDocument | inputMessagesFilterUrl | inputMessagesFilterGif | inputMessagesFilterVoice | inputMessagesFilterMusic | inputMessagesFilterChatPhotos | inputMessagesFilterPhoneCalls | inputMessagesFilterRoundVoice | inputMessagesFilterRoundVideo | inputMessagesFilterMyMentions | inputMessagesFilterGeo | inputMessagesFilterContacts | inputMessagesFilterPinned | inputMessagesFilterPoll;
|
|
19941
20175
|
/** https://core.telegram.org/type/Update */
|
|
19942
|
-
export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException | updateGroupCallMessage | updateGroupCallEncryptedMessage | updatePinnedForumTopic | updatePinnedForumTopics | updateDeleteGroupCallMessages | updateStarGiftAuctionState | updateStarGiftAuctionUserState | updateEmojiGameInfo | updateStarGiftCraftFail | updateChatParticipantRank | updateManagedBot;
|
|
20176
|
+
export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException | updateGroupCallMessage | updateGroupCallEncryptedMessage | updatePinnedForumTopic | updatePinnedForumTopics | updateDeleteGroupCallMessages | updateStarGiftAuctionState | updateStarGiftAuctionUserState | updateEmojiGameInfo | updateStarGiftCraftFail | updateChatParticipantRank | updateManagedBot | updateBotGuestChatQuery | updateAiComposeTones;
|
|
19943
20177
|
/** https://core.telegram.org/type/updates.State */
|
|
19944
20178
|
export type updates_State = updates_state;
|
|
19945
20179
|
/** https://core.telegram.org/type/updates.Difference */
|
|
@@ -20101,7 +20335,7 @@ export type messages_PeerDialogs = messages_peerDialogs;
|
|
|
20101
20335
|
/** https://core.telegram.org/type/TopPeer */
|
|
20102
20336
|
export type TopPeer = topPeer;
|
|
20103
20337
|
/** https://core.telegram.org/type/TopPeerCategory */
|
|
20104
|
-
export type TopPeerCategory = topPeerCategoryBotsPM | topPeerCategoryBotsInline | topPeerCategoryCorrespondents | topPeerCategoryGroups | topPeerCategoryChannels | topPeerCategoryPhoneCalls | topPeerCategoryForwardUsers | topPeerCategoryForwardChats | topPeerCategoryBotsApp;
|
|
20338
|
+
export type TopPeerCategory = topPeerCategoryBotsPM | topPeerCategoryBotsInline | topPeerCategoryCorrespondents | topPeerCategoryGroups | topPeerCategoryChannels | topPeerCategoryPhoneCalls | topPeerCategoryForwardUsers | topPeerCategoryForwardChats | topPeerCategoryBotsApp | topPeerCategoryBotsGuestChat;
|
|
20105
20339
|
/** https://core.telegram.org/type/TopPeerCategoryPeers */
|
|
20106
20340
|
export type TopPeerCategoryPeers = topPeerCategoryPeers;
|
|
20107
20341
|
/** https://core.telegram.org/type/contacts.TopPeers */
|
|
@@ -20371,7 +20605,7 @@ export type InputThemeSettings = inputThemeSettings;
|
|
|
20371
20605
|
/** https://core.telegram.org/type/ThemeSettings */
|
|
20372
20606
|
export type ThemeSettings = themeSettings;
|
|
20373
20607
|
/** https://core.telegram.org/type/WebPageAttribute */
|
|
20374
|
-
export type WebPageAttribute = webPageAttributeTheme | webPageAttributeStory | webPageAttributeStickerSet | webPageAttributeUniqueStarGift | webPageAttributeStarGiftCollection | webPageAttributeStarGiftAuction;
|
|
20608
|
+
export type WebPageAttribute = webPageAttributeTheme | webPageAttributeStory | webPageAttributeStickerSet | webPageAttributeUniqueStarGift | webPageAttributeStarGiftCollection | webPageAttributeStarGiftAuction | webPageAttributeAiComposeTone;
|
|
20375
20609
|
/** https://core.telegram.org/type/messages.VotesList */
|
|
20376
20610
|
export type messages_VotesList = messages_votesList;
|
|
20377
20611
|
/** https://core.telegram.org/type/BankCardOpenUrl */
|
|
@@ -21010,7 +21244,19 @@ export type bots_ExportedBotToken = bots_exportedBotToken;
|
|
|
21010
21244
|
export type bots_RequestedButton = bots_requestedButton;
|
|
21011
21245
|
/** https://core.telegram.org/type/messages.ComposedMessageWithAI */
|
|
21012
21246
|
export type messages_ComposedMessageWithAI = messages_composedMessageWithAI;
|
|
21247
|
+
/** https://core.telegram.org/type/stats.PollStats */
|
|
21248
|
+
export type stats_PollStats = stats_pollStats;
|
|
21249
|
+
/** https://core.telegram.org/type/InputAiComposeTone */
|
|
21250
|
+
export type InputAiComposeTone = inputAiComposeToneDefault | inputAiComposeToneID | inputAiComposeToneSlug;
|
|
21251
|
+
/** https://core.telegram.org/type/AiComposeTone */
|
|
21252
|
+
export type AiComposeTone = aiComposeTone | aiComposeToneDefault;
|
|
21253
|
+
/** https://core.telegram.org/type/aicompose.Tones */
|
|
21254
|
+
export type aicompose_Tones = aicompose_tonesNotModified | aicompose_tones;
|
|
21255
|
+
/** https://core.telegram.org/type/AiComposeToneExample */
|
|
21256
|
+
export type AiComposeToneExample = aiComposeToneExample;
|
|
21257
|
+
/** https://core.telegram.org/type/bots.AccessSettings */
|
|
21258
|
+
export type bots_AccessSettings = bots_accessSettings;
|
|
21013
21259
|
export declare const schema: Schema;
|
|
21014
|
-
export declare const LAYER =
|
|
21260
|
+
export declare const LAYER = 225;
|
|
21015
21261
|
export {};
|
|
21016
21262
|
//# sourceMappingURL=1_telegram_api.d.ts.map
|