@mtkruto/node 0.103.0 → 0.105.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 +18 -18
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +18 -18
- package/esm/client/0_utilities.d.ts +1 -1
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/2_context.d.ts +21 -17
- package/esm/client/2_context.d.ts.map +1 -1
- package/esm/client/2_context.js +36 -18
- package/esm/client/3_message_manager.js +1 -1
- package/esm/client/4_chat_manager.js +2 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assert.d.ts +2 -1
- package/esm/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assert.js +3 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.js +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.16 → esm/deps/jsr.io/@std/assert/1.0.19}/equal.d.ts +8 -0
- package/esm/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equal.js +9 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equals.d.ts +5 -3
- package/esm/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equals.js +6 -4
- package/{script/deps/jsr.io/@std/assert/1.0.16 → esm/deps/jsr.io/@std/assert/1.0.19}/false.d.ts +2 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/false.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/false.js +3 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/is_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.19/not_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/throws.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.js +1 -1
- package/esm/deps/jsr.io/@std/async/1.2.0/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/_util.js +1 -1
- package/esm/deps/jsr.io/@std/async/1.2.0/abortable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/abortable.js +1 -1
- package/{script/deps/jsr.io/@std/async/1.0.15 → esm/deps/jsr.io/@std/async/1.2.0}/deadline.d.ts +2 -1
- package/esm/deps/jsr.io/@std/async/1.2.0/deadline.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/deadline.js +6 -3
- package/esm/deps/jsr.io/@std/async/1.2.0/debounce.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/debounce.js +1 -1
- package/{script/deps/jsr.io/@std/async/1.0.15 → esm/deps/jsr.io/@std/async/1.2.0}/delay.d.ts +4 -2
- package/esm/deps/jsr.io/@std/async/1.2.0/delay.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/delay.js +11 -5
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mod.d.ts +3 -3
- package/esm/deps/jsr.io/@std/async/1.2.0/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mod.js +4 -4
- package/esm/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mux_async_iterator.js +1 -1
- package/esm/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/pool.js +1 -1
- package/{script/deps/jsr.io/@std/async/1.0.15 → esm/deps/jsr.io/@std/async/1.2.0}/retry.d.ts +45 -0
- package/esm/deps/jsr.io/@std/async/1.2.0/retry.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/retry.js +48 -8
- package/esm/deps/jsr.io/@std/async/1.2.0/tee.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/tee.js +1 -1
- package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.js +3 -4
- package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.js +1 -1
- package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.js +1 -1
- package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts +265 -0
- package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.js +266 -0
- package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +23 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.js +51 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts +35 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.js +113 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +4 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +13 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.js +82 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.js +87 -0
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/basename.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/basename.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/extname.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/join.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/normalize.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/to_file_url.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/to_file_url.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/_util.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/basename.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/extname.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/from_file_url.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/is_absolute.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/join.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/normalize.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.js +1 -1
- package/esm/tl/1_telegram_api.d.ts +105 -20
- package/esm/tl/1_telegram_api.d.ts.map +1 -1
- package/esm/tl/1_telegram_api.js +143 -38
- package/package.json +1 -1
- package/script/0_deps.d.ts +18 -18
- package/script/0_deps.d.ts.map +1 -1
- package/script/0_deps.js +18 -18
- package/script/client/0_utilities.d.ts +1 -1
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/2_context.d.ts +21 -17
- package/script/client/2_context.d.ts.map +1 -1
- package/script/client/2_context.js +36 -18
- package/script/client/3_message_manager.js +1 -1
- package/script/client/4_chat_manager.js +2 -2
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assert.d.ts +2 -1
- package/script/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assert.js +3 -2
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.js +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.16 → script/deps/jsr.io/@std/assert/1.0.19}/equal.d.ts +8 -0
- package/script/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equal.js +9 -1
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equals.d.ts +5 -3
- package/script/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equals.js +6 -4
- package/{esm/deps/jsr.io/@std/assert/1.0.16 → script/deps/jsr.io/@std/assert/1.0.19}/false.d.ts +2 -1
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/false.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/false.js +3 -2
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/is_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.19/not_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/throws.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.js +1 -1
- package/script/deps/jsr.io/@std/async/1.2.0/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/_util.js +1 -1
- package/script/deps/jsr.io/@std/async/1.2.0/abortable.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/abortable.js +1 -1
- package/{esm/deps/jsr.io/@std/async/1.0.15 → script/deps/jsr.io/@std/async/1.2.0}/deadline.d.ts +2 -1
- package/script/deps/jsr.io/@std/async/1.2.0/deadline.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/deadline.js +6 -3
- package/script/deps/jsr.io/@std/async/1.2.0/debounce.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/debounce.js +1 -1
- package/{esm/deps/jsr.io/@std/async/1.0.15 → script/deps/jsr.io/@std/async/1.2.0}/delay.d.ts +4 -2
- package/script/deps/jsr.io/@std/async/1.2.0/delay.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/delay.js +11 -5
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mod.d.ts +3 -3
- package/script/deps/jsr.io/@std/async/1.2.0/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mod.js +4 -4
- package/script/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mux_async_iterator.js +1 -1
- package/script/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/pool.js +1 -1
- package/{esm/deps/jsr.io/@std/async/1.0.15 → script/deps/jsr.io/@std/async/1.2.0}/retry.d.ts +45 -0
- package/script/deps/jsr.io/@std/async/1.2.0/retry.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/retry.js +49 -9
- package/script/deps/jsr.io/@std/async/1.2.0/tee.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/tee.js +1 -1
- package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.js +3 -4
- package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.js +1 -1
- package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.js +1 -1
- package/script/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts +265 -0
- package/script/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/datetime/0.225.7/constants.js +269 -0
- package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.js +1 -1
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +23 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.js +57 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts +35 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.js +119 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +4 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +16 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/base64.js +86 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.10/hex.js +91 -0
- package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/basename.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/basename.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/extname.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/join.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/normalize.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/to_file_url.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/to_file_url.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/_util.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/basename.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/extname.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/from_file_url.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/is_absolute.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/join.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/normalize.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.js +1 -1
- package/script/tl/1_telegram_api.d.ts +105 -20
- package/script/tl/1_telegram_api.d.ts.map +1 -1
- package/script/tl/1_telegram_api.js +143 -38
- package/esm/deps/jsr.io/@std/assert/1.0.16/assert.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.16/equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.16/equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.16/not_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/abortable.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/deadline.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/debounce.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/delay.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/mux_async_iterator.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/pool.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/retry.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.15/tee.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/datetime/0.225.5/constants.d.ts +0 -56
- package/esm/deps/jsr.io/@std/datetime/0.225.5/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/datetime/0.225.5/constants.js +0 -57
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -26
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -163
- package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.js +0 -109
- package/script/deps/jsr.io/@std/assert/1.0.16/assert.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.16/equal.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.16/equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.16/not_equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/abortable.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/deadline.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/debounce.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/delay.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/mux_async_iterator.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/pool.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/retry.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.15/tee.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/datetime/0.225.5/constants.d.ts +0 -56
- package/script/deps/jsr.io/@std/datetime/0.225.5/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/datetime/0.225.5/constants.js +0 -60
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -29
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -167
- package/script/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/hex.js +0 -113
- /package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/abortable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/debounce.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mux_async_iterator.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/pool.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/tee.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.js +0 -0
- /package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/_types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/base64.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/hex.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/extname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/extname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/abortable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/debounce.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mux_async_iterator.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/pool.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/tee.d.ts +0 -0
- /package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.d.ts +0 -0
- /package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.js +0 -0
- /package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.d.ts +0 -0
- /package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.d.ts +0 -0
- /package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/_types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/_types.js +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/base64.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/hex.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/basename.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/basename.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/extname.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/basename.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/extname.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/is_absolute.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.d.ts +0 -0
package/esm/0_deps.d.ts
CHANGED
|
@@ -17,25 +17,25 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
export { assert } from "./deps/jsr.io/@std/assert/1.0.
|
|
21
|
-
export { assertFalse } from "./deps/jsr.io/@std/assert/1.0.
|
|
22
|
-
export { assertEquals } from "./deps/jsr.io/@std/assert/1.0.
|
|
23
|
-
export { unreachable } from "./deps/jsr.io/@std/assert/1.0.
|
|
24
|
-
export { AssertionError } from "./deps/jsr.io/@std/assert/1.0.
|
|
25
|
-
export { join } from "./deps/jsr.io/@std/path/1.1.
|
|
26
|
-
export { extname } from "./deps/jsr.io/@std/path/1.1.
|
|
27
|
-
export { basename } from "./deps/jsr.io/@std/path/1.1.
|
|
28
|
-
export { toFileUrl } from "./deps/jsr.io/@std/path/1.1.
|
|
29
|
-
export { isAbsolute } from "./deps/jsr.io/@std/path/1.1.
|
|
30
|
-
export { delay, pooledMap } from "./deps/jsr.io/@std/async/1.0
|
|
20
|
+
export { assert } from "./deps/jsr.io/@std/assert/1.0.19/assert.js";
|
|
21
|
+
export { assertFalse } from "./deps/jsr.io/@std/assert/1.0.19/false.js";
|
|
22
|
+
export { assertEquals } from "./deps/jsr.io/@std/assert/1.0.19/equals.js";
|
|
23
|
+
export { unreachable } from "./deps/jsr.io/@std/assert/1.0.19/unreachable.js";
|
|
24
|
+
export { AssertionError } from "./deps/jsr.io/@std/assert/1.0.19/assertion_error.js";
|
|
25
|
+
export { join } from "./deps/jsr.io/@std/path/1.1.4/join.js";
|
|
26
|
+
export { extname } from "./deps/jsr.io/@std/path/1.1.4/extname.js";
|
|
27
|
+
export { basename } from "./deps/jsr.io/@std/path/1.1.4/basename.js";
|
|
28
|
+
export { toFileUrl } from "./deps/jsr.io/@std/path/1.1.4/to_file_url.js";
|
|
29
|
+
export { isAbsolute } from "./deps/jsr.io/@std/path/1.1.4/is_absolute.js";
|
|
30
|
+
export { delay, pooledMap } from "./deps/jsr.io/@std/async/1.2.0/mod.js";
|
|
31
31
|
export { concat } from "./deps/jsr.io/@std/bytes/1.0.6/concat.js";
|
|
32
|
-
export { LruCache } from "./deps/jsr.io/@std/cache/0.2.
|
|
33
|
-
export { iterateReader } from "./deps/jsr.io/@std/io/0.225.
|
|
34
|
-
export { format } from "./deps/jsr.io/@std/datetime/0.225.
|
|
35
|
-
export { MINUTE, SECOND } from "./deps/jsr.io/@std/datetime/0.225.
|
|
36
|
-
export { toArrayBuffer } from "./deps/jsr.io/@std/streams/1.0.
|
|
37
|
-
export { decodeBase64, encodeBase64 } from "./deps/jsr.io/@std/encoding/1.0.
|
|
38
|
-
export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.
|
|
32
|
+
export { LruCache } from "./deps/jsr.io/@std/cache/0.2.2/lru_cache.js";
|
|
33
|
+
export { iterateReader } from "./deps/jsr.io/@std/io/0.225.3/iterate_reader.js";
|
|
34
|
+
export { format } from "./deps/jsr.io/@std/datetime/0.225.7/format.js";
|
|
35
|
+
export { MINUTE, SECOND } from "./deps/jsr.io/@std/datetime/0.225.7/constants.js";
|
|
36
|
+
export { toArrayBuffer } from "./deps/jsr.io/@std/streams/1.0.17/to_array_buffer.js";
|
|
37
|
+
export { decodeBase64, encodeBase64 } from "./deps/jsr.io/@std/encoding/1.0.10/base64.js";
|
|
38
|
+
export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.10/hex.js";
|
|
39
39
|
import { contentType as contentType_ } from "./deps/jsr.io/@std/media-types/1.1.0/content_type.js";
|
|
40
40
|
export declare const contentType: typeof contentType_;
|
|
41
41
|
export declare function extension(mimeType: string): string;
|
package/esm/0_deps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_deps.d.ts","sourceRoot":"","sources":["../src/0_deps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,iDAAiD,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAErF,OAAO,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,OAAO,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AO,MAAM,WAAW,EAAE,OAAO,YAMhC,CAAC;AAEF,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,UAMzC;AAED,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,+CAA+C,CAAC"}
|
package/esm/0_deps.js
CHANGED
|
@@ -17,25 +17,25 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
export { assert } from "./deps/jsr.io/@std/assert/1.0.
|
|
21
|
-
export { assertFalse } from "./deps/jsr.io/@std/assert/1.0.
|
|
22
|
-
export { assertEquals } from "./deps/jsr.io/@std/assert/1.0.
|
|
23
|
-
export { unreachable } from "./deps/jsr.io/@std/assert/1.0.
|
|
24
|
-
export { AssertionError } from "./deps/jsr.io/@std/assert/1.0.
|
|
25
|
-
export { join } from "./deps/jsr.io/@std/path/1.1.
|
|
26
|
-
export { extname } from "./deps/jsr.io/@std/path/1.1.
|
|
27
|
-
export { basename } from "./deps/jsr.io/@std/path/1.1.
|
|
28
|
-
export { toFileUrl } from "./deps/jsr.io/@std/path/1.1.
|
|
29
|
-
export { isAbsolute } from "./deps/jsr.io/@std/path/1.1.
|
|
30
|
-
export { delay, pooledMap } from "./deps/jsr.io/@std/async/1.0
|
|
20
|
+
export { assert } from "./deps/jsr.io/@std/assert/1.0.19/assert.js";
|
|
21
|
+
export { assertFalse } from "./deps/jsr.io/@std/assert/1.0.19/false.js";
|
|
22
|
+
export { assertEquals } from "./deps/jsr.io/@std/assert/1.0.19/equals.js";
|
|
23
|
+
export { unreachable } from "./deps/jsr.io/@std/assert/1.0.19/unreachable.js";
|
|
24
|
+
export { AssertionError } from "./deps/jsr.io/@std/assert/1.0.19/assertion_error.js";
|
|
25
|
+
export { join } from "./deps/jsr.io/@std/path/1.1.4/join.js";
|
|
26
|
+
export { extname } from "./deps/jsr.io/@std/path/1.1.4/extname.js";
|
|
27
|
+
export { basename } from "./deps/jsr.io/@std/path/1.1.4/basename.js";
|
|
28
|
+
export { toFileUrl } from "./deps/jsr.io/@std/path/1.1.4/to_file_url.js";
|
|
29
|
+
export { isAbsolute } from "./deps/jsr.io/@std/path/1.1.4/is_absolute.js";
|
|
30
|
+
export { delay, pooledMap } from "./deps/jsr.io/@std/async/1.2.0/mod.js";
|
|
31
31
|
export { concat } from "./deps/jsr.io/@std/bytes/1.0.6/concat.js";
|
|
32
|
-
export { LruCache } from "./deps/jsr.io/@std/cache/0.2.
|
|
33
|
-
export { iterateReader } from "./deps/jsr.io/@std/io/0.225.
|
|
34
|
-
export { format } from "./deps/jsr.io/@std/datetime/0.225.
|
|
35
|
-
export { MINUTE, SECOND } from "./deps/jsr.io/@std/datetime/0.225.
|
|
36
|
-
export { toArrayBuffer } from "./deps/jsr.io/@std/streams/1.0.
|
|
37
|
-
export { decodeBase64, encodeBase64 } from "./deps/jsr.io/@std/encoding/1.0.
|
|
38
|
-
export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.
|
|
32
|
+
export { LruCache } from "./deps/jsr.io/@std/cache/0.2.2/lru_cache.js";
|
|
33
|
+
export { iterateReader } from "./deps/jsr.io/@std/io/0.225.3/iterate_reader.js";
|
|
34
|
+
export { format } from "./deps/jsr.io/@std/datetime/0.225.7/format.js";
|
|
35
|
+
export { MINUTE, SECOND } from "./deps/jsr.io/@std/datetime/0.225.7/constants.js";
|
|
36
|
+
export { toArrayBuffer } from "./deps/jsr.io/@std/streams/1.0.17/to_array_buffer.js";
|
|
37
|
+
export { decodeBase64, encodeBase64 } from "./deps/jsr.io/@std/encoding/1.0.10/base64.js";
|
|
38
|
+
export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.10/hex.js";
|
|
39
39
|
import { contentType as contentType_ } from "./deps/jsr.io/@std/media-types/1.1.0/content_type.js";
|
|
40
40
|
export const contentType = (extentionOrType) => {
|
|
41
41
|
if (extentionOrType === "tgs") {
|
|
@@ -29,7 +29,7 @@ export declare function checkPollOption(option: string): void;
|
|
|
29
29
|
export declare function checkArray<T>(array: T[], check: (value: T) => void): void;
|
|
30
30
|
export declare function checkCallbackQueryId(id: string): void;
|
|
31
31
|
export declare function checkInlineQueryId(id: string): void;
|
|
32
|
-
export declare function isCdnFunction(value: unknown): value is Api.invokeWithBusinessConnectionPrefix | Api.invokeWithGooglePlayIntegrityPrefix | Api.invokeWithApnsSecretPrefix | Api.invokeWithReCaptchaPrefix | Api.auth_sendCode | Api.auth_signUp | Api.auth_signIn | Api.auth_logOut | Api.auth_resetAuthorizations | Api.auth_exportAuthorization | Api.auth_importAuthorization | Api.auth_bindTempAuthKey | Api.auth_importBotAuthorization | Api.auth_checkPassword | Api.auth_requestPasswordRecovery | Api.auth_recoverPassword | Api.auth_resendCode | Api.auth_cancelCode | Api.auth_dropTempAuthKeys | Api.auth_exportLoginToken | Api.auth_importLoginToken | Api.auth_acceptLoginToken | Api.auth_checkRecoveryPassword | Api.auth_importWebTokenAuthorization | Api.auth_requestFirebaseSms | Api.auth_resetLoginEmail | Api.auth_reportMissingCode | Api.auth_checkPaidAuth | Api.auth_initPasskeyLogin | Api.auth_finishPasskeyLogin | Api.account_registerDevice | Api.account_unregisterDevice | Api.account_updateNotifySettings | Api.account_getNotifySettings | Api.account_resetNotifySettings | Api.account_updateProfile | Api.account_updateStatus | Api.account_getWallPapers | Api.account_reportPeer | Api.account_checkUsername | Api.account_updateUsername | Api.account_getPrivacy | Api.account_setPrivacy | Api.account_deleteAccount | Api.account_getAccountTTL | Api.account_setAccountTTL | Api.account_sendChangePhoneCode | Api.account_changePhone | Api.account_updateDeviceLocked | Api.account_getAuthorizations | Api.account_resetAuthorization | Api.account_getPassword | Api.account_getPasswordSettings | Api.account_updatePasswordSettings | Api.account_sendConfirmPhoneCode | Api.account_confirmPhone | Api.account_getTmpPassword | Api.account_getWebAuthorizations | Api.account_resetWebAuthorization | Api.account_resetWebAuthorizations | Api.account_getAllSecureValues | Api.account_getSecureValue | Api.account_saveSecureValue | Api.account_deleteSecureValue | Api.account_getAuthorizationForm | Api.account_acceptAuthorization | Api.account_sendVerifyPhoneCode | Api.account_verifyPhone | Api.account_sendVerifyEmailCode | Api.account_verifyEmail | Api.account_initTakeoutSession | Api.account_finishTakeoutSession | Api.account_confirmPasswordEmail | Api.account_resendPasswordEmail | Api.account_cancelPasswordEmail | Api.account_getContactSignUpNotification | Api.account_setContactSignUpNotification | Api.account_getNotifyExceptions | Api.account_getWallPaper | Api.account_uploadWallPaper | Api.account_saveWallPaper | Api.account_installWallPaper | Api.account_resetWallPapers | Api.account_getAutoDownloadSettings | Api.account_saveAutoDownloadSettings | Api.account_uploadTheme | Api.account_createTheme | Api.account_updateTheme | Api.account_saveTheme | Api.account_installTheme | Api.account_getTheme | Api.account_getThemes | Api.account_setContentSettings | Api.account_getContentSettings | Api.account_getMultiWallPapers | Api.account_getGlobalPrivacySettings | Api.account_setGlobalPrivacySettings | Api.account_reportProfilePhoto | Api.account_resetPassword | Api.account_declinePasswordReset | Api.account_getChatThemes | Api.account_setAuthorizationTTL | Api.account_changeAuthorizationSettings | Api.account_getSavedRingtones | Api.account_saveRingtone | Api.account_uploadRingtone | Api.account_updateEmojiStatus | Api.account_getDefaultEmojiStatuses | Api.account_getRecentEmojiStatuses | Api.account_clearRecentEmojiStatuses | Api.account_reorderUsernames | Api.account_toggleUsername | Api.account_getDefaultProfilePhotoEmojis | Api.account_getDefaultGroupPhotoEmojis | Api.account_getAutoSaveSettings | Api.account_saveAutoSaveSettings | Api.account_deleteAutoSaveExceptions | Api.account_invalidateSignInCodes | Api.account_updateColor | Api.account_getDefaultBackgroundEmojis | Api.account_getChannelDefaultEmojiStatuses | Api.account_getChannelRestrictedStatusEmojis | Api.account_updateBusinessWorkHours | Api.account_updateBusinessLocation | Api.account_updateBusinessGreetingMessage | Api.account_updateBusinessAwayMessage | Api.account_updateConnectedBot | Api.account_getConnectedBots | Api.account_getBotBusinessConnection | Api.account_updateBusinessIntro | Api.account_toggleConnectedBotPaused | Api.account_disablePeerConnectedBot | Api.account_updateBirthday | Api.account_createBusinessChatLink | Api.account_editBusinessChatLink | Api.account_deleteBusinessChatLink | Api.account_getBusinessChatLinks | Api.account_resolveBusinessChatLink | Api.account_updatePersonalChannel | Api.account_toggleSponsoredMessages | Api.account_getReactionsNotifySettings | Api.account_setReactionsNotifySettings | Api.account_getCollectibleEmojiStatuses | Api.account_getPaidMessagesRevenue | Api.account_toggleNoPaidMessagesException | Api.account_setMainProfileTab | Api.account_saveMusic | Api.account_getSavedMusicIds | Api.account_getUniqueGiftChatThemes | Api.account_initPasskeyRegistration | Api.account_registerPasskey | Api.account_getPasskeys | Api.account_deletePasskey | Api.users_getUsers | Api.users_getFullUser | Api.users_setSecureValueErrors | Api.users_getRequirementsToContact | Api.users_getSavedMusic | Api.users_getSavedMusicByID | Api.users_suggestBirthday | Api.contacts_getContactIDs | Api.contacts_getStatuses | Api.contacts_getContacts | Api.contacts_importContacts | Api.contacts_deleteContacts | Api.contacts_deleteByPhones | Api.contacts_block | Api.contacts_unblock | Api.contacts_getBlocked | Api.contacts_search | Api.contacts_resolveUsername | Api.contacts_getTopPeers | Api.contacts_resetTopPeerRating | Api.contacts_resetSaved | Api.contacts_getSaved | Api.contacts_toggleTopPeers | Api.contacts_addContact | Api.contacts_acceptContact | Api.contacts_getLocated | Api.contacts_blockFromReplies | Api.contacts_resolvePhone | Api.contacts_exportContactToken | Api.contacts_importContactToken | Api.contacts_editCloseFriends | Api.contacts_setBlocked | Api.contacts_getBirthdays | Api.contacts_getSponsoredPeers | Api.contacts_updateContactNote | Api.messages_getMessages | Api.messages_getDialogs | Api.messages_getHistory | Api.messages_search | Api.messages_readHistory | Api.messages_deleteHistory | Api.messages_deleteMessages | Api.messages_receivedMessages | Api.messages_setTyping | Api.messages_sendMessage | Api.messages_sendMedia | Api.messages_forwardMessages | Api.messages_reportSpam | Api.messages_getPeerSettings | Api.messages_report | Api.messages_getChats | Api.messages_getFullChat | Api.messages_editChatTitle | Api.messages_editChatPhoto | Api.messages_addChatUser | Api.messages_deleteChatUser | Api.messages_createChat | Api.messages_getDhConfig | Api.messages_requestEncryption | Api.messages_acceptEncryption | Api.messages_discardEncryption | Api.messages_setEncryptedTyping | Api.messages_readEncryptedHistory | Api.messages_sendEncrypted | Api.messages_sendEncryptedFile | Api.messages_sendEncryptedService | Api.messages_receivedQueue | Api.messages_reportEncryptedSpam | Api.messages_readMessageContents | Api.messages_getStickers | Api.messages_getAllStickers | Api.messages_getWebPagePreview | Api.messages_exportChatInvite | Api.messages_checkChatInvite | Api.messages_importChatInvite | Api.messages_getStickerSet | Api.messages_installStickerSet | Api.messages_uninstallStickerSet | Api.messages_startBot | Api.messages_getMessagesViews | Api.messages_editChatAdmin | Api.messages_migrateChat | Api.messages_searchGlobal | Api.messages_reorderStickerSets | Api.messages_getDocumentByHash | Api.messages_getSavedGifs | Api.messages_saveGif | Api.messages_getInlineBotResults | Api.messages_setInlineBotResults | Api.messages_sendInlineBotResult | Api.messages_getMessageEditData | Api.messages_editMessage | Api.messages_editInlineBotMessage | Api.messages_getBotCallbackAnswer | Api.messages_setBotCallbackAnswer | Api.messages_getPeerDialogs | Api.messages_saveDraft | Api.messages_getAllDrafts | Api.messages_getFeaturedStickers | Api.messages_readFeaturedStickers | Api.messages_getRecentStickers | Api.messages_saveRecentSticker | Api.messages_clearRecentStickers | Api.messages_getArchivedStickers | Api.messages_getMaskStickers | Api.messages_getAttachedStickers | Api.messages_setGameScore | Api.messages_setInlineGameScore | Api.messages_getGameHighScores | Api.messages_getInlineGameHighScores | Api.messages_getCommonChats | Api.messages_getWebPage | Api.messages_toggleDialogPin | Api.messages_reorderPinnedDialogs | Api.messages_getPinnedDialogs | Api.messages_setBotShippingResults | Api.messages_setBotPrecheckoutResults | Api.messages_uploadMedia | Api.messages_sendScreenshotNotification | Api.messages_getFavedStickers | Api.messages_faveSticker | Api.messages_getUnreadMentions | Api.messages_readMentions | Api.messages_getRecentLocations | Api.messages_sendMultiMedia | Api.messages_uploadEncryptedFile | Api.messages_searchStickerSets | Api.messages_getSplitRanges | Api.messages_markDialogUnread | Api.messages_getDialogUnreadMarks | Api.messages_clearAllDrafts | Api.messages_updatePinnedMessage | Api.messages_sendVote | Api.messages_getPollResults | Api.messages_getOnlines | Api.messages_editChatAbout | Api.messages_editChatDefaultBannedRights | Api.messages_getEmojiKeywords | Api.messages_getEmojiKeywordsDifference | Api.messages_getEmojiKeywordsLanguages | Api.messages_getEmojiURL | Api.messages_getSearchCounters | Api.messages_requestUrlAuth | Api.messages_acceptUrlAuth | Api.messages_hidePeerSettingsBar | Api.messages_getScheduledHistory | Api.messages_getScheduledMessages | Api.messages_sendScheduledMessages | Api.messages_deleteScheduledMessages | Api.messages_getPollVotes | Api.messages_toggleStickerSets | Api.messages_getDialogFilters | Api.messages_getSuggestedDialogFilters | Api.messages_updateDialogFilter | Api.messages_updateDialogFiltersOrder | Api.messages_getOldFeaturedStickers | Api.messages_getReplies | Api.messages_getDiscussionMessage | Api.messages_readDiscussion | Api.messages_unpinAllMessages | Api.messages_deleteChat | Api.messages_deletePhoneCallHistory | Api.messages_checkHistoryImport | Api.messages_initHistoryImport | Api.messages_uploadImportedMedia | Api.messages_startHistoryImport | Api.messages_getExportedChatInvites | Api.messages_getExportedChatInvite | Api.messages_editExportedChatInvite | Api.messages_deleteRevokedExportedChatInvites | Api.messages_deleteExportedChatInvite | Api.messages_getAdminsWithInvites | Api.messages_getChatInviteImporters | Api.messages_setHistoryTTL | Api.messages_checkHistoryImportPeer | Api.messages_setChatTheme | Api.messages_getMessageReadParticipants | Api.messages_getSearchResultsCalendar | Api.messages_getSearchResultsPositions | Api.messages_hideChatJoinRequest | Api.messages_hideAllChatJoinRequests | Api.messages_toggleNoForwards | Api.messages_saveDefaultSendAs | Api.messages_sendReaction | Api.messages_getMessagesReactions | Api.messages_getMessageReactionsList | Api.messages_setChatAvailableReactions | Api.messages_getAvailableReactions | Api.messages_setDefaultReaction | Api.messages_translateText | Api.messages_getUnreadReactions | Api.messages_readReactions | Api.messages_searchSentMedia | Api.messages_getAttachMenuBots | Api.messages_getAttachMenuBot | Api.messages_toggleBotInAttachMenu | Api.messages_requestWebView | Api.messages_prolongWebView | Api.messages_requestSimpleWebView | Api.messages_sendWebViewResultMessage | Api.messages_sendWebViewData | Api.messages_transcribeAudio | Api.messages_rateTranscribedAudio | Api.messages_getCustomEmojiDocuments | Api.messages_getEmojiStickers | Api.messages_getFeaturedEmojiStickers | Api.messages_reportReaction | Api.messages_getTopReactions | Api.messages_getRecentReactions | Api.messages_clearRecentReactions | Api.messages_getExtendedMedia | Api.messages_setDefaultHistoryTTL | Api.messages_getDefaultHistoryTTL | Api.messages_sendBotRequestedPeer | Api.messages_getEmojiGroups | Api.messages_getEmojiStatusGroups | Api.messages_getEmojiProfilePhotoGroups | Api.messages_searchCustomEmoji | Api.messages_togglePeerTranslations | Api.messages_getBotApp | Api.messages_requestAppWebView | Api.messages_setChatWallPaper | Api.messages_searchEmojiStickerSets | Api.messages_getSavedDialogs | Api.messages_getSavedHistory | Api.messages_deleteSavedHistory | Api.messages_getPinnedSavedDialogs | Api.messages_toggleSavedDialogPin | Api.messages_reorderPinnedSavedDialogs | Api.messages_getSavedReactionTags | Api.messages_updateSavedReactionTag | Api.messages_getDefaultTagReactions | Api.messages_getOutboxReadDate | Api.messages_getQuickReplies | Api.messages_reorderQuickReplies | Api.messages_checkQuickReplyShortcut | Api.messages_editQuickReplyShortcut | Api.messages_deleteQuickReplyShortcut | Api.messages_getQuickReplyMessages | Api.messages_sendQuickReplyMessages | Api.messages_deleteQuickReplyMessages | Api.messages_toggleDialogFilterTags | Api.messages_getMyStickers | Api.messages_getEmojiStickerGroups | Api.messages_getAvailableEffects | Api.messages_editFactCheck | Api.messages_deleteFactCheck | Api.messages_getFactCheck | Api.messages_requestMainWebView | Api.messages_sendPaidReaction | Api.messages_togglePaidReactionPrivacy | Api.messages_getPaidReactionPrivacy | Api.messages_viewSponsoredMessage | Api.messages_clickSponsoredMessage | Api.messages_reportSponsoredMessage | Api.messages_getSponsoredMessages | Api.messages_savePreparedInlineMessage | Api.messages_getPreparedInlineMessage | Api.messages_searchStickers | Api.messages_reportMessagesDelivery | Api.messages_getSavedDialogsByID | Api.messages_readSavedHistory | Api.messages_toggleTodoCompleted | Api.messages_appendTodoList | Api.messages_toggleSuggestedPostApproval | Api.messages_getForumTopics | Api.messages_getForumTopicsByID | Api.messages_editForumTopic | Api.messages_updatePinnedForumTopic | Api.messages_reorderPinnedForumTopics | Api.messages_createForumTopic | Api.messages_deleteTopicHistory | Api.messages_getEmojiGameInfo | Api.messages_summarizeText | Api.updates_getState | Api.updates_getDifference | Api.updates_getChannelDifference | Api.photos_updateProfilePhoto | Api.photos_uploadProfilePhoto | Api.photos_deletePhotos | Api.photos_getUserPhotos | Api.photos_uploadContactProfilePhoto | Api.upload_saveFilePart | Api.upload_getFile | Api.upload_saveBigFilePart | Api.upload_getWebFile | Api.upload_getCdnFile | Api.upload_reuploadCdnFile | Api.upload_getCdnFileHashes | Api.upload_getFileHashes | Api.help_getConfig | Api.help_getNearestDc | Api.help_getAppUpdate | Api.help_getInviteText | Api.help_getSupport | Api.help_setBotUpdatesStatus | Api.help_getCdnConfig | Api.help_getRecentMeUrls | Api.help_getTermsOfServiceUpdate | Api.help_acceptTermsOfService | Api.help_getDeepLinkInfo | Api.help_getAppConfig | Api.help_saveAppLog | Api.help_getPassportConfig | Api.help_getSupportName | Api.help_getUserInfo | Api.help_editUserInfo | Api.help_getPromoData | Api.help_hidePromoData | Api.help_dismissSuggestion | Api.help_getCountriesList | Api.help_getPremiumPromo | Api.help_getPeerColors | Api.help_getPeerProfileColors | Api.help_getTimezonesList | Api.channels_readHistory | Api.channels_deleteMessages | Api.channels_reportSpam | Api.channels_getMessages | Api.channels_getParticipants | Api.channels_getParticipant | Api.channels_getChannels | Api.channels_getFullChannel | Api.channels_createChannel | Api.channels_editAdmin | Api.channels_editTitle | Api.channels_editPhoto | Api.channels_checkUsername | Api.channels_updateUsername | Api.channels_joinChannel | Api.channels_leaveChannel | Api.channels_inviteToChannel | Api.channels_deleteChannel | Api.channels_exportMessageLink | Api.channels_toggleSignatures | Api.channels_getAdminedPublicChannels | Api.channels_editBanned | Api.channels_getAdminLog | Api.channels_setStickers | Api.channels_readMessageContents | Api.channels_deleteHistory | Api.channels_togglePreHistoryHidden | Api.channels_getLeftChannels | Api.channels_getGroupsForDiscussion | Api.channels_setDiscussionGroup | Api.channels_editCreator | Api.channels_editLocation | Api.channels_toggleSlowMode | Api.channels_getInactiveChannels | Api.channels_convertToGigagroup | Api.channels_getSendAs | Api.channels_deleteParticipantHistory | Api.channels_toggleJoinToSend | Api.channels_toggleJoinRequest | Api.channels_reorderUsernames | Api.channels_toggleUsername | Api.channels_deactivateAllUsernames | Api.channels_toggleForum | Api.channels_toggleAntiSpam | Api.channels_reportAntiSpamFalsePositive | Api.channels_toggleParticipantsHidden | Api.channels_updateColor | Api.channels_toggleViewForumAsMessages | Api.channels_getChannelRecommendations | Api.channels_updateEmojiStatus | Api.channels_setBoostsToUnblockRestrictions | Api.channels_setEmojiStickers | Api.channels_restrictSponsoredMessages | Api.channels_searchPosts | Api.channels_updatePaidMessagesPrice | Api.channels_toggleAutotranslation | Api.channels_getMessageAuthor | Api.channels_checkSearchPostsFlood | Api.channels_setMainProfileTab | Api.channels_getFutureCreatorAfterLeave | Api.bots_sendCustomRequest | Api.bots_answerWebhookJSONQuery | Api.bots_setBotCommands | Api.bots_resetBotCommands | Api.bots_getBotCommands | Api.bots_setBotMenuButton | Api.bots_getBotMenuButton | Api.bots_setBotBroadcastDefaultAdminRights | Api.bots_setBotGroupDefaultAdminRights | Api.bots_setBotInfo | Api.bots_getBotInfo | Api.bots_reorderUsernames | Api.bots_toggleUsername | Api.bots_canSendMessage | Api.bots_allowSendMessage | Api.bots_invokeWebViewCustomMethod | Api.bots_getPopularAppBots | Api.bots_addPreviewMedia | Api.bots_editPreviewMedia | Api.bots_deletePreviewMedia | Api.bots_reorderPreviewMedias | Api.bots_getPreviewInfo | Api.bots_getPreviewMedias | Api.bots_updateUserEmojiStatus | Api.bots_toggleUserEmojiStatusPermission | Api.bots_checkDownloadFileParams | Api.bots_getAdminedBots | Api.bots_updateStarRefProgram | Api.bots_setCustomVerification | Api.bots_getBotRecommendations | Api.payments_getPaymentForm | Api.payments_getPaymentReceipt | Api.payments_validateRequestedInfo | Api.payments_sendPaymentForm | Api.payments_getSavedInfo | Api.payments_clearSavedInfo | Api.payments_getBankCardData | Api.payments_exportInvoice | Api.payments_assignAppStoreTransaction | Api.payments_assignPlayMarketTransaction | Api.payments_getPremiumGiftCodeOptions | Api.payments_checkGiftCode | Api.payments_applyGiftCode | Api.payments_getGiveawayInfo | Api.payments_launchPrepaidGiveaway | Api.payments_getStarsTopupOptions | Api.payments_getStarsStatus | Api.payments_getStarsTransactions | Api.payments_sendStarsForm | Api.payments_refundStarsCharge | Api.payments_getStarsRevenueStats | Api.payments_getStarsRevenueWithdrawalUrl | Api.payments_getStarsRevenueAdsAccountUrl | Api.payments_getStarsTransactionsByID | Api.payments_getStarsGiftOptions | Api.payments_getStarsSubscriptions | Api.payments_changeStarsSubscription | Api.payments_fulfillStarsSubscription | Api.payments_getStarsGiveawayOptions | Api.payments_getStarGifts | Api.payments_saveStarGift | Api.payments_convertStarGift | Api.payments_botCancelStarsSubscription | Api.payments_getConnectedStarRefBots | Api.payments_getConnectedStarRefBot | Api.payments_getSuggestedStarRefBots | Api.payments_connectStarRefBot | Api.payments_editConnectedStarRefBot | Api.payments_getStarGiftUpgradePreview | Api.payments_upgradeStarGift | Api.payments_transferStarGift | Api.payments_getUniqueStarGift | Api.payments_getSavedStarGifts | Api.payments_getSavedStarGift | Api.payments_getStarGiftWithdrawalUrl | Api.payments_toggleChatStarGiftNotifications | Api.payments_toggleStarGiftsPinnedToTop | Api.payments_canPurchaseStore | Api.payments_getResaleStarGifts | Api.payments_updateStarGiftPrice | Api.payments_createStarGiftCollection | Api.payments_updateStarGiftCollection | Api.payments_reorderStarGiftCollections | Api.payments_deleteStarGiftCollection | Api.payments_getStarGiftCollections | Api.payments_getUniqueStarGiftValueInfo | Api.payments_checkCanSendGift | Api.payments_getStarGiftAuctionState | Api.payments_getStarGiftAuctionAcquiredGifts | Api.payments_getStarGiftActiveAuctions | Api.payments_resolveStarGiftOffer | Api.payments_sendStarGiftOffer | Api.payments_getStarGiftUpgradeAttributes | Api.payments_getCraftStarGifts | Api.payments_craftStarGift | Api.stickers_createStickerSet | Api.stickers_removeStickerFromSet | Api.stickers_changeStickerPosition | Api.stickers_addStickerToSet | Api.stickers_setStickerSetThumb | Api.stickers_checkShortName | Api.stickers_suggestShortName | Api.stickers_changeSticker | Api.stickers_renameStickerSet | Api.stickers_deleteStickerSet | Api.stickers_replaceSticker | Api.phone_getCallConfig | Api.phone_requestCall | Api.phone_acceptCall | Api.phone_confirmCall | Api.phone_receivedCall | Api.phone_discardCall | Api.phone_setCallRating | Api.phone_saveCallDebug | Api.phone_sendSignalingData | Api.phone_createGroupCall | Api.phone_joinGroupCall | Api.phone_leaveGroupCall | Api.phone_inviteToGroupCall | Api.phone_discardGroupCall | Api.phone_toggleGroupCallSettings | Api.phone_getGroupCall | Api.phone_getGroupParticipants | Api.phone_checkGroupCall | Api.phone_toggleGroupCallRecord | Api.phone_editGroupCallParticipant | Api.phone_editGroupCallTitle | Api.phone_getGroupCallJoinAs | Api.phone_exportGroupCallInvite | Api.phone_toggleGroupCallStartSubscription | Api.phone_startScheduledGroupCall | Api.phone_saveDefaultGroupCallJoinAs | Api.phone_joinGroupCallPresentation | Api.phone_leaveGroupCallPresentation | Api.phone_getGroupCallStreamChannels | Api.phone_getGroupCallStreamRtmpUrl | Api.phone_saveCallLog | Api.phone_createConferenceCall | Api.phone_deleteConferenceCallParticipants | Api.phone_sendConferenceCallBroadcast | Api.phone_inviteConferenceCallParticipant | Api.phone_declineConferenceCallInvite | Api.phone_getGroupCallChainBlocks | Api.phone_sendGroupCallMessage | Api.phone_sendGroupCallEncryptedMessage | Api.phone_deleteGroupCallMessages | Api.phone_deleteGroupCallParticipantMessages | Api.phone_getGroupCallStars | Api.phone_saveDefaultSendAs | Api.langpack_getLangPack | Api.langpack_getStrings | Api.langpack_getDifference | Api.langpack_getLanguages | Api.langpack_getLanguage | Api.folders_editPeerFolders | Api.stats_getBroadcastStats | Api.stats_loadAsyncGraph | Api.stats_getMegagroupStats | Api.stats_getMessagePublicForwards | Api.stats_getMessageStats | Api.stats_getStoryStats | Api.stats_getStoryPublicForwards | Api.chatlists_exportChatlistInvite | Api.chatlists_deleteExportedInvite | Api.chatlists_editExportedInvite | Api.chatlists_getExportedInvites | Api.chatlists_checkChatlistInvite | Api.chatlists_joinChatlistInvite | Api.chatlists_getChatlistUpdates | Api.chatlists_joinChatlistUpdates | Api.chatlists_hideChatlistUpdates | Api.chatlists_getLeaveChatlistSuggestions | Api.chatlists_leaveChatlist | Api.stories_canSendStory | Api.stories_sendStory | Api.stories_editStory | Api.stories_deleteStories | Api.stories_togglePinned | Api.stories_getAllStories | Api.stories_getPinnedStories | Api.stories_getStoriesArchive | Api.stories_getStoriesByID | Api.stories_toggleAllStoriesHidden | Api.stories_readStories | Api.stories_incrementStoryViews | Api.stories_getStoryViewsList | Api.stories_getStoriesViews | Api.stories_exportStoryLink | Api.stories_report | Api.stories_activateStealthMode | Api.stories_sendReaction | Api.stories_getPeerStories | Api.stories_getAllReadPeerStories | Api.stories_getPeerMaxIDs | Api.stories_getChatsToSend | Api.stories_togglePeerStoriesHidden | Api.stories_getStoryReactionsList | Api.stories_togglePinnedToTop | Api.stories_searchPosts | Api.stories_createAlbum | Api.stories_updateAlbum | Api.stories_reorderAlbums | Api.stories_deleteAlbum | Api.stories_getAlbums | Api.stories_getAlbumStories | Api.stories_startLive | Api.premium_getBoostsList | Api.premium_getMyBoosts | Api.premium_applyBoost | Api.premium_getBoostsStatus | Api.premium_getUserBoosts | Api.smsjobs_isEligibleToJoin | Api.smsjobs_join | Api.smsjobs_leave | Api.smsjobs_updateSettings | Api.smsjobs_getStatus | Api.smsjobs_getSmsJob | Api.smsjobs_finishJob | Api.fragment_getCollectibleInfo | Api.invokeAfterMsg<Api.Function> | Api.invokeAfterMsgs<Api.Function> | Api.initConnection<Api.Function> | Api.invokeWithLayer<Api.Function> | Api.invokeWithoutUpdates<Api.Function> | Api.invokeWithMessagesRange<Api.Function> | Api.invokeWithTakeout<Api.Function> | Api.invokeWithBusinessConnection<Api.Function> | Api.invokeWithGooglePlayIntegrity<Api.Function> | Api.invokeWithApnsSecret<Api.Function> | Api.invokeWithReCaptcha<Api.Function>;
|
|
32
|
+
export declare function isCdnFunction(value: unknown): value is Api.invokeWithBusinessConnectionPrefix | Api.invokeWithGooglePlayIntegrityPrefix | Api.invokeWithApnsSecretPrefix | Api.invokeWithReCaptchaPrefix | Api.auth_sendCode | Api.auth_signUp | Api.auth_signIn | Api.auth_logOut | Api.auth_resetAuthorizations | Api.auth_exportAuthorization | Api.auth_importAuthorization | Api.auth_bindTempAuthKey | Api.auth_importBotAuthorization | Api.auth_checkPassword | Api.auth_requestPasswordRecovery | Api.auth_recoverPassword | Api.auth_resendCode | Api.auth_cancelCode | Api.auth_dropTempAuthKeys | Api.auth_exportLoginToken | Api.auth_importLoginToken | Api.auth_acceptLoginToken | Api.auth_checkRecoveryPassword | Api.auth_importWebTokenAuthorization | Api.auth_requestFirebaseSms | Api.auth_resetLoginEmail | Api.auth_reportMissingCode | Api.auth_checkPaidAuth | Api.auth_initPasskeyLogin | Api.auth_finishPasskeyLogin | Api.account_registerDevice | Api.account_unregisterDevice | Api.account_updateNotifySettings | Api.account_getNotifySettings | Api.account_resetNotifySettings | Api.account_updateProfile | Api.account_updateStatus | Api.account_getWallPapers | Api.account_reportPeer | Api.account_checkUsername | Api.account_updateUsername | Api.account_getPrivacy | Api.account_setPrivacy | Api.account_deleteAccount | Api.account_getAccountTTL | Api.account_setAccountTTL | Api.account_sendChangePhoneCode | Api.account_changePhone | Api.account_updateDeviceLocked | Api.account_getAuthorizations | Api.account_resetAuthorization | Api.account_getPassword | Api.account_getPasswordSettings | Api.account_updatePasswordSettings | Api.account_sendConfirmPhoneCode | Api.account_confirmPhone | Api.account_getTmpPassword | Api.account_getWebAuthorizations | Api.account_resetWebAuthorization | Api.account_resetWebAuthorizations | Api.account_getAllSecureValues | Api.account_getSecureValue | Api.account_saveSecureValue | Api.account_deleteSecureValue | Api.account_getAuthorizationForm | Api.account_acceptAuthorization | Api.account_sendVerifyPhoneCode | Api.account_verifyPhone | Api.account_sendVerifyEmailCode | Api.account_verifyEmail | Api.account_initTakeoutSession | Api.account_finishTakeoutSession | Api.account_confirmPasswordEmail | Api.account_resendPasswordEmail | Api.account_cancelPasswordEmail | Api.account_getContactSignUpNotification | Api.account_setContactSignUpNotification | Api.account_getNotifyExceptions | Api.account_getWallPaper | Api.account_uploadWallPaper | Api.account_saveWallPaper | Api.account_installWallPaper | Api.account_resetWallPapers | Api.account_getAutoDownloadSettings | Api.account_saveAutoDownloadSettings | Api.account_uploadTheme | Api.account_createTheme | Api.account_updateTheme | Api.account_saveTheme | Api.account_installTheme | Api.account_getTheme | Api.account_getThemes | Api.account_setContentSettings | Api.account_getContentSettings | Api.account_getMultiWallPapers | Api.account_getGlobalPrivacySettings | Api.account_setGlobalPrivacySettings | Api.account_reportProfilePhoto | Api.account_resetPassword | Api.account_declinePasswordReset | Api.account_getChatThemes | Api.account_setAuthorizationTTL | Api.account_changeAuthorizationSettings | Api.account_getSavedRingtones | Api.account_saveRingtone | Api.account_uploadRingtone | Api.account_updateEmojiStatus | Api.account_getDefaultEmojiStatuses | Api.account_getRecentEmojiStatuses | Api.account_clearRecentEmojiStatuses | Api.account_reorderUsernames | Api.account_toggleUsername | Api.account_getDefaultProfilePhotoEmojis | Api.account_getDefaultGroupPhotoEmojis | Api.account_getAutoSaveSettings | Api.account_saveAutoSaveSettings | Api.account_deleteAutoSaveExceptions | Api.account_invalidateSignInCodes | Api.account_updateColor | Api.account_getDefaultBackgroundEmojis | Api.account_getChannelDefaultEmojiStatuses | Api.account_getChannelRestrictedStatusEmojis | Api.account_updateBusinessWorkHours | Api.account_updateBusinessLocation | Api.account_updateBusinessGreetingMessage | Api.account_updateBusinessAwayMessage | Api.account_updateConnectedBot | Api.account_getConnectedBots | Api.account_getBotBusinessConnection | Api.account_updateBusinessIntro | Api.account_toggleConnectedBotPaused | Api.account_disablePeerConnectedBot | Api.account_updateBirthday | Api.account_createBusinessChatLink | Api.account_editBusinessChatLink | Api.account_deleteBusinessChatLink | Api.account_getBusinessChatLinks | Api.account_resolveBusinessChatLink | Api.account_updatePersonalChannel | Api.account_toggleSponsoredMessages | Api.account_getReactionsNotifySettings | Api.account_setReactionsNotifySettings | Api.account_getCollectibleEmojiStatuses | Api.account_getPaidMessagesRevenue | Api.account_toggleNoPaidMessagesException | Api.account_setMainProfileTab | Api.account_saveMusic | Api.account_getSavedMusicIds | Api.account_getUniqueGiftChatThemes | Api.account_initPasskeyRegistration | Api.account_registerPasskey | Api.account_getPasskeys | Api.account_deletePasskey | Api.users_getUsers | Api.users_getFullUser | Api.users_setSecureValueErrors | Api.users_getRequirementsToContact | Api.users_getSavedMusic | Api.users_getSavedMusicByID | Api.users_suggestBirthday | Api.contacts_getContactIDs | Api.contacts_getStatuses | Api.contacts_getContacts | Api.contacts_importContacts | Api.contacts_deleteContacts | Api.contacts_deleteByPhones | Api.contacts_block | Api.contacts_unblock | Api.contacts_getBlocked | Api.contacts_search | Api.contacts_resolveUsername | Api.contacts_getTopPeers | Api.contacts_resetTopPeerRating | Api.contacts_resetSaved | Api.contacts_getSaved | Api.contacts_toggleTopPeers | Api.contacts_addContact | Api.contacts_acceptContact | Api.contacts_getLocated | Api.contacts_blockFromReplies | Api.contacts_resolvePhone | Api.contacts_exportContactToken | Api.contacts_importContactToken | Api.contacts_editCloseFriends | Api.contacts_setBlocked | Api.contacts_getBirthdays | Api.contacts_getSponsoredPeers | Api.contacts_updateContactNote | Api.messages_getMessages | Api.messages_getDialogs | Api.messages_getHistory | Api.messages_search | Api.messages_readHistory | Api.messages_deleteHistory | Api.messages_deleteMessages | Api.messages_receivedMessages | Api.messages_setTyping | Api.messages_sendMessage | Api.messages_sendMedia | Api.messages_forwardMessages | Api.messages_reportSpam | Api.messages_getPeerSettings | Api.messages_report | Api.messages_getChats | Api.messages_getFullChat | Api.messages_editChatTitle | Api.messages_editChatPhoto | Api.messages_addChatUser | Api.messages_deleteChatUser | Api.messages_createChat | Api.messages_getDhConfig | Api.messages_requestEncryption | Api.messages_acceptEncryption | Api.messages_discardEncryption | Api.messages_setEncryptedTyping | Api.messages_readEncryptedHistory | Api.messages_sendEncrypted | Api.messages_sendEncryptedFile | Api.messages_sendEncryptedService | Api.messages_receivedQueue | Api.messages_reportEncryptedSpam | Api.messages_readMessageContents | Api.messages_getStickers | Api.messages_getAllStickers | Api.messages_getWebPagePreview | Api.messages_exportChatInvite | Api.messages_checkChatInvite | Api.messages_importChatInvite | Api.messages_getStickerSet | Api.messages_installStickerSet | Api.messages_uninstallStickerSet | Api.messages_startBot | Api.messages_getMessagesViews | Api.messages_editChatAdmin | Api.messages_migrateChat | Api.messages_searchGlobal | Api.messages_reorderStickerSets | Api.messages_getDocumentByHash | Api.messages_getSavedGifs | Api.messages_saveGif | Api.messages_getInlineBotResults | Api.messages_setInlineBotResults | Api.messages_sendInlineBotResult | Api.messages_getMessageEditData | Api.messages_editMessage | Api.messages_editInlineBotMessage | Api.messages_getBotCallbackAnswer | Api.messages_setBotCallbackAnswer | Api.messages_getPeerDialogs | Api.messages_saveDraft | Api.messages_getAllDrafts | Api.messages_getFeaturedStickers | Api.messages_readFeaturedStickers | Api.messages_getRecentStickers | Api.messages_saveRecentSticker | Api.messages_clearRecentStickers | Api.messages_getArchivedStickers | Api.messages_getMaskStickers | Api.messages_getAttachedStickers | Api.messages_setGameScore | Api.messages_setInlineGameScore | Api.messages_getGameHighScores | Api.messages_getInlineGameHighScores | Api.messages_getCommonChats | Api.messages_getWebPage | Api.messages_toggleDialogPin | Api.messages_reorderPinnedDialogs | Api.messages_getPinnedDialogs | Api.messages_setBotShippingResults | Api.messages_setBotPrecheckoutResults | Api.messages_uploadMedia | Api.messages_sendScreenshotNotification | Api.messages_getFavedStickers | Api.messages_faveSticker | Api.messages_getUnreadMentions | Api.messages_readMentions | Api.messages_getRecentLocations | Api.messages_sendMultiMedia | Api.messages_uploadEncryptedFile | Api.messages_searchStickerSets | Api.messages_getSplitRanges | Api.messages_markDialogUnread | Api.messages_getDialogUnreadMarks | Api.messages_clearAllDrafts | Api.messages_updatePinnedMessage | Api.messages_sendVote | Api.messages_getPollResults | Api.messages_getOnlines | Api.messages_editChatAbout | Api.messages_editChatDefaultBannedRights | Api.messages_getEmojiKeywords | Api.messages_getEmojiKeywordsDifference | Api.messages_getEmojiKeywordsLanguages | Api.messages_getEmojiURL | Api.messages_getSearchCounters | Api.messages_requestUrlAuth | Api.messages_acceptUrlAuth | Api.messages_hidePeerSettingsBar | Api.messages_getScheduledHistory | Api.messages_getScheduledMessages | Api.messages_sendScheduledMessages | Api.messages_deleteScheduledMessages | Api.messages_getPollVotes | Api.messages_toggleStickerSets | Api.messages_getDialogFilters | Api.messages_getSuggestedDialogFilters | Api.messages_updateDialogFilter | Api.messages_updateDialogFiltersOrder | Api.messages_getOldFeaturedStickers | Api.messages_getReplies | Api.messages_getDiscussionMessage | Api.messages_readDiscussion | Api.messages_unpinAllMessages | Api.messages_deleteChat | Api.messages_deletePhoneCallHistory | Api.messages_checkHistoryImport | Api.messages_initHistoryImport | Api.messages_uploadImportedMedia | Api.messages_startHistoryImport | Api.messages_getExportedChatInvites | Api.messages_getExportedChatInvite | Api.messages_editExportedChatInvite | Api.messages_deleteRevokedExportedChatInvites | Api.messages_deleteExportedChatInvite | Api.messages_getAdminsWithInvites | Api.messages_getChatInviteImporters | Api.messages_setHistoryTTL | Api.messages_checkHistoryImportPeer | Api.messages_setChatTheme | Api.messages_getMessageReadParticipants | Api.messages_getSearchResultsCalendar | Api.messages_getSearchResultsPositions | Api.messages_hideChatJoinRequest | Api.messages_hideAllChatJoinRequests | Api.messages_toggleNoForwards | Api.messages_saveDefaultSendAs | Api.messages_sendReaction | Api.messages_getMessagesReactions | Api.messages_getMessageReactionsList | Api.messages_setChatAvailableReactions | Api.messages_getAvailableReactions | Api.messages_setDefaultReaction | Api.messages_translateText | Api.messages_getUnreadReactions | Api.messages_readReactions | Api.messages_searchSentMedia | Api.messages_getAttachMenuBots | Api.messages_getAttachMenuBot | Api.messages_toggleBotInAttachMenu | Api.messages_requestWebView | Api.messages_prolongWebView | Api.messages_requestSimpleWebView | Api.messages_sendWebViewResultMessage | Api.messages_sendWebViewData | Api.messages_transcribeAudio | Api.messages_rateTranscribedAudio | Api.messages_getCustomEmojiDocuments | Api.messages_getEmojiStickers | Api.messages_getFeaturedEmojiStickers | Api.messages_reportReaction | Api.messages_getTopReactions | Api.messages_getRecentReactions | Api.messages_clearRecentReactions | Api.messages_getExtendedMedia | Api.messages_setDefaultHistoryTTL | Api.messages_getDefaultHistoryTTL | Api.messages_sendBotRequestedPeer | Api.messages_getEmojiGroups | Api.messages_getEmojiStatusGroups | Api.messages_getEmojiProfilePhotoGroups | Api.messages_searchCustomEmoji | Api.messages_togglePeerTranslations | Api.messages_getBotApp | Api.messages_requestAppWebView | Api.messages_setChatWallPaper | Api.messages_searchEmojiStickerSets | Api.messages_getSavedDialogs | Api.messages_getSavedHistory | Api.messages_deleteSavedHistory | Api.messages_getPinnedSavedDialogs | Api.messages_toggleSavedDialogPin | Api.messages_reorderPinnedSavedDialogs | Api.messages_getSavedReactionTags | Api.messages_updateSavedReactionTag | Api.messages_getDefaultTagReactions | Api.messages_getOutboxReadDate | Api.messages_getQuickReplies | Api.messages_reorderQuickReplies | Api.messages_checkQuickReplyShortcut | Api.messages_editQuickReplyShortcut | Api.messages_deleteQuickReplyShortcut | Api.messages_getQuickReplyMessages | Api.messages_sendQuickReplyMessages | Api.messages_deleteQuickReplyMessages | Api.messages_toggleDialogFilterTags | Api.messages_getMyStickers | Api.messages_getEmojiStickerGroups | Api.messages_getAvailableEffects | Api.messages_editFactCheck | Api.messages_deleteFactCheck | Api.messages_getFactCheck | Api.messages_requestMainWebView | Api.messages_sendPaidReaction | Api.messages_togglePaidReactionPrivacy | Api.messages_getPaidReactionPrivacy | Api.messages_viewSponsoredMessage | Api.messages_clickSponsoredMessage | Api.messages_reportSponsoredMessage | Api.messages_getSponsoredMessages | Api.messages_savePreparedInlineMessage | Api.messages_getPreparedInlineMessage | Api.messages_searchStickers | Api.messages_reportMessagesDelivery | Api.messages_getSavedDialogsByID | Api.messages_readSavedHistory | Api.messages_toggleTodoCompleted | Api.messages_appendTodoList | Api.messages_toggleSuggestedPostApproval | Api.messages_getForumTopics | Api.messages_getForumTopicsByID | Api.messages_editForumTopic | Api.messages_updatePinnedForumTopic | Api.messages_reorderPinnedForumTopics | Api.messages_createForumTopic | Api.messages_deleteTopicHistory | Api.messages_getEmojiGameInfo | Api.messages_summarizeText | Api.messages_editChatCreator | Api.messages_getFutureChatCreatorAfterLeave | Api.messages_editChatParticipantRank | Api.messages_declineUrlAuth | Api.messages_checkUrlAuthMatchCode | Api.updates_getState | Api.updates_getDifference | Api.updates_getChannelDifference | Api.photos_updateProfilePhoto | Api.photos_uploadProfilePhoto | Api.photos_deletePhotos | Api.photos_getUserPhotos | Api.photos_uploadContactProfilePhoto | Api.upload_saveFilePart | Api.upload_getFile | Api.upload_saveBigFilePart | Api.upload_getWebFile | Api.upload_getCdnFile | Api.upload_reuploadCdnFile | Api.upload_getCdnFileHashes | Api.upload_getFileHashes | Api.help_getConfig | Api.help_getNearestDc | Api.help_getAppUpdate | Api.help_getInviteText | Api.help_getSupport | Api.help_setBotUpdatesStatus | Api.help_getCdnConfig | Api.help_getRecentMeUrls | Api.help_getTermsOfServiceUpdate | Api.help_acceptTermsOfService | Api.help_getDeepLinkInfo | Api.help_getAppConfig | Api.help_saveAppLog | Api.help_getPassportConfig | Api.help_getSupportName | Api.help_getUserInfo | Api.help_editUserInfo | Api.help_getPromoData | Api.help_hidePromoData | Api.help_dismissSuggestion | Api.help_getCountriesList | Api.help_getPremiumPromo | Api.help_getPeerColors | Api.help_getPeerProfileColors | Api.help_getTimezonesList | Api.channels_readHistory | Api.channels_deleteMessages | Api.channels_reportSpam | Api.channels_getMessages | Api.channels_getParticipants | Api.channels_getParticipant | Api.channels_getChannels | Api.channels_getFullChannel | Api.channels_createChannel | Api.channels_editAdmin | Api.channels_editTitle | Api.channels_editPhoto | Api.channels_checkUsername | Api.channels_updateUsername | Api.channels_joinChannel | Api.channels_leaveChannel | Api.channels_inviteToChannel | Api.channels_deleteChannel | Api.channels_exportMessageLink | Api.channels_toggleSignatures | Api.channels_getAdminedPublicChannels | Api.channels_editBanned | Api.channels_getAdminLog | Api.channels_setStickers | Api.channels_readMessageContents | Api.channels_deleteHistory | Api.channels_togglePreHistoryHidden | Api.channels_getLeftChannels | Api.channels_getGroupsForDiscussion | Api.channels_setDiscussionGroup | Api.channels_editLocation | Api.channels_toggleSlowMode | Api.channels_getInactiveChannels | Api.channels_convertToGigagroup | Api.channels_getSendAs | Api.channels_deleteParticipantHistory | Api.channels_toggleJoinToSend | Api.channels_toggleJoinRequest | Api.channels_reorderUsernames | Api.channels_toggleUsername | Api.channels_deactivateAllUsernames | Api.channels_toggleForum | Api.channels_toggleAntiSpam | Api.channels_reportAntiSpamFalsePositive | Api.channels_toggleParticipantsHidden | Api.channels_updateColor | Api.channels_toggleViewForumAsMessages | Api.channels_getChannelRecommendations | Api.channels_updateEmojiStatus | Api.channels_setBoostsToUnblockRestrictions | Api.channels_setEmojiStickers | Api.channels_restrictSponsoredMessages | Api.channels_searchPosts | Api.channels_updatePaidMessagesPrice | Api.channels_toggleAutotranslation | Api.channels_getMessageAuthor | Api.channels_checkSearchPostsFlood | Api.channels_setMainProfileTab | Api.bots_sendCustomRequest | Api.bots_answerWebhookJSONQuery | Api.bots_setBotCommands | Api.bots_resetBotCommands | Api.bots_getBotCommands | Api.bots_setBotMenuButton | Api.bots_getBotMenuButton | Api.bots_setBotBroadcastDefaultAdminRights | Api.bots_setBotGroupDefaultAdminRights | Api.bots_setBotInfo | Api.bots_getBotInfo | Api.bots_reorderUsernames | Api.bots_toggleUsername | Api.bots_canSendMessage | Api.bots_allowSendMessage | Api.bots_invokeWebViewCustomMethod | Api.bots_getPopularAppBots | Api.bots_addPreviewMedia | Api.bots_editPreviewMedia | Api.bots_deletePreviewMedia | Api.bots_reorderPreviewMedias | Api.bots_getPreviewInfo | Api.bots_getPreviewMedias | Api.bots_updateUserEmojiStatus | Api.bots_toggleUserEmojiStatusPermission | Api.bots_checkDownloadFileParams | Api.bots_getAdminedBots | Api.bots_updateStarRefProgram | Api.bots_setCustomVerification | Api.bots_getBotRecommendations | Api.payments_getPaymentForm | Api.payments_getPaymentReceipt | Api.payments_validateRequestedInfo | Api.payments_sendPaymentForm | Api.payments_getSavedInfo | Api.payments_clearSavedInfo | Api.payments_getBankCardData | Api.payments_exportInvoice | Api.payments_assignAppStoreTransaction | Api.payments_assignPlayMarketTransaction | Api.payments_getPremiumGiftCodeOptions | Api.payments_checkGiftCode | Api.payments_applyGiftCode | Api.payments_getGiveawayInfo | Api.payments_launchPrepaidGiveaway | Api.payments_getStarsTopupOptions | Api.payments_getStarsStatus | Api.payments_getStarsTransactions | Api.payments_sendStarsForm | Api.payments_refundStarsCharge | Api.payments_getStarsRevenueStats | Api.payments_getStarsRevenueWithdrawalUrl | Api.payments_getStarsRevenueAdsAccountUrl | Api.payments_getStarsTransactionsByID | Api.payments_getStarsGiftOptions | Api.payments_getStarsSubscriptions | Api.payments_changeStarsSubscription | Api.payments_fulfillStarsSubscription | Api.payments_getStarsGiveawayOptions | Api.payments_getStarGifts | Api.payments_saveStarGift | Api.payments_convertStarGift | Api.payments_botCancelStarsSubscription | Api.payments_getConnectedStarRefBots | Api.payments_getConnectedStarRefBot | Api.payments_getSuggestedStarRefBots | Api.payments_connectStarRefBot | Api.payments_editConnectedStarRefBot | Api.payments_getStarGiftUpgradePreview | Api.payments_upgradeStarGift | Api.payments_transferStarGift | Api.payments_getUniqueStarGift | Api.payments_getSavedStarGifts | Api.payments_getSavedStarGift | Api.payments_getStarGiftWithdrawalUrl | Api.payments_toggleChatStarGiftNotifications | Api.payments_toggleStarGiftsPinnedToTop | Api.payments_canPurchaseStore | Api.payments_getResaleStarGifts | Api.payments_updateStarGiftPrice | Api.payments_createStarGiftCollection | Api.payments_updateStarGiftCollection | Api.payments_reorderStarGiftCollections | Api.payments_deleteStarGiftCollection | Api.payments_getStarGiftCollections | Api.payments_getUniqueStarGiftValueInfo | Api.payments_checkCanSendGift | Api.payments_getStarGiftAuctionState | Api.payments_getStarGiftAuctionAcquiredGifts | Api.payments_getStarGiftActiveAuctions | Api.payments_resolveStarGiftOffer | Api.payments_sendStarGiftOffer | Api.payments_getStarGiftUpgradeAttributes | Api.payments_getCraftStarGifts | Api.payments_craftStarGift | Api.stickers_createStickerSet | Api.stickers_removeStickerFromSet | Api.stickers_changeStickerPosition | Api.stickers_addStickerToSet | Api.stickers_setStickerSetThumb | Api.stickers_checkShortName | Api.stickers_suggestShortName | Api.stickers_changeSticker | Api.stickers_renameStickerSet | Api.stickers_deleteStickerSet | Api.stickers_replaceSticker | Api.phone_getCallConfig | Api.phone_requestCall | Api.phone_acceptCall | Api.phone_confirmCall | Api.phone_receivedCall | Api.phone_discardCall | Api.phone_setCallRating | Api.phone_saveCallDebug | Api.phone_sendSignalingData | Api.phone_createGroupCall | Api.phone_joinGroupCall | Api.phone_leaveGroupCall | Api.phone_inviteToGroupCall | Api.phone_discardGroupCall | Api.phone_toggleGroupCallSettings | Api.phone_getGroupCall | Api.phone_getGroupParticipants | Api.phone_checkGroupCall | Api.phone_toggleGroupCallRecord | Api.phone_editGroupCallParticipant | Api.phone_editGroupCallTitle | Api.phone_getGroupCallJoinAs | Api.phone_exportGroupCallInvite | Api.phone_toggleGroupCallStartSubscription | Api.phone_startScheduledGroupCall | Api.phone_saveDefaultGroupCallJoinAs | Api.phone_joinGroupCallPresentation | Api.phone_leaveGroupCallPresentation | Api.phone_getGroupCallStreamChannels | Api.phone_getGroupCallStreamRtmpUrl | Api.phone_saveCallLog | Api.phone_createConferenceCall | Api.phone_deleteConferenceCallParticipants | Api.phone_sendConferenceCallBroadcast | Api.phone_inviteConferenceCallParticipant | Api.phone_declineConferenceCallInvite | Api.phone_getGroupCallChainBlocks | Api.phone_sendGroupCallMessage | Api.phone_sendGroupCallEncryptedMessage | Api.phone_deleteGroupCallMessages | Api.phone_deleteGroupCallParticipantMessages | Api.phone_getGroupCallStars | Api.phone_saveDefaultSendAs | Api.langpack_getLangPack | Api.langpack_getStrings | Api.langpack_getDifference | Api.langpack_getLanguages | Api.langpack_getLanguage | Api.folders_editPeerFolders | Api.stats_getBroadcastStats | Api.stats_loadAsyncGraph | Api.stats_getMegagroupStats | Api.stats_getMessagePublicForwards | Api.stats_getMessageStats | Api.stats_getStoryStats | Api.stats_getStoryPublicForwards | Api.chatlists_exportChatlistInvite | Api.chatlists_deleteExportedInvite | Api.chatlists_editExportedInvite | Api.chatlists_getExportedInvites | Api.chatlists_checkChatlistInvite | Api.chatlists_joinChatlistInvite | Api.chatlists_getChatlistUpdates | Api.chatlists_joinChatlistUpdates | Api.chatlists_hideChatlistUpdates | Api.chatlists_getLeaveChatlistSuggestions | Api.chatlists_leaveChatlist | Api.stories_canSendStory | Api.stories_sendStory | Api.stories_editStory | Api.stories_deleteStories | Api.stories_togglePinned | Api.stories_getAllStories | Api.stories_getPinnedStories | Api.stories_getStoriesArchive | Api.stories_getStoriesByID | Api.stories_toggleAllStoriesHidden | Api.stories_readStories | Api.stories_incrementStoryViews | Api.stories_getStoryViewsList | Api.stories_getStoriesViews | Api.stories_exportStoryLink | Api.stories_report | Api.stories_activateStealthMode | Api.stories_sendReaction | Api.stories_getPeerStories | Api.stories_getAllReadPeerStories | Api.stories_getPeerMaxIDs | Api.stories_getChatsToSend | Api.stories_togglePeerStoriesHidden | Api.stories_getStoryReactionsList | Api.stories_togglePinnedToTop | Api.stories_searchPosts | Api.stories_createAlbum | Api.stories_updateAlbum | Api.stories_reorderAlbums | Api.stories_deleteAlbum | Api.stories_getAlbums | Api.stories_getAlbumStories | Api.stories_startLive | Api.premium_getBoostsList | Api.premium_getMyBoosts | Api.premium_applyBoost | Api.premium_getBoostsStatus | Api.premium_getUserBoosts | Api.smsjobs_isEligibleToJoin | Api.smsjobs_join | Api.smsjobs_leave | Api.smsjobs_updateSettings | Api.smsjobs_getStatus | Api.smsjobs_getSmsJob | Api.smsjobs_finishJob | Api.fragment_getCollectibleInfo | Api.invokeAfterMsg<Api.Function> | Api.invokeAfterMsgs<Api.Function> | Api.initConnection<Api.Function> | Api.invokeWithLayer<Api.Function> | Api.invokeWithoutUpdates<Api.Function> | Api.invokeWithMessagesRange<Api.Function> | Api.invokeWithTakeout<Api.Function> | Api.invokeWithBusinessConnection<Api.Function> | Api.invokeWithGooglePlayIntegrity<Api.Function> | Api.invokeWithApnsSecret<Api.Function> | Api.invokeWithReCaptcha<Api.Function>;
|
|
33
33
|
export declare function canBeInputUser(inputPeer: Api.InputPeer): inputPeer is Api.inputPeerSelf | Api.inputPeerUser | Api.inputPeerUserFromMessage;
|
|
34
34
|
export declare function toInputUser(inputPeer: Api.InputPeer): Api.inputUserSelf | Api.inputUser | Api.inputUserFromMessage;
|
|
35
35
|
export declare function canBeInputChannel(inputPeer: Api.InputPeer): inputPeer is Api.inputPeerChannel | Api.inputPeerChannelFromMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_utilities.d.ts","sourceRoot":"","sources":["../../src/client/0_utilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAiB,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,IAAI,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC;A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;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,QAIlE;AAED,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,QAI9C;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,QAI5C;AAYD,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,qgwBAE3C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,qFAEtD;AACD,wBAAgB,WAAW,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,gEAYnD;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,uEAEzD;AACD,wBAAgB,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,kDAUtD;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAMlD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,UAUjD;AAED,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAE/C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,+BAA+B,IAAI,CAAC"}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
import { type Api } from "../2_tl.js";
|
|
21
21
|
import type { BusinessConnection, CallbackQuery, ChatAction, ChatMember, ChatP, ChatPChannel, ChatPGroup, ChatPSupergroup, ChosenInlineResult, FileSource, ID, InlineQuery, InlineQueryResult, InputMedia, InviteLink, Message, MessageAnimation, MessageAudio, MessageContact, MessageDice, MessageDocument, MessageInvoice, MessageList, MessageLocation, MessagePhoto, MessagePoll, MessageSticker, MessageText, MessageVenue, MessageVideo, MessageVideoNote, MessageVoice, PriceTag, Reaction, Update, User } from "../3_types.js";
|
|
22
|
-
import type { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AnswerPreCheckoutQueryParams, BanChatMemberParams, CreateInviteLinkParams, DeleteMessagesParams, EditInlineMessageCaptionParams, EditInlineMessageMediaParams, EditInlineMessageTextParams, EditMessageCaptionParams, EditMessageLiveLocationParams, EditMessageMediaParams, EditMessageReplyMarkupParams, EditMessageTextParams, ForwardMessagesParams, GetChatMembersParams, GetCreatedInviteLinksParams, PinMessageParams, PromoteChatMemberParams, ReplyParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendInvoiceParams, SendLocationParams, SendMediaGroupParams, SendMessageParams, SendPhotoParams, SendPollParams, SendStickerParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetReactionsParams } from "./0_params.js";
|
|
22
|
+
import type { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AnswerPreCheckoutQueryParams, BanChatMemberParams, CreateInviteLinkParams, DeleteMessagesParams, EditInlineMessageCaptionParams, EditInlineMessageMediaParams, EditInlineMessageTextParams, EditMessageCaptionParams, EditMessageLiveLocationParams, EditMessageMediaParams, EditMessageReplyMarkupParams, EditMessageTextParams, ForwardMessagesParams, GetChatMembersParams, GetCreatedInviteLinksParams, PinMessageParams, PromoteChatMemberParams, ReplyParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendInvoiceParams, SendLocationParams, SendMediaGroupParams, SendMessageDraftParams, SendMessageParams, SendPhotoParams, SendPollParams, SendStickerParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetReactionsParams } from "./0_params.js";
|
|
23
23
|
import type { ClientGeneric } from "./1_client_generic.js";
|
|
24
24
|
/**
|
|
25
25
|
* The context object that is passed to the client's update handlers.
|
|
@@ -51,67 +51,71 @@ export declare class Context {
|
|
|
51
51
|
/**
|
|
52
52
|
* Context-aware alias for {@link Client.sendMessage}.
|
|
53
53
|
*/
|
|
54
|
-
reply(text: string, params?: Omit<SendMessageParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageText>;
|
|
54
|
+
reply(text: string, params?: Omit<SendMessageParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageText>;
|
|
55
|
+
/**
|
|
56
|
+
* Context-aware alias for {@link Client.sendMessageDraft}.
|
|
57
|
+
*/
|
|
58
|
+
replyDraft(draftId: number, text: string, params?: Omit<SendMessageDraftParams, "messageThreadId"> & ReplyParams): Promise<void>;
|
|
55
59
|
/**
|
|
56
60
|
* Context-aware alias for {@link Client.sendPoll}.
|
|
57
61
|
*/
|
|
58
|
-
replyPoll(question: string, options: string[], params?: Omit<SendPollParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessagePoll>;
|
|
62
|
+
replyPoll(question: string, options: string[], params?: Omit<SendPollParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessagePoll>;
|
|
59
63
|
/**
|
|
60
64
|
* Context-aware alias for {@link Client.sendPhoto}.
|
|
61
65
|
*/
|
|
62
|
-
replyPhoto(photo: FileSource, params?: Omit<SendPhotoParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessagePhoto>;
|
|
66
|
+
replyPhoto(photo: FileSource, params?: Omit<SendPhotoParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessagePhoto>;
|
|
63
67
|
/**
|
|
64
68
|
* Context-aware alias for {@link Client.sendMediaGroup}.
|
|
65
69
|
*/
|
|
66
|
-
replyMediaGroup(media: InputMedia[], params?: Omit<SendMediaGroupParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<Message[]>;
|
|
70
|
+
replyMediaGroup(media: InputMedia[], params?: Omit<SendMediaGroupParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<Message[]>;
|
|
67
71
|
/**
|
|
68
72
|
* Context-aware alias for {@link Client.sendInvoice}.
|
|
69
73
|
*/
|
|
70
|
-
replyInvoice(title: string, description: string, payload: string, currency: string, prices: PriceTag[], params?: Omit<SendInvoiceParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageInvoice>;
|
|
74
|
+
replyInvoice(title: string, description: string, payload: string, currency: string, prices: PriceTag[], params?: Omit<SendInvoiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageInvoice>;
|
|
71
75
|
/**
|
|
72
76
|
* Context-aware alias for {@link Client.sendDocument}.
|
|
73
77
|
*/
|
|
74
|
-
replyDocument(document: FileSource, params?: Omit<SendDocumentParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageDocument>;
|
|
78
|
+
replyDocument(document: FileSource, params?: Omit<SendDocumentParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageDocument>;
|
|
75
79
|
/**
|
|
76
80
|
* Context-aware alias for {@link Client.sendSticker}.
|
|
77
81
|
*/
|
|
78
|
-
replySticker(sticker: FileSource, params?: Omit<SendStickerParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageSticker>;
|
|
82
|
+
replySticker(sticker: FileSource, params?: Omit<SendStickerParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageSticker>;
|
|
79
83
|
/**
|
|
80
84
|
* Context-aware alias for {@link Client.sendLocation}.
|
|
81
85
|
*/
|
|
82
|
-
replyLocation(latitude: number, longitude: number, params?: Omit<SendLocationParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageLocation>;
|
|
86
|
+
replyLocation(latitude: number, longitude: number, params?: Omit<SendLocationParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageLocation>;
|
|
83
87
|
/**
|
|
84
88
|
* Context-aware alias for {@link Client.sendDice}.
|
|
85
89
|
*/
|
|
86
|
-
replyDice(params?: Omit<SendDiceParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageDice>;
|
|
90
|
+
replyDice(params?: Omit<SendDiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageDice>;
|
|
87
91
|
/**
|
|
88
92
|
* Context-aware alias for {@link Client.sendVenue}.
|
|
89
93
|
*/
|
|
90
|
-
replyVenue(latitude: number, longitude: number, title: string, address: string, params?: Omit<SendVenueParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageVenue>;
|
|
94
|
+
replyVenue(latitude: number, longitude: number, title: string, address: string, params?: Omit<SendVenueParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVenue>;
|
|
91
95
|
/**
|
|
92
96
|
* Context-aware alias for {@link Client.sendContact}.
|
|
93
97
|
*/
|
|
94
|
-
replyContact(firstName: string, number: string, params?: Omit<SendContactParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageContact>;
|
|
98
|
+
replyContact(firstName: string, number: string, params?: Omit<SendContactParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageContact>;
|
|
95
99
|
/**
|
|
96
100
|
* Context-aware alias for {@link Client.sendVideo}.
|
|
97
101
|
*/
|
|
98
|
-
replyVideo(video: FileSource, params?: Omit<SendVideoParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageVideo>;
|
|
102
|
+
replyVideo(video: FileSource, params?: Omit<SendVideoParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVideo>;
|
|
99
103
|
/**
|
|
100
104
|
* Context-aware alias for {@link Client.sendAnimation}.
|
|
101
105
|
*/
|
|
102
|
-
replyAnimation(animation: FileSource, params?: Omit<SendAnimationParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageAnimation>;
|
|
106
|
+
replyAnimation(animation: FileSource, params?: Omit<SendAnimationParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageAnimation>;
|
|
103
107
|
/**
|
|
104
108
|
* Context-aware alias for {@link Client.sendVoice}.
|
|
105
109
|
*/
|
|
106
|
-
replyVoice(voice: FileSource, params?: Omit<SendVoiceParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageVoice>;
|
|
110
|
+
replyVoice(voice: FileSource, params?: Omit<SendVoiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVoice>;
|
|
107
111
|
/**
|
|
108
112
|
* Context-aware alias for {@link Client.sendAudio}.
|
|
109
113
|
*/
|
|
110
|
-
replyAudio(audio: FileSource, params?: Omit<SendAudioParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageAudio>;
|
|
114
|
+
replyAudio(audio: FileSource, params?: Omit<SendAudioParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageAudio>;
|
|
111
115
|
/**
|
|
112
116
|
* Context-aware alias for {@link Client.sendVideoNote}.
|
|
113
117
|
*/
|
|
114
|
-
replyVideoNote(videoNote: FileSource, params?: Omit<SendVideoNoteParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageVideoNote>;
|
|
118
|
+
replyVideoNote(videoNote: FileSource, params?: Omit<SendVideoNoteParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVideoNote>;
|
|
115
119
|
/**
|
|
116
120
|
* Context-aware alias for {@link Client.deleteMessage}.
|
|
117
121
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2_context.d.ts","sourceRoot":"","sources":["../../src/client/2_context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,KAAK,GAAG,EAAU,MAAM,YAAY,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,EAAE,EAAE,WAAW,EAAE,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CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK9E;;OAEG;IACG,gBAAgB,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC;IAK5E;;OAEG;IACG,qBAAqB,CAAC,MAAM,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAKxF;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAKhC;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAIhC;;OAEG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAIlC;;OAEG;IACG,aAAa,CAAC,MAAM,EAAE,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;IAKpD;;OAEG;IACG,cAAc,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAK1E;;OAEG;IACG,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKvD;;OAEG;IACG,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAK3C;;OAEG;IACG,qBAAqB,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAQ1D;;OAEG;IACG,sBAAsB,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;IAO/F;;OAEG;IACG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IAQzC;;OAEG;IACG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;CAO1C"}
|
package/esm/client/2_context.js
CHANGED
|
@@ -109,11 +109,21 @@ export class Context {
|
|
|
109
109
|
}
|
|
110
110
|
#getReplyTo = (quote, chatId, messageId) => {
|
|
111
111
|
if ("story" in this.update) {
|
|
112
|
-
return { chatId: this.update.story.chat.id, storyId: this.update.story.id };
|
|
112
|
+
return { replyTo: { chatId: this.update.story.chat.id, storyId: this.update.story.id } };
|
|
113
|
+
}
|
|
114
|
+
let messageThreadId = undefined;
|
|
115
|
+
if ("message" in this.update) {
|
|
116
|
+
messageThreadId = this.update.message.threadId;
|
|
117
|
+
}
|
|
118
|
+
else if ("editedMessage" in this.update) {
|
|
119
|
+
messageThreadId = this.update.editedMessage.threadId;
|
|
120
|
+
}
|
|
121
|
+
else if ("scheduledMessage" in this.update) {
|
|
122
|
+
messageThreadId = this.update.scheduledMessage.threadId;
|
|
113
123
|
}
|
|
114
124
|
const isPrivate = chatId > 0;
|
|
115
125
|
const shouldQuote = quote === undefined ? !isPrivate : quote;
|
|
116
|
-
return shouldQuote ? { messageId } : undefined;
|
|
126
|
+
return { messageThreadId, replyTo: shouldQuote ? { messageId } : undefined };
|
|
117
127
|
};
|
|
118
128
|
get chat() {
|
|
119
129
|
return this.msg?.chat ?? ("messageReactions" in this.update ? this.update.messageReactions.chat : "messageReactionCount" in this.update ? this.update.messageReactionCount.chat : "chatMember" in this.update ? this.update.chatMember.chat : "myChatMember" in this.update ? this.update.myChatMember.chat : "joinRequest" in this.update ? this.update.joinRequest.chat : "story" in this.update ? this.update.story.chat : undefined);
|
|
@@ -141,7 +151,15 @@ export class Context {
|
|
|
141
151
|
async reply(text, params) {
|
|
142
152
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
143
153
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
144
|
-
return await this.client.sendMessage(chatId, text, { ...params, replyTo, businessConnectionId });
|
|
154
|
+
return await this.client.sendMessage(chatId, text, { ...params, ...replyTo, businessConnectionId });
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Context-aware alias for {@link Client.sendMessageDraft}.
|
|
158
|
+
*/
|
|
159
|
+
async replyDraft(draftId, text, params) {
|
|
160
|
+
const { chatId, messageId } = this.#mustGetMsg();
|
|
161
|
+
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
162
|
+
return await this.client.sendMessageDraft(chatId, draftId, text, { ...params, ...replyTo });
|
|
145
163
|
}
|
|
146
164
|
/**
|
|
147
165
|
* Context-aware alias for {@link Client.sendPoll}.
|
|
@@ -149,7 +167,7 @@ export class Context {
|
|
|
149
167
|
async replyPoll(question, options, params) {
|
|
150
168
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
151
169
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
152
|
-
return await this.client.sendPoll(chatId, question, options, { ...params, replyTo, businessConnectionId });
|
|
170
|
+
return await this.client.sendPoll(chatId, question, options, { ...params, ...replyTo, businessConnectionId });
|
|
153
171
|
}
|
|
154
172
|
/**
|
|
155
173
|
* Context-aware alias for {@link Client.sendPhoto}.
|
|
@@ -157,7 +175,7 @@ export class Context {
|
|
|
157
175
|
async replyPhoto(photo, params) {
|
|
158
176
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
159
177
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
160
|
-
return await this.client.sendPhoto(chatId, photo, { ...params, replyTo, businessConnectionId });
|
|
178
|
+
return await this.client.sendPhoto(chatId, photo, { ...params, ...replyTo, businessConnectionId });
|
|
161
179
|
}
|
|
162
180
|
/**
|
|
163
181
|
* Context-aware alias for {@link Client.sendMediaGroup}.
|
|
@@ -165,7 +183,7 @@ export class Context {
|
|
|
165
183
|
async replyMediaGroup(media, params) {
|
|
166
184
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
167
185
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
168
|
-
return await this.client.sendMediaGroup(chatId, media, { ...params, replyTo, businessConnectionId });
|
|
186
|
+
return await this.client.sendMediaGroup(chatId, media, { ...params, ...replyTo, businessConnectionId });
|
|
169
187
|
}
|
|
170
188
|
/**
|
|
171
189
|
* Context-aware alias for {@link Client.sendInvoice}.
|
|
@@ -173,7 +191,7 @@ export class Context {
|
|
|
173
191
|
async replyInvoice(title, description, payload, currency, prices, params) {
|
|
174
192
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
175
193
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
176
|
-
return await this.client.sendInvoice(chatId, title, description, payload, currency, prices, { ...params, replyTo, businessConnectionId });
|
|
194
|
+
return await this.client.sendInvoice(chatId, title, description, payload, currency, prices, { ...params, ...replyTo, businessConnectionId });
|
|
177
195
|
}
|
|
178
196
|
/**
|
|
179
197
|
* Context-aware alias for {@link Client.sendDocument}.
|
|
@@ -181,7 +199,7 @@ export class Context {
|
|
|
181
199
|
async replyDocument(document, params) {
|
|
182
200
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
183
201
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
184
|
-
return await this.client.sendDocument(chatId, document, { ...params, replyTo, businessConnectionId });
|
|
202
|
+
return await this.client.sendDocument(chatId, document, { ...params, ...replyTo, businessConnectionId });
|
|
185
203
|
}
|
|
186
204
|
/**
|
|
187
205
|
* Context-aware alias for {@link Client.sendSticker}.
|
|
@@ -189,7 +207,7 @@ export class Context {
|
|
|
189
207
|
async replySticker(sticker, params) {
|
|
190
208
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
191
209
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
192
|
-
return await this.client.sendSticker(chatId, sticker, { ...params, replyTo, businessConnectionId });
|
|
210
|
+
return await this.client.sendSticker(chatId, sticker, { ...params, ...replyTo, businessConnectionId });
|
|
193
211
|
}
|
|
194
212
|
/**
|
|
195
213
|
* Context-aware alias for {@link Client.sendLocation}.
|
|
@@ -197,7 +215,7 @@ export class Context {
|
|
|
197
215
|
async replyLocation(latitude, longitude, params) {
|
|
198
216
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
199
217
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
200
|
-
return await this.client.sendLocation(chatId, latitude, longitude, { ...params, replyTo, businessConnectionId });
|
|
218
|
+
return await this.client.sendLocation(chatId, latitude, longitude, { ...params, ...replyTo, businessConnectionId });
|
|
201
219
|
}
|
|
202
220
|
/**
|
|
203
221
|
* Context-aware alias for {@link Client.sendDice}.
|
|
@@ -205,7 +223,7 @@ export class Context {
|
|
|
205
223
|
async replyDice(params) {
|
|
206
224
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
207
225
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
208
|
-
return await this.client.sendDice(chatId, { ...params, replyTo, businessConnectionId });
|
|
226
|
+
return await this.client.sendDice(chatId, { ...params, ...replyTo, businessConnectionId });
|
|
209
227
|
}
|
|
210
228
|
/**
|
|
211
229
|
* Context-aware alias for {@link Client.sendVenue}.
|
|
@@ -213,7 +231,7 @@ export class Context {
|
|
|
213
231
|
async replyVenue(latitude, longitude, title, address, params) {
|
|
214
232
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
215
233
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
216
|
-
return await this.client.sendVenue(chatId, latitude, longitude, title, address, { ...params, replyTo, businessConnectionId });
|
|
234
|
+
return await this.client.sendVenue(chatId, latitude, longitude, title, address, { ...params, ...replyTo, businessConnectionId });
|
|
217
235
|
}
|
|
218
236
|
/**
|
|
219
237
|
* Context-aware alias for {@link Client.sendContact}.
|
|
@@ -221,7 +239,7 @@ export class Context {
|
|
|
221
239
|
async replyContact(firstName, number, params) {
|
|
222
240
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
223
241
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
224
|
-
return await this.client.sendContact(chatId, firstName, number, { ...params, replyTo, businessConnectionId });
|
|
242
|
+
return await this.client.sendContact(chatId, firstName, number, { ...params, ...replyTo, businessConnectionId });
|
|
225
243
|
}
|
|
226
244
|
/**
|
|
227
245
|
* Context-aware alias for {@link Client.sendVideo}.
|
|
@@ -229,7 +247,7 @@ export class Context {
|
|
|
229
247
|
async replyVideo(video, params) {
|
|
230
248
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
231
249
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
232
|
-
return await this.client.sendVideo(chatId, video, { ...params, replyTo, businessConnectionId });
|
|
250
|
+
return await this.client.sendVideo(chatId, video, { ...params, ...replyTo, businessConnectionId });
|
|
233
251
|
}
|
|
234
252
|
/**
|
|
235
253
|
* Context-aware alias for {@link Client.sendAnimation}.
|
|
@@ -237,7 +255,7 @@ export class Context {
|
|
|
237
255
|
async replyAnimation(animation, params) {
|
|
238
256
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
239
257
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
240
|
-
return await this.client.sendAnimation(chatId, animation, { ...params, replyTo, businessConnectionId });
|
|
258
|
+
return await this.client.sendAnimation(chatId, animation, { ...params, ...replyTo, businessConnectionId });
|
|
241
259
|
}
|
|
242
260
|
/**
|
|
243
261
|
* Context-aware alias for {@link Client.sendVoice}.
|
|
@@ -245,7 +263,7 @@ export class Context {
|
|
|
245
263
|
async replyVoice(voice, params) {
|
|
246
264
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
247
265
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
248
|
-
return await this.client.sendVoice(chatId, voice, { ...params, replyTo, businessConnectionId });
|
|
266
|
+
return await this.client.sendVoice(chatId, voice, { ...params, ...replyTo, businessConnectionId });
|
|
249
267
|
}
|
|
250
268
|
/**
|
|
251
269
|
* Context-aware alias for {@link Client.sendAudio}.
|
|
@@ -253,7 +271,7 @@ export class Context {
|
|
|
253
271
|
async replyAudio(audio, params) {
|
|
254
272
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
255
273
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
256
|
-
return await this.client.sendAudio(chatId, audio, { ...params, replyTo, businessConnectionId });
|
|
274
|
+
return await this.client.sendAudio(chatId, audio, { ...params, ...replyTo, businessConnectionId });
|
|
257
275
|
}
|
|
258
276
|
/**
|
|
259
277
|
* Context-aware alias for {@link Client.sendVideoNote}.
|
|
@@ -261,7 +279,7 @@ export class Context {
|
|
|
261
279
|
async replyVideoNote(videoNote, params) {
|
|
262
280
|
const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
|
|
263
281
|
const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
|
|
264
|
-
return await this.client.sendVideoNote(chatId, videoNote, { ...params, replyTo, businessConnectionId });
|
|
282
|
+
return await this.client.sendVideoNote(chatId, videoNote, { ...params, ...replyTo, businessConnectionId });
|
|
265
283
|
}
|
|
266
284
|
/**
|
|
267
285
|
* Context-aware alias for {@link Client.deleteMessage}.
|
|
@@ -342,7 +342,7 @@ export class MessageManager {
|
|
|
342
342
|
const topMsgId = params?.messageThreadId;
|
|
343
343
|
if (!params?.replyTo) {
|
|
344
344
|
if (topMsgId) {
|
|
345
|
-
return { _: "inputReplyToMessage", reply_to_msg_id: topMsgId };
|
|
345
|
+
return { _: "inputReplyToMessage", reply_to_msg_id: topMsgId, top_msg_id: topMsgId };
|
|
346
346
|
}
|
|
347
347
|
else {
|
|
348
348
|
return undefined;
|
|
@@ -394,10 +394,10 @@ export class ChatManager {
|
|
|
394
394
|
if (isSelf || Api.peerToChatId(user_id) === await this.#c.getSelfId()) {
|
|
395
395
|
throw new InputError("A user ID except that of the current one was expected.");
|
|
396
396
|
}
|
|
397
|
-
const
|
|
397
|
+
const peer = await this.#c.getInputPeer(chatId);
|
|
398
398
|
const ap = await this.#c.invoke({ _: "account.getPassword" });
|
|
399
399
|
const password_ = await checkPassword(password, ap);
|
|
400
|
-
await this.#c.invoke({ _: "
|
|
400
|
+
await this.#c.invoke({ _: "messages.editChatCreator", peer, user_id, password: password_ });
|
|
401
401
|
}
|
|
402
402
|
async promoteChatMember(chatId, userId, params) {
|
|
403
403
|
const channel = await this.#c.getInputChannel(chatId);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Make an assertion, error will be thrown if `expr` does not have truthy value.
|
|
2
|
+
* Make an assertion, an error will be thrown if `expr` does not have a truthy value.
|
|
3
3
|
*
|
|
4
4
|
* @example Usage
|
|
5
5
|
* ```ts ignore
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @param expr The expression to test.
|
|
13
13
|
* @param msg The optional message to display if the assertion fails.
|
|
14
|
+
* @throws {AssertionError} If `expr` is falsy.
|
|
14
15
|
*/
|
|
15
16
|
export declare function assert(expr: unknown, msg?: string): asserts expr;
|
|
16
17
|
//# sourceMappingURL=assert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.19/assert.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,OAAO,CAAC,IAAI,CAI5D"}
|