@mtkruto/node 0.63.15 → 0.63.17
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/README.md +1 -1
- package/esm/0_deps.d.ts +11 -11
- package/esm/0_deps.js +11 -11
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_storage_operations.js +5 -2
- package/esm/client/0_utilities.d.ts +1 -1
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +1 -1
- package/esm/client/3_video_chat_manager.js +1 -1
- package/esm/client/4_chat_list_manager.js +1 -1
- package/esm/client/4_chat_manager.d.ts +2 -2
- package/esm/client/4_chat_manager.d.ts.map +1 -1
- package/esm/client/5_client.d.ts +6 -6
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +1 -0
- package/{script/deps/jsr.io/@std/assert/1.0.12 → esm/deps/jsr.io/@std/assert/1.0.13}/assert.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.13/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equal.js +2 -2
- package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equals.js +4 -4
- package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/false.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/unreachable.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/datetime/{0.225.3 → 0.225.4}/constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.d.ts +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.js +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/assert_path.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/assert_path.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/basename.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize_string.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize_string.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/strip_trailing_separators.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.9/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_os.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/basename.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/extname.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/extname.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/is_absolute.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/join.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/join.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/_util.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/_util.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/posix/basename.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/basename.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/posix/extname.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/extname.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/is_absolute.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/is_absolute.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/posix/join.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/join.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/posix/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/normalize.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/posix/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/to_file_url.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/_util.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/_util.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/windows/basename.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/basename.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/windows/extname.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/extname.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/windows/is_absolute.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/is_absolute.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/windows/join.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/join.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/windows/normalize.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/normalize.js +1 -1
- package/{script/deps/jsr.io/@std/path/1.0.8 → esm/deps/jsr.io/@std/path/1.0.9}/windows/to_file_url.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/to_file_url.js +1 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +61 -0
- package/esm/tl/1_telegram_api.d.ts +218 -27
- package/esm/tl/1_telegram_api.d.ts.map +1 -1
- package/esm/tl/1_telegram_api.js +288 -48
- package/esm/types/2_chat.js +2 -2
- package/esm/utilities/2_queue.d.ts +1 -1
- package/esm/utilities/2_queue.d.ts.map +1 -1
- package/esm/utilities/2_queue.js +11 -7
- package/package.json +1 -1
- package/script/0_deps.d.ts +11 -11
- package/script/0_deps.js +11 -11
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_storage_operations.js +4 -1
- package/script/client/0_utilities.d.ts +1 -1
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/2_update_manager.js +1 -1
- package/script/client/3_video_chat_manager.js +1 -1
- package/script/client/4_chat_list_manager.js +1 -1
- package/script/client/4_chat_manager.d.ts +2 -2
- package/script/client/4_chat_manager.d.ts.map +1 -1
- package/script/client/5_client.d.ts +6 -6
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +1 -0
- package/{esm/deps/jsr.io/@std/assert/1.0.12 → script/deps/jsr.io/@std/assert/1.0.13}/assert.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/1.0.13/assertion_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.13/equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equal.js +2 -2
- package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equals.js +4 -4
- package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/false.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/unreachable.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/datetime/{0.225.3 → 0.225.4}/constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.d.ts +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/build_message.js +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/assert_path.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/assert_path.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/basename.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/basename.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/constants.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize_string.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize_string.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/strip_trailing_separators.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/to_file_url.js +1 -1
- package/script/deps/jsr.io/@std/path/1.0.9/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_os.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/basename.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/basename.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/extname.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/extname.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/is_absolute.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/is_absolute.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/join.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/join.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/_util.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/_util.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/posix/basename.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/basename.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/posix/extname.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/extname.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/is_absolute.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/is_absolute.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/posix/join.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/join.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/posix/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/normalize.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/posix/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/to_file_url.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/to_file_url.js +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/_util.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/_util.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/windows/basename.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/basename.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/windows/extname.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/extname.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/windows/is_absolute.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/is_absolute.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/windows/join.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/join.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/windows/normalize.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/normalize.js +1 -1
- package/{esm/deps/jsr.io/@std/path/1.0.8 → script/deps/jsr.io/@std/path/1.0.9}/windows/to_file_url.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/to_file_url.js +1 -1
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +64 -3
- package/script/tl/1_telegram_api.d.ts +218 -27
- package/script/tl/1_telegram_api.d.ts.map +1 -1
- package/script/tl/1_telegram_api.js +288 -48
- package/script/types/2_chat.js +2 -2
- package/script/utilities/2_queue.d.ts +1 -1
- package/script/utilities/2_queue.d.ts.map +1 -1
- package/script/utilities/2_queue.js +11 -7
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/assert.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/assert.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/assertion_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/assertion_error.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/false.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/false.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/unreachable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/unreachable.js +0 -0
- /package/esm/deps/jsr.io/@std/datetime/{0.225.3 → 0.225.4}/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/datetime/{0.225.3 → 0.225.4}/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/assert_path.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/assert.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/assert.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/assertion_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/assertion_error.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/false.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/false.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/unreachable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.12 → 1.0.13}/unreachable.js +0 -0
- /package/script/deps/jsr.io/@std/datetime/{0.225.3 → 0.225.4}/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/datetime/{0.225.3 → 0.225.4}/constants.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/diff_str.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/format.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/styles.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.6 → 1.0.7}/types.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/assert_path.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/normalize_string.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_common/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/_os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/posix/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.0.9}/windows/to_file_url.d.ts +0 -0
package/esm/types/2_chat.js
CHANGED
|
@@ -49,7 +49,7 @@ export async function constructChat(fullChat, getEntity) {
|
|
|
49
49
|
return cleanObject({
|
|
50
50
|
...chatP,
|
|
51
51
|
photo: fullChat.chat_photo && Api.is("photo", fullChat.chat_photo) ? constructPhoto(fullChat.chat_photo) : undefined,
|
|
52
|
-
videoChatId: fullChat.call ? String(fullChat.call.id) : undefined,
|
|
52
|
+
videoChatId: Api.is("inputGroupCall", fullChat.call) ? String(fullChat.call.id) : undefined,
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
else if (Api.is("channelFull", fullChat)) {
|
|
@@ -60,7 +60,7 @@ export async function constructChat(fullChat, getEntity) {
|
|
|
60
60
|
return cleanObject({
|
|
61
61
|
...chatP,
|
|
62
62
|
photo: fullChat.chat_photo && Api.is("photo", fullChat.chat_photo) ? constructPhoto(fullChat.chat_photo) : undefined,
|
|
63
|
-
videoChatId: fullChat.call ? String(fullChat.call.id) : undefined,
|
|
63
|
+
videoChatId: Api.is("inputGroupCall", fullChat.call) ? String(fullChat.call.id) : undefined,
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
unreachable();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2_queue.d.ts","sourceRoot":"","sources":["../../src/utilities/2_queue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,qBAAa,KAAK;;IAEhB,SAAS,SAAmB,OAAO,CAAC,IAAI,CAAC,IAAI;
|
|
1
|
+
{"version":3,"file":"2_queue.d.ts","sourceRoot":"","sources":["../../src/utilities/2_queue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,qBAAa,KAAK;;IAEhB,SAAS,SAAmB,OAAO,CAAC,IAAI,CAAC,IAAI;gBAGjC,IAAI,EAAE,MAAM,EAAE,MAAM,UAAQ;IAKxC,GAAG,CAAC,EAAE,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC;CA4B5B"}
|
package/esm/utilities/2_queue.js
CHANGED
|
@@ -28,10 +28,10 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
28
28
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
29
29
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
30
30
|
};
|
|
31
|
-
var _Queue_instances, _Queue_logger, _Queue_busy, _Queue_check;
|
|
31
|
+
var _Queue_instances, _Queue_logger, _Queue_throw, _Queue_busy, _Queue_check;
|
|
32
32
|
import { getLogger } from "./1_logger.js";
|
|
33
33
|
export class Queue {
|
|
34
|
-
constructor(name) {
|
|
34
|
+
constructor(name, throw_ = false) {
|
|
35
35
|
_Queue_instances.add(this);
|
|
36
36
|
_Queue_logger.set(this, void 0);
|
|
37
37
|
Object.defineProperty(this, "functions", {
|
|
@@ -40,15 +40,17 @@ export class Queue {
|
|
|
40
40
|
writable: true,
|
|
41
41
|
value: new Array()
|
|
42
42
|
});
|
|
43
|
+
_Queue_throw.set(this, void 0);
|
|
43
44
|
_Queue_busy.set(this, false);
|
|
44
45
|
__classPrivateFieldSet(this, _Queue_logger, getLogger(`q/${name}`), "f");
|
|
46
|
+
__classPrivateFieldSet(this, _Queue_throw, throw_, "f");
|
|
45
47
|
}
|
|
46
48
|
add(fn) {
|
|
47
49
|
this.functions.push(fn);
|
|
48
50
|
__classPrivateFieldGet(this, _Queue_instances, "m", _Queue_check).call(this);
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
|
-
_Queue_logger = new WeakMap(), _Queue_busy = new WeakMap(), _Queue_instances = new WeakSet(), _Queue_check = function _Queue_check() {
|
|
53
|
+
_Queue_logger = new WeakMap(), _Queue_throw = new WeakMap(), _Queue_busy = new WeakMap(), _Queue_instances = new WeakSet(), _Queue_check = function _Queue_check() {
|
|
52
54
|
if (__classPrivateFieldGet(this, _Queue_busy, "f")) {
|
|
53
55
|
return;
|
|
54
56
|
}
|
|
@@ -57,14 +59,16 @@ _Queue_logger = new WeakMap(), _Queue_busy = new WeakMap(), _Queue_instances = n
|
|
|
57
59
|
}
|
|
58
60
|
const fn = this.functions.shift();
|
|
59
61
|
if (fn !== undefined) {
|
|
60
|
-
fn()
|
|
61
|
-
.catch((err) => {
|
|
62
|
-
__classPrivateFieldGet(this, _Queue_logger, "f").error((typeof err === "object" && err != null && "stack" in err) ? err.stack : err);
|
|
63
|
-
})
|
|
62
|
+
const promise = fn()
|
|
64
63
|
.finally(() => {
|
|
65
64
|
__classPrivateFieldSet(this, _Queue_busy, false, "f");
|
|
66
65
|
__classPrivateFieldGet(this, _Queue_instances, "m", _Queue_check).call(this);
|
|
67
66
|
});
|
|
67
|
+
if (!__classPrivateFieldGet(this, _Queue_throw, "f")) {
|
|
68
|
+
promise.catch((err) => {
|
|
69
|
+
__classPrivateFieldGet(this, _Queue_logger, "f").error((typeof err === "object" && err != null && "stack" in err) ? err.stack : err);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
68
72
|
}
|
|
69
73
|
else {
|
|
70
74
|
__classPrivateFieldSet(this, _Queue_busy, false, "f");
|
package/package.json
CHANGED
package/script/0_deps.d.ts
CHANGED
|
@@ -17,20 +17,20 @@
|
|
|
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.0.
|
|
26
|
-
export { extname } from "./deps/jsr.io/@std/path/1.0.
|
|
27
|
-
export { basename } from "./deps/jsr.io/@std/path/1.0.
|
|
28
|
-
export { toFileUrl } from "./deps/jsr.io/@std/path/1.0.
|
|
29
|
-
export { isAbsolute } from "./deps/jsr.io/@std/path/1.0.
|
|
20
|
+
export { assert } from "./deps/jsr.io/@std/assert/1.0.13/assert.js";
|
|
21
|
+
export { assertFalse } from "./deps/jsr.io/@std/assert/1.0.13/false.js";
|
|
22
|
+
export { assertEquals } from "./deps/jsr.io/@std/assert/1.0.13/equals.js";
|
|
23
|
+
export { unreachable } from "./deps/jsr.io/@std/assert/1.0.13/unreachable.js";
|
|
24
|
+
export { AssertionError } from "./deps/jsr.io/@std/assert/1.0.13/assertion_error.js";
|
|
25
|
+
export { join } from "./deps/jsr.io/@std/path/1.0.9/join.js";
|
|
26
|
+
export { extname } from "./deps/jsr.io/@std/path/1.0.9/extname.js";
|
|
27
|
+
export { basename } from "./deps/jsr.io/@std/path/1.0.9/basename.js";
|
|
28
|
+
export { toFileUrl } from "./deps/jsr.io/@std/path/1.0.9/to_file_url.js";
|
|
29
|
+
export { isAbsolute } from "./deps/jsr.io/@std/path/1.0.9/is_absolute.js";
|
|
30
30
|
export { delay } from "./deps/jsr.io/@std/async/1.0.12/mod.js";
|
|
31
31
|
export { concat } from "./deps/jsr.io/@std/bytes/1.0.5/concat.js";
|
|
32
32
|
export { iterateReader } from "./deps/jsr.io/@std/io/0.225.2/iterate_reader.js";
|
|
33
|
-
export { MINUTE, SECOND } from "./deps/jsr.io/@std/datetime/0.225.
|
|
33
|
+
export { MINUTE, SECOND } from "./deps/jsr.io/@std/datetime/0.225.4/constants.js";
|
|
34
34
|
export { toArrayBuffer } from "./deps/jsr.io/@std/streams/1.0.9/to_array_buffer.js";
|
|
35
35
|
export { decodeBase64, encodeBase64 } from "./deps/jsr.io/@std/encoding/1.0.7/base64.js";
|
|
36
36
|
import { contentType as contentType_ } from "./deps/jsr.io/@std/media-types/1.1.0/content_type.js";
|
package/script/0_deps.js
CHANGED
|
@@ -21,25 +21,25 @@
|
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.Parser = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.contentType = exports.encodeBase64 = exports.decodeBase64 = exports.toArrayBuffer = exports.SECOND = exports.MINUTE = exports.iterateReader = exports.concat = exports.delay = exports.isAbsolute = exports.toFileUrl = exports.basename = exports.extname = exports.join = exports.AssertionError = exports.unreachable = exports.assertEquals = exports.assertFalse = exports.assert = void 0;
|
|
23
23
|
exports.extension = extension;
|
|
24
|
-
var assert_js_1 = require("./deps/jsr.io/@std/assert/1.0.
|
|
24
|
+
var assert_js_1 = require("./deps/jsr.io/@std/assert/1.0.13/assert.js");
|
|
25
25
|
Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return assert_js_1.assert; } });
|
|
26
|
-
var false_js_1 = require("./deps/jsr.io/@std/assert/1.0.
|
|
26
|
+
var false_js_1 = require("./deps/jsr.io/@std/assert/1.0.13/false.js");
|
|
27
27
|
Object.defineProperty(exports, "assertFalse", { enumerable: true, get: function () { return false_js_1.assertFalse; } });
|
|
28
|
-
var equals_js_1 = require("./deps/jsr.io/@std/assert/1.0.
|
|
28
|
+
var equals_js_1 = require("./deps/jsr.io/@std/assert/1.0.13/equals.js");
|
|
29
29
|
Object.defineProperty(exports, "assertEquals", { enumerable: true, get: function () { return equals_js_1.assertEquals; } });
|
|
30
|
-
var unreachable_js_1 = require("./deps/jsr.io/@std/assert/1.0.
|
|
30
|
+
var unreachable_js_1 = require("./deps/jsr.io/@std/assert/1.0.13/unreachable.js");
|
|
31
31
|
Object.defineProperty(exports, "unreachable", { enumerable: true, get: function () { return unreachable_js_1.unreachable; } });
|
|
32
|
-
var assertion_error_js_1 = require("./deps/jsr.io/@std/assert/1.0.
|
|
32
|
+
var assertion_error_js_1 = require("./deps/jsr.io/@std/assert/1.0.13/assertion_error.js");
|
|
33
33
|
Object.defineProperty(exports, "AssertionError", { enumerable: true, get: function () { return assertion_error_js_1.AssertionError; } });
|
|
34
|
-
var join_js_1 = require("./deps/jsr.io/@std/path/1.0.
|
|
34
|
+
var join_js_1 = require("./deps/jsr.io/@std/path/1.0.9/join.js");
|
|
35
35
|
Object.defineProperty(exports, "join", { enumerable: true, get: function () { return join_js_1.join; } });
|
|
36
|
-
var extname_js_1 = require("./deps/jsr.io/@std/path/1.0.
|
|
36
|
+
var extname_js_1 = require("./deps/jsr.io/@std/path/1.0.9/extname.js");
|
|
37
37
|
Object.defineProperty(exports, "extname", { enumerable: true, get: function () { return extname_js_1.extname; } });
|
|
38
|
-
var basename_js_1 = require("./deps/jsr.io/@std/path/1.0.
|
|
38
|
+
var basename_js_1 = require("./deps/jsr.io/@std/path/1.0.9/basename.js");
|
|
39
39
|
Object.defineProperty(exports, "basename", { enumerable: true, get: function () { return basename_js_1.basename; } });
|
|
40
|
-
var to_file_url_js_1 = require("./deps/jsr.io/@std/path/1.0.
|
|
40
|
+
var to_file_url_js_1 = require("./deps/jsr.io/@std/path/1.0.9/to_file_url.js");
|
|
41
41
|
Object.defineProperty(exports, "toFileUrl", { enumerable: true, get: function () { return to_file_url_js_1.toFileUrl; } });
|
|
42
|
-
var is_absolute_js_1 = require("./deps/jsr.io/@std/path/1.0.
|
|
42
|
+
var is_absolute_js_1 = require("./deps/jsr.io/@std/path/1.0.9/is_absolute.js");
|
|
43
43
|
Object.defineProperty(exports, "isAbsolute", { enumerable: true, get: function () { return is_absolute_js_1.isAbsolute; } });
|
|
44
44
|
var mod_js_1 = require("./deps/jsr.io/@std/async/1.0.12/mod.js");
|
|
45
45
|
Object.defineProperty(exports, "delay", { enumerable: true, get: function () { return mod_js_1.delay; } });
|
|
@@ -47,7 +47,7 @@ var concat_js_1 = require("./deps/jsr.io/@std/bytes/1.0.5/concat.js");
|
|
|
47
47
|
Object.defineProperty(exports, "concat", { enumerable: true, get: function () { return concat_js_1.concat; } });
|
|
48
48
|
var iterate_reader_js_1 = require("./deps/jsr.io/@std/io/0.225.2/iterate_reader.js");
|
|
49
49
|
Object.defineProperty(exports, "iterateReader", { enumerable: true, get: function () { return iterate_reader_js_1.iterateReader; } });
|
|
50
|
-
var constants_js_1 = require("./deps/jsr.io/@std/datetime/0.225.
|
|
50
|
+
var constants_js_1 = require("./deps/jsr.io/@std/datetime/0.225.4/constants.js");
|
|
51
51
|
Object.defineProperty(exports, "MINUTE", { enumerable: true, get: function () { return constants_js_1.MINUTE; } });
|
|
52
52
|
Object.defineProperty(exports, "SECOND", { enumerable: true, get: function () { return constants_js_1.SECOND; } });
|
|
53
53
|
var to_array_buffer_js_1 = require("./deps/jsr.io/@std/streams/1.0.9/to_array_buffer.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_storage_operations.d.ts","sourceRoot":"","sources":["../../src/client/0_storage_operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAA8D,YAAY,EAA+C,MAAM,mBAAmB,CAAC;AAC1J,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"0_storage_operations.d.ts","sourceRoot":"","sources":["../../src/client/0_storage_operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAA8D,YAAY,EAA+C,MAAM,mBAAmB,CAAC;AAC1J,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,GAAG,EAAyB,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGhE,eAAO,MAAM,CAAC;;oBAEE,MAAM,KAAG,MAAM;qBAChB,cAAc,EAAE;;;oBAGf,MAAM,KAAG,MAAM;0BACX,cAAc,EAAE;;;oBAGpB,MAAM,KAAG,MAAM;kBACnB,cAAc,EAAE;mBACf,cAAc,EAAE;yBACV,cAAc,EAAE;2BACd,cAAc,EAAE;yBAClB,cAAc,EAAE;;;oBAGnB,MAAM,KAAG,MAAM;qBAChB,cAAc,EAAE;mBAClB,cAAc,EAAE;yBACR,MAAM,KAAG,cAAc,EAAE;wBAC1B,MAAM,MAAM,MAAM,KAAG,cAAc,EAAE;gCAC7B,MAAM,KAAG,cAAc,EAAE;;;oBAGrC,MAAM,KAAG,MAAM;yBACZ,cAAc,EAAE;sBACjB,MAAM,KAAG,cAAc,EAAE;qBAC5B,cAAc,EAAE;mBAChB,MAAM,KAAG,cAAc,EAAE;+BACf,cAAc,EAAE;6BAChB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AAG,IAAI,CAAC;IAIlF,yBAAyB;IAQzB,8BAA8B,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM;IAIhH,8BAA8B,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAIhH,kCAAkC;CAOzC"}
|
|
@@ -254,7 +254,10 @@ class StorageOperations {
|
|
|
254
254
|
// @ts-ignore: TBD
|
|
255
255
|
const buffer = (keyOrBuffer instanceof Uint8Array || _2_tl_js_1.Api.isValidObject(keyOrBuffer)) ? keyOrBuffer : await __classPrivateFieldGet(this, _StorageOperations_storage, "f").get(keyOrBuffer);
|
|
256
256
|
if (buffer != null) {
|
|
257
|
-
if (
|
|
257
|
+
if (buffer instanceof Uint8Array) {
|
|
258
|
+
return await _2_tl_js_1.Api.deserializeType(_2_tl_js_1.X, (0, _1_utilities_js_1.rleDecode)(buffer));
|
|
259
|
+
}
|
|
260
|
+
else if (Array.isArray(buffer)) {
|
|
258
261
|
return await _2_tl_js_1.Api.deserializeType(buffer[0], (0, _1_utilities_js_1.rleDecode)(buffer[1]));
|
|
259
262
|
}
|
|
260
263
|
else {
|
|
@@ -28,7 +28,7 @@ export declare function checkPollOption(option: string): void;
|
|
|
28
28
|
export declare function checkArray<T>(array: T[], check: (value: T) => void): void;
|
|
29
29
|
export declare function checkCallbackQueryId(id: string): void;
|
|
30
30
|
export declare function checkInlineQueryId(id: string): void;
|
|
31
|
-
export declare function isCdnFunction(value: unknown): value is 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.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_addNoPaidMessagesException | Api.account_getPaidMessagesRevenue | Api.users_getUsers | Api.users_getFullUser | Api.users_setSecureValueErrors | Api.users_getRequirementsToContact | 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.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.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_createForumTopic | Api.channels_getForumTopics | Api.channels_getForumTopicsByID | Api.channels_editForumTopic | Api.channels_updatePinnedForumTopic | Api.channels_deleteTopicHistory | Api.channels_reorderPinnedForumTopics | 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.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.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.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.stats_getBroadcastRevenueStats | Api.stats_getBroadcastRevenueWithdrawalUrl | Api.stats_getBroadcastRevenueTransactions | 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.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>;
|
|
31
|
+
export declare function isCdnFunction(value: unknown): value is 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.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_addNoPaidMessagesException | Api.account_getPaidMessagesRevenue | Api.users_getUsers | Api.users_getFullUser | Api.users_setSecureValueErrors | Api.users_getRequirementsToContact | 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.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.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_createForumTopic | Api.channels_getForumTopics | Api.channels_getForumTopicsByID | Api.channels_editForumTopic | Api.channels_updatePinnedForumTopic | Api.channels_deleteTopicHistory | Api.channels_reorderPinnedForumTopics | 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.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.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.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.stats_getBroadcastRevenueStats | Api.stats_getBroadcastRevenueWithdrawalUrl | Api.stats_getBroadcastRevenueTransactions | 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.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
32
|
export declare function canBeInputUser(inputPeer: Api.InputPeer): inputPeer is Api.inputPeerSelf | Api.inputPeerUser | Api.inputPeerUserFromMessage;
|
|
33
33
|
export declare function toInputUser(inputPeer: Api.InputPeer): Api.inputUserSelf | Api.inputUser | Api.inputUserFromMessage;
|
|
34
34
|
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,eAAO,MAAM,OAAO,qBAA0B,CAAC;AAE/C,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,WAMvC;AAsCD,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,UAyBzC;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,SAS7C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,UAK/C;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,UAK3C;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,QAI7C;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE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C,SAAS,EAAE,GAAG,CAAC,SAAS,kDAUtD;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAMlD;AAED,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAE/C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,+BAA+B,IAAI,CAAC"}
|
|
@@ -119,7 +119,7 @@ class VideoChatManager {
|
|
|
119
119
|
await __classPrivateFieldGet(this, _VideoChatManager_c, "f").storage.setGroupCall(update.call.id, update.call);
|
|
120
120
|
await __classPrivateFieldGet(this, _VideoChatManager_c, "f").storage.setGroupCallAccessHash(update.call.id, update.call.access_hash);
|
|
121
121
|
if (fullChat != null) {
|
|
122
|
-
if (!("call" in fullChat) || !fullChat.call || fullChat.call.id != update.call.id) {
|
|
122
|
+
if (!("call" in fullChat) || !fullChat.call || !_2_tl_js_1.Api.is("inputGroupCall", fullChat.call) || fullChat.call.id != update.call.id) {
|
|
123
123
|
fullChat.call = { ...update.call, _: "inputGroupCall" };
|
|
124
124
|
updateFullChat = true;
|
|
125
125
|
}
|
|
@@ -527,7 +527,7 @@ _ChatListManager_c = new WeakMap(), _ChatListManager_chats = new WeakMap(), _Cha
|
|
|
527
527
|
fullChat = (await __classPrivateFieldGet(this, _ChatListManager_c, "f").invoke({ _: "channels.getFullChannel", channel: (0, _0_utilities_js_1.toInputChannel)(inputPeer) })).full_chat;
|
|
528
528
|
}
|
|
529
529
|
await __classPrivateFieldGet(this, _ChatListManager_c, "f").storage.setFullChat(chatId_, fullChat);
|
|
530
|
-
if (fullChat != null && "call" in fullChat && fullChat.call) {
|
|
530
|
+
if (fullChat != null && "call" in fullChat && _2_tl_js_1.Api.is("inputGroupCall", fullChat.call)) {
|
|
531
531
|
await __classPrivateFieldGet(this, _ChatListManager_c, "f").storage.setGroupCallAccessHash(fullChat.call.id, fullChat.call.access_hash);
|
|
532
532
|
}
|
|
533
533
|
return fullChat;
|
|
@@ -53,8 +53,8 @@ export declare class ChatManager implements UpdateProcessor<ChatManagerUpdate> {
|
|
|
53
53
|
disableJoinRequests(chatId: ID): Promise<void>;
|
|
54
54
|
setChatStickerSet(chatId: ID, setName: string): Promise<void>;
|
|
55
55
|
deleteChatStickerSet(chatId: ID): Promise<void>;
|
|
56
|
-
deleteChatPhoto(chatId:
|
|
57
|
-
setChatPhoto(chatId:
|
|
56
|
+
deleteChatPhoto(chatId: ID): Promise<void>;
|
|
57
|
+
setChatPhoto(chatId: ID, photo: FileSource, params?: SetChatPhotoParams): Promise<void>;
|
|
58
58
|
addChatMember(chatId: ID, userId: ID, params?: AddChatMemberParams): Promise<import("../3_types.js").FailedInvitation[]>;
|
|
59
59
|
addChatMembers(chatId: ID, userIds: ID[]): Promise<import("../3_types.js").FailedInvitation[]>;
|
|
60
60
|
disableSlowMode(chatId: ID): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4_chat_manager.d.ts","sourceRoot":"","sources":["../../src/client/4_chat_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,KAAK,EAAoH,gBAAgB,EAA6B,MAAM,eAAe,CAAC;AACrM,OAAO,EAA8B,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAsB,MAAM,EAAE,MAAM,eAAe,CAAC;AACjH,OAAO,EAA8E,mBAAmB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAE3U,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE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M,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM;CAYrE"}
|
|
@@ -851,7 +851,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
|
|
|
851
851
|
* @param chatId The identifier of the chat that includes the messages.
|
|
852
852
|
* @param untilMessageId The identifier of a message that will be marked as read, along with any other unread messages before it.
|
|
853
853
|
*/
|
|
854
|
-
readMessages(chatId:
|
|
854
|
+
readMessages(chatId: ID, untilMessageId: number): Promise<void>;
|
|
855
855
|
/**
|
|
856
856
|
* Start a bot. User-only.
|
|
857
857
|
*
|
|
@@ -940,14 +940,14 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
|
|
|
940
940
|
* @param chatId The identifier of the chat.
|
|
941
941
|
* @param photo A photo to set as the chat's photo.
|
|
942
942
|
*/
|
|
943
|
-
setChatPhoto(chatId:
|
|
943
|
+
setChatPhoto(chatId: ID, photo: FileSource, params?: SetChatPhotoParams): Promise<void>;
|
|
944
944
|
/**
|
|
945
945
|
* Delete a chat's photo.
|
|
946
946
|
*
|
|
947
947
|
* @method ch
|
|
948
948
|
* @param chatId The identifier of the chat.
|
|
949
949
|
*/
|
|
950
|
-
deleteChatPhoto(chatId:
|
|
950
|
+
deleteChatPhoto(chatId: ID): Promise<void>;
|
|
951
951
|
/**
|
|
952
952
|
* Ban a member from a chat.
|
|
953
953
|
*
|
|
@@ -1494,7 +1494,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
|
|
|
1494
1494
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1495
1495
|
* @param reactions The new reactions.
|
|
1496
1496
|
*/
|
|
1497
|
-
setReactions(chatId:
|
|
1497
|
+
setReactions(chatId: ID, messageId: number, reactions: Reaction[], params?: SetReactionsParams): Promise<void>;
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Make a reaction to a message.
|
|
1500
1500
|
*
|
|
@@ -1503,7 +1503,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
|
|
|
1503
1503
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1504
1504
|
* @param reaction The reaction to add.
|
|
1505
1505
|
*/
|
|
1506
|
-
addReaction(chatId:
|
|
1506
|
+
addReaction(chatId: ID, messageId: number, reaction: Reaction, params?: AddReactionParams): Promise<void>;
|
|
1507
1507
|
/**
|
|
1508
1508
|
* Undo a reaction made to a message.
|
|
1509
1509
|
*
|
|
@@ -1512,7 +1512,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
|
|
|
1512
1512
|
* @param messageId The identifier of the message which the reaction was made to.
|
|
1513
1513
|
* @param reaction The reaction to remove.
|
|
1514
1514
|
*/
|
|
1515
|
-
removeReaction(chatId:
|
|
1515
|
+
removeReaction(chatId: ID, messageId: number, reaction: Reaction): Promise<void>;
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Create a story. User-only.
|
|
1518
1518
|
*
|