@mtkruto/node 0.1.708 → 0.2.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 +7 -5
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +8 -7
- package/esm/2_tl.d.ts +7 -8
- package/esm/2_tl.d.ts.map +1 -1
- package/esm/2_tl.js +7 -8
- package/esm/3_errors.d.ts +519 -515
- package/esm/3_errors.d.ts.map +1 -1
- package/esm/3_errors.js +527 -512
- package/esm/3_transport.d.ts +1 -0
- package/esm/3_transport.d.ts.map +1 -1
- package/esm/3_transport.js +1 -0
- package/esm/4_errors.d.ts +7 -7
- package/esm/4_errors.d.ts.map +1 -1
- package/esm/4_errors.js +5 -5
- package/esm/client/0_client_abstract.d.ts +1 -21
- package/esm/client/0_client_abstract.d.ts.map +1 -1
- package/esm/client/0_client_abstract.js +17 -15
- package/esm/client/0_message.d.ts +3 -3
- package/esm/client/0_message.d.ts.map +1 -1
- package/esm/client/0_message.js +4 -20
- package/esm/client/0_params.d.ts +1 -3
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_password.d.ts +2 -2
- package/esm/client/0_password.d.ts.map +1 -1
- package/esm/client/0_password.js +3 -8
- package/esm/client/0_storage_operations.d.ts +23 -23
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_storage_operations.js +13 -12
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/0_utilities.js +13 -10
- package/esm/client/1_client_encrypted.d.ts +3 -5
- package/esm/client/1_client_encrypted.d.ts.map +1 -1
- package/esm/client/1_client_encrypted.js +51 -35
- package/esm/client/1_client_plain.d.ts +2 -2
- package/esm/client/1_client_plain.d.ts.map +1 -1
- package/esm/client/1_client_plain.js +27 -19
- package/esm/client/1_types.d.ts +9 -22
- package/esm/client/1_types.d.ts.map +1 -1
- package/esm/client/2_account_manager.d.ts +2 -2
- package/esm/client/2_account_manager.js +16 -16
- package/esm/client/2_bot_info_manager.d.ts.map +1 -1
- package/esm/client/2_bot_info_manager.js +7 -6
- package/esm/client/2_business_connection_manager.d.ts +3 -3
- package/esm/client/2_business_connection_manager.d.ts.map +1 -1
- package/esm/client/2_business_connection_manager.js +6 -5
- package/esm/client/2_file_manager.d.ts +5 -4
- package/esm/client/2_file_manager.d.ts.map +1 -1
- package/esm/client/2_file_manager.js +40 -23
- package/esm/client/2_reaction_manager.d.ts +3 -3
- package/esm/client/2_reaction_manager.d.ts.map +1 -1
- package/esm/client/2_reaction_manager.js +16 -10
- package/esm/client/2_update_manager.d.ts +11 -11
- package/esm/client/2_update_manager.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +162 -160
- package/esm/client/3_message_manager.d.ts +11 -12
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +205 -474
- package/esm/client/3_video_chat_manager.d.ts +3 -3
- package/esm/client/3_video_chat_manager.d.ts.map +1 -1
- package/esm/client/3_video_chat_manager.js +26 -36
- package/esm/client/4_callback_query_manager.d.ts +3 -3
- package/esm/client/4_callback_query_manager.d.ts.map +1 -1
- package/esm/client/4_callback_query_manager.js +5 -16
- package/esm/client/4_chat_list_manager.d.ts +5 -4
- package/esm/client/4_chat_list_manager.d.ts.map +1 -1
- package/esm/client/4_chat_list_manager.js +56 -34
- package/esm/client/4_inline_query_manager.d.ts +3 -3
- package/esm/client/4_inline_query_manager.d.ts.map +1 -1
- package/esm/client/4_inline_query_manager.js +6 -15
- package/esm/client/4_story_manager.d.ts +3 -3
- package/esm/client/4_story_manager.d.ts.map +1 -1
- package/esm/client/4_story_manager.js +15 -32
- package/esm/client/5_client.d.ts +10 -12
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +68 -117
- package/esm/connection/1_connection_tcp.d.ts +34 -0
- package/esm/connection/1_connection_tcp.d.ts.map +1 -0
- package/esm/connection/1_connection_tcp.js +169 -0
- package/esm/connection/1_connection_web_socket.d.ts +1 -2
- package/esm/connection/1_connection_web_socket.d.ts.map +1 -1
- package/esm/connection/1_connection_web_socket.js +47 -65
- package/esm/deps/deno.land/std@0.224.0/assert/_constants.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_almost_equals.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_array_includes.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_array_includes.js +41 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_equals.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_equals.js +47 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_exists.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_false.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_greater.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_greater.js +24 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_greater_or_equal.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_greater_or_equal.js +24 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_instance_of.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_is_error.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_less.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_less.js +23 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_less_or_equal.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_less_or_equal.js +24 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_match.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_not_equals.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_not_instance_of.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_not_match.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_not_strict_equals.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_not_strict_equals.js +23 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_object_match.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_rejects.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_strict_equals.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_strict_equals.js +55 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_string_includes.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assert_throws.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/assertion_error.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/equal.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/fail.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/mod.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/unimplemented.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/assert/unreachable.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/bytes/concat.d.ts +18 -0
- package/esm/deps/deno.land/std@0.224.0/bytes/concat.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/bytes/concat.js +31 -0
- package/esm/deps/deno.land/std@0.224.0/encoding/_util.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/encoding/base64.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/fmt/colors.d.ts +286 -0
- package/esm/deps/deno.land/std@0.224.0/fmt/colors.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/fmt/colors.js +489 -0
- package/esm/deps/deno.land/std@0.224.0/internal/diff.d.ts +28 -0
- package/esm/deps/deno.land/std@0.224.0/internal/diff.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/internal/format.d.ts +2 -0
- package/esm/deps/deno.land/std@0.224.0/internal/format.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/internal/format.js +24 -0
- package/esm/deps/deno.land/std@0.224.0/internal/mod.d.ts +10 -0
- package/esm/deps/deno.land/std@0.224.0/internal/mod.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/internal/mod.js +11 -0
- package/esm/deps/deno.land/std@0.224.0/io/_constants.d.ts +3 -0
- package/esm/deps/deno.land/std@0.224.0/io/_constants.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/io/_constants.js +4 -0
- package/esm/deps/deno.land/std@0.224.0/io/iterate_reader.d.ts +70 -0
- package/esm/deps/deno.land/std@0.224.0/io/iterate_reader.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/io/iterate_reader.js +86 -0
- package/esm/deps/deno.land/std@0.224.0/io/types.d.ts +95 -0
- package/esm/deps/deno.land/std@0.224.0/io/types.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/io/write_all.d.ts +39 -0
- package/esm/deps/deno.land/std@0.224.0/io/write_all.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/io/write_all.js +49 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/_db.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/_util.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/content_type.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/extension.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/extensions_by_type.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/format_media_type.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/get_charset.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/parse_media_type.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/type_by_extension.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/media_types/vendor/mime-db.v1.52.0.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/basename.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/common.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/constants.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/dirname.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/format.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/normalize.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/relative.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_interface.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/_interface.js +3 -0
- package/esm/deps/deno.land/std@0.224.0/path/_os.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/basename.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/common.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/constants.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/dirname.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/extname.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/format.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/from_file_url.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/is_absolute.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/is_glob.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/join.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/join_globs.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/mod.d.ts +57 -0
- package/esm/deps/deno.land/std@0.224.0/path/mod.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/mod.js +60 -0
- package/esm/deps/deno.land/std@0.224.0/path/normalize.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/normalize_glob.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/parse.d.ts +20 -0
- package/esm/deps/deno.land/std@0.224.0/path/parse.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/_util.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/basename.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/common.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/constants.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/dirname.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/extname.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/format.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/is_glob.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/join.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/mod.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/normalize.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/parse.d.ts +8 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/parse.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/relative.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/resolve.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/relative.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/resolve.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/to_file_url.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/_util.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/basename.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/common.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/constants.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/dirname.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/extname.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/format.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/is_glob.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/join.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/mod.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/normalize.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/parse.d.ts +8 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/parse.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/relative.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/resolve.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/deno.land/std@0.224.0/path/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts +45 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts.map +1 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.js +253 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts +3 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts.map +1 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.js +1 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts +3 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts.map +1 -0
- package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +13 -0
- package/esm/mod.d.ts +0 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +0 -1
- package/esm/tl/0_api.d.ts +14813 -0
- package/esm/tl/0_api.d.ts.map +1 -0
- package/esm/tl/0_api.js +23222 -0
- package/esm/tl/1_utilities.d.ts +32 -0
- package/esm/tl/1_utilities.d.ts.map +1 -0
- package/esm/tl/1_utilities.js +65 -0
- package/esm/tl/1_utilities_test.d.ts.map +1 -0
- package/esm/tl/2_deserialize.d.ts +23 -0
- package/esm/tl/2_deserialize.d.ts.map +1 -0
- package/esm/tl/2_deserialize.js +95 -0
- package/esm/tl/2_serialize.d.ts +22 -0
- package/esm/tl/2_serialize.d.ts.map +1 -0
- package/esm/tl/2_serialize.js +160 -0
- package/esm/tl/2_serialize_test.d.ts.map +1 -0
- package/esm/tl/3_tl_reader.d.ts +26 -0
- package/esm/tl/3_tl_reader.d.ts.map +1 -0
- package/esm/tl/3_tl_reader.js +49 -0
- package/esm/tl/3_utilities.d.ts +5 -5
- package/esm/tl/3_utilities.d.ts.map +1 -1
- package/esm/tl/3_utilities.js +9 -10
- package/esm/tl/4_rpc_result.d.ts +27 -0
- package/esm/tl/4_rpc_result.d.ts.map +1 -0
- package/esm/tl/4_rpc_result.js +28 -0
- package/esm/tl/4_tl_writer.d.ts +25 -0
- package/esm/tl/4_tl_writer.d.ts.map +1 -0
- package/esm/tl/4_tl_writer.js +45 -0
- package/esm/tl/5_message.d.ts +39 -0
- package/esm/tl/5_message.d.ts.map +1 -0
- package/esm/tl/5_message.js +98 -0
- package/esm/tl/5_message_test.d.ts.map +1 -0
- package/esm/transport/3_transport_provider_tcp.d.ts +14 -0
- package/esm/transport/3_transport_provider_tcp.d.ts.map +1 -0
- package/esm/transport/3_transport_provider_tcp.js +15 -0
- package/esm/types/0_birthday.d.ts +2 -2
- package/esm/types/0_birthday.d.ts.map +1 -1
- package/esm/types/0_callback_query_answer.d.ts +2 -2
- package/esm/types/0_callback_query_answer.d.ts.map +1 -1
- package/esm/types/0_callback_query_question.d.ts +3 -0
- package/esm/types/0_callback_query_question.d.ts.map +1 -1
- package/esm/types/0_chat_administrator_rights.d.ts +3 -3
- package/esm/types/0_chat_administrator_rights.d.ts.map +1 -1
- package/esm/types/0_chat_administrator_rights.js +1 -11
- package/esm/types/0_chat_member_rights.d.ts +3 -3
- package/esm/types/0_chat_member_rights.d.ts.map +1 -1
- package/esm/types/0_chat_member_rights.js +3 -3
- package/esm/types/0_chat_photo.d.ts +5 -13
- package/esm/types/0_chat_photo.d.ts.map +1 -1
- package/esm/types/0_chat_photo.js +4 -3
- package/esm/types/0_contact.d.ts +2 -2
- package/esm/types/0_contact.d.ts.map +1 -1
- package/esm/types/0_dice.d.ts +2 -2
- package/esm/types/0_dice.d.ts.map +1 -1
- package/esm/types/0_giveaway_parameters.d.ts +2 -2
- package/esm/types/0_giveaway_parameters.d.ts.map +1 -1
- package/esm/types/0_giveaway_parameters.js +3 -3
- package/esm/types/0_link_preview.d.ts +2 -2
- package/esm/types/0_link_preview.d.ts.map +1 -1
- package/esm/types/0_live_stream_channel.d.ts +2 -2
- package/esm/types/0_live_stream_channel.d.ts.map +1 -1
- package/esm/types/0_location.d.ts +2 -2
- package/esm/types/0_location.d.ts.map +1 -1
- package/esm/types/0_location.js +5 -5
- package/esm/types/0_mask_position.d.ts +2 -2
- package/esm/types/0_mask_position.d.ts.map +1 -1
- package/esm/types/0_message_entity.d.ts +22 -3
- package/esm/types/0_message_entity.d.ts.map +1 -1
- package/esm/types/0_message_entity.js +42 -42
- package/esm/types/0_message_search_filter.d.ts +2 -2
- package/esm/types/0_message_search_filter.d.ts.map +1 -1
- package/esm/types/0_message_search_filter.js +14 -15
- package/esm/types/0_opening_hours.d.ts +2 -2
- package/esm/types/0_opening_hours.d.ts.map +1 -1
- package/esm/types/0_poll_option.d.ts +2 -2
- package/esm/types/0_poll_option.d.ts.map +1 -1
- package/esm/types/0_reaction.d.ts +3 -3
- package/esm/types/0_reaction.d.ts.map +1 -1
- package/esm/types/0_reaction.js +4 -4
- package/esm/types/0_restriction_reason.d.ts +2 -2
- package/esm/types/0_restriction_reason.d.ts.map +1 -1
- package/esm/types/0_thumbnail.d.ts +2 -2
- package/esm/types/0_thumbnail.d.ts.map +1 -1
- package/esm/types/0_thumbnail.js +3 -3
- package/esm/types/0_video_chat.d.ts +5 -2
- package/esm/types/0_video_chat.d.ts.map +1 -1
- package/esm/types/0_video_chat.js +5 -2
- package/esm/types/0_voice.d.ts +2 -2
- package/esm/types/0_voice.d.ts.map +1 -1
- package/esm/types/1_animation.d.ts +2 -2
- package/esm/types/1_animation.d.ts.map +1 -1
- package/esm/types/1_animation.js +2 -2
- package/esm/types/1_audio.d.ts +2 -2
- package/esm/types/1_audio.d.ts.map +1 -1
- package/esm/types/1_audio.js +2 -2
- package/esm/types/1_bot_command_scope.d.ts +9 -2
- package/esm/types/1_bot_command_scope.d.ts.map +1 -1
- package/esm/types/1_bot_command_scope.js +9 -9
- package/esm/types/1_chat_p.d.ts +9 -5
- package/esm/types/1_chat_p.d.ts.map +1 -1
- package/esm/types/1_chat_p.js +6 -6
- package/esm/types/1_document.d.ts +2 -2
- package/esm/types/1_document.d.ts.map +1 -1
- package/esm/types/1_document.js +2 -2
- package/esm/types/1_giveaway.d.ts +2 -2
- package/esm/types/1_giveaway.d.ts.map +1 -1
- package/esm/types/1_input_story_content.d.ts +2 -0
- package/esm/types/1_input_story_content.d.ts.map +1 -1
- package/esm/types/1_keyboard_button.d.ts +3 -3
- package/esm/types/1_keyboard_button.d.ts.map +1 -1
- package/esm/types/1_keyboard_button.js +18 -45
- package/esm/types/1_message_content.d.ts +6 -1
- package/esm/types/1_message_content.d.ts.map +1 -1
- package/esm/types/1_message_reaction.d.ts +2 -2
- package/esm/types/1_message_reaction.d.ts.map +1 -1
- package/esm/types/1_message_reaction.js +5 -5
- package/esm/types/1_photo.d.ts +5 -5
- package/esm/types/1_photo.d.ts.map +1 -1
- package/esm/types/1_photo.js +4 -4
- package/esm/types/1_poll.d.ts +2 -2
- package/esm/types/1_poll.d.ts.map +1 -1
- package/esm/types/1_reaction_count.d.ts +2 -2
- package/esm/types/1_reaction_count.d.ts.map +1 -1
- package/esm/types/1_reply_quote.d.ts +2 -2
- package/esm/types/1_reply_quote.d.ts.map +1 -1
- package/esm/types/1_sticker.d.ts +3 -3
- package/esm/types/1_sticker.d.ts.map +1 -1
- package/esm/types/1_sticker.js +9 -9
- package/esm/types/1_story_privacy.d.ts +7 -3
- package/esm/types/1_story_privacy.d.ts.map +1 -1
- package/esm/types/1_story_privacy.js +14 -14
- package/esm/types/1_story_reaction.d.ts +2 -2
- package/esm/types/1_story_reaction.d.ts.map +1 -1
- package/esm/types/1_user.d.ts +4 -4
- package/esm/types/1_user.d.ts.map +1 -1
- package/esm/types/1_user.js +2 -2
- package/esm/types/1_venue.d.ts +2 -2
- package/esm/types/1_venue.d.ts.map +1 -1
- package/esm/types/1_venue.js +2 -2
- package/esm/types/1_video.d.ts +2 -2
- package/esm/types/1_video.d.ts.map +1 -1
- package/esm/types/1_video.js +2 -2
- package/esm/types/1_video_note.d.ts +2 -2
- package/esm/types/1_video_note.d.ts.map +1 -1
- package/esm/types/1_video_note.js +2 -2
- package/esm/types/2_business_connection.d.ts +2 -2
- package/esm/types/2_business_connection.d.ts.map +1 -1
- package/esm/types/2_business_connection.js +1 -2
- package/esm/types/2_chat.d.ts +2 -2
- package/esm/types/2_chat.d.ts.map +1 -1
- package/esm/types/2_chat.js +11 -11
- package/esm/types/2_chat_member.d.ts +9 -9
- package/esm/types/2_chat_member.d.ts.map +1 -1
- package/esm/types/2_chat_member.js +10 -10
- package/esm/types/2_chosen_inline_result.d.ts +2 -2
- package/esm/types/2_chosen_inline_result.d.ts.map +1 -1
- package/esm/types/2_chosen_inline_result.js +5 -5
- package/esm/types/2_game.d.ts +2 -2
- package/esm/types/2_game.d.ts.map +1 -1
- package/esm/types/2_game.js +4 -4
- package/esm/types/2_inactive_chat.d.ts +2 -2
- package/esm/types/2_inactive_chat.d.ts.map +1 -1
- package/esm/types/2_inactive_chat.js +2 -2
- package/esm/types/2_inline_keyboard_button.d.ts +11 -3
- package/esm/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/esm/types/2_inline_keyboard_button.js +15 -21
- package/esm/types/2_inline_query.d.ts +2 -2
- package/esm/types/2_inline_query.d.ts.map +1 -1
- package/esm/types/2_inline_query.js +8 -8
- package/esm/types/2_invite_link.d.ts +2 -2
- package/esm/types/2_invite_link.d.ts.map +1 -1
- package/esm/types/2_invite_link.js +1 -2
- package/esm/types/2_message_reaction_count.d.ts +2 -2
- package/esm/types/2_message_reaction_count.d.ts.map +1 -1
- package/esm/types/2_message_reactions.d.ts +2 -2
- package/esm/types/2_message_reactions.d.ts.map +1 -1
- package/esm/types/2_message_reactions.js +2 -2
- package/esm/types/2_story_content.d.ts +5 -2
- package/esm/types/2_story_content.d.ts.map +1 -1
- package/esm/types/2_story_content.js +6 -6
- package/esm/types/2_story_interactions.d.ts +2 -2
- package/esm/types/2_story_interactions.d.ts.map +1 -1
- package/esm/types/2_story_interactive_area.d.ts +3 -3
- package/esm/types/2_story_interactive_area.d.ts.map +1 -1
- package/esm/types/2_story_interactive_area.js +19 -29
- package/esm/types/3_chat_member_updated.d.ts +2 -2
- package/esm/types/3_chat_member_updated.d.ts.map +1 -1
- package/esm/types/3_chat_member_updated.js +7 -7
- package/esm/types/3_reply_markup.d.ts +13 -5
- package/esm/types/3_reply_markup.d.ts.map +1 -1
- package/esm/types/3_reply_markup.js +12 -22
- package/esm/types/3_story.d.ts +2 -2
- package/esm/types/3_story.d.ts.map +1 -1
- package/esm/types/4_inline_query_result.d.ts +38 -5
- package/esm/types/4_inline_query_result.d.ts.map +1 -1
- package/esm/types/4_inline_query_result.js +59 -165
- package/esm/types/4_message.d.ts +118 -28
- package/esm/types/4_message.d.ts.map +1 -1
- package/esm/types/4_message.js +69 -60
- package/esm/types/5_callback_query.d.ts +3 -3
- package/esm/types/5_callback_query.d.ts.map +1 -1
- package/esm/types/5_callback_query.js +5 -5
- package/esm/types/5_chat_list_item.d.ts +3 -3
- package/esm/types/5_chat_list_item.d.ts.map +1 -1
- package/esm/types/5_chat_list_item.js +2 -2
- package/esm/types/5_inline_query_answer.d.ts +2 -2
- package/esm/types/5_inline_query_answer.d.ts.map +1 -1
- package/esm/types/6_update.d.ts +55 -12
- package/esm/types/6_update.d.ts.map +1 -1
- package/esm/types/_file_id.d.ts +2 -2
- package/esm/types/_file_id.d.ts.map +1 -1
- package/esm/types/_file_id.js +4 -4
- package/esm/types/_getters.d.ts +7 -7
- package/esm/types/_getters.d.ts.map +1 -1
- package/esm/utilities/1_misc.d.ts +1 -1
- package/esm/utilities/1_misc.d.ts.map +1 -1
- package/esm/utilities/1_misc.js +4 -2
- package/package.json +1 -1
- package/script/0_deps.d.ts +7 -5
- package/script/0_deps.d.ts.map +1 -1
- package/script/0_deps.js +11 -8
- package/script/2_tl.d.ts +7 -8
- package/script/2_tl.d.ts.map +1 -1
- package/script/2_tl.js +20 -11
- package/script/3_errors.d.ts +519 -515
- package/script/3_errors.d.ts.map +1 -1
- package/script/3_errors.js +543 -514
- package/script/3_transport.d.ts +1 -0
- package/script/3_transport.d.ts.map +1 -1
- package/script/3_transport.js +1 -0
- package/script/4_errors.d.ts +7 -7
- package/script/4_errors.d.ts.map +1 -1
- package/script/4_errors.js +6 -6
- package/script/client/0_client_abstract.d.ts +1 -21
- package/script/client/0_client_abstract.d.ts.map +1 -1
- package/script/client/0_client_abstract.js +41 -16
- package/script/client/0_message.d.ts +3 -3
- package/script/client/0_message.d.ts.map +1 -1
- package/script/client/0_message.js +3 -19
- package/script/client/0_params.d.ts +1 -3
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_password.d.ts +2 -2
- package/script/client/0_password.d.ts.map +1 -1
- package/script/client/0_password.js +2 -7
- package/script/client/0_storage_operations.d.ts +23 -23
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_storage_operations.js +12 -11
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +12 -9
- package/script/client/1_client_encrypted.d.ts +3 -5
- package/script/client/1_client_encrypted.d.ts.map +1 -1
- package/script/client/1_client_encrypted.js +49 -33
- package/script/client/1_client_plain.d.ts +2 -2
- package/script/client/1_client_plain.d.ts.map +1 -1
- package/script/client/1_client_plain.js +25 -17
- package/script/client/1_types.d.ts +9 -22
- package/script/client/1_types.d.ts.map +1 -1
- package/script/client/2_account_manager.d.ts +2 -2
- package/script/client/2_account_manager.js +15 -15
- package/script/client/2_bot_info_manager.d.ts.map +1 -1
- package/script/client/2_bot_info_manager.js +7 -6
- package/script/client/2_business_connection_manager.d.ts +3 -3
- package/script/client/2_business_connection_manager.d.ts.map +1 -1
- package/script/client/2_business_connection_manager.js +5 -4
- package/script/client/2_file_manager.d.ts +5 -4
- package/script/client/2_file_manager.d.ts.map +1 -1
- package/script/client/2_file_manager.js +39 -22
- package/script/client/2_reaction_manager.d.ts +3 -3
- package/script/client/2_reaction_manager.d.ts.map +1 -1
- package/script/client/2_reaction_manager.js +15 -9
- package/script/client/2_update_manager.d.ts +11 -11
- package/script/client/2_update_manager.d.ts.map +1 -1
- package/script/client/2_update_manager.js +161 -159
- package/script/client/3_message_manager.d.ts +11 -12
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +204 -473
- package/script/client/3_video_chat_manager.d.ts +3 -3
- package/script/client/3_video_chat_manager.d.ts.map +1 -1
- package/script/client/3_video_chat_manager.js +25 -35
- package/script/client/4_callback_query_manager.d.ts +3 -3
- package/script/client/4_callback_query_manager.d.ts.map +1 -1
- package/script/client/4_callback_query_manager.js +4 -15
- package/script/client/4_chat_list_manager.d.ts +5 -4
- package/script/client/4_chat_list_manager.d.ts.map +1 -1
- package/script/client/4_chat_list_manager.js +54 -32
- package/script/client/4_inline_query_manager.d.ts +3 -3
- package/script/client/4_inline_query_manager.d.ts.map +1 -1
- package/script/client/4_inline_query_manager.js +5 -14
- package/script/client/4_story_manager.d.ts +3 -3
- package/script/client/4_story_manager.d.ts.map +1 -1
- package/script/client/4_story_manager.js +14 -31
- package/script/client/5_client.d.ts +10 -12
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +67 -116
- package/script/connection/1_connection_tcp.d.ts +34 -0
- package/script/connection/1_connection_tcp.d.ts.map +1 -0
- package/script/connection/1_connection_tcp.js +196 -0
- package/script/connection/1_connection_web_socket.d.ts +1 -2
- package/script/connection/1_connection_web_socket.d.ts.map +1 -1
- package/script/connection/1_connection_web_socket.js +47 -65
- package/script/deps/deno.land/std@0.224.0/assert/_constants.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_almost_equals.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_array_includes.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_array_includes.js +45 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_equals.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_equals.js +51 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_exists.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_false.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_greater.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_greater.js +28 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_greater_or_equal.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_greater_or_equal.js +28 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_instance_of.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_is_error.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_less.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_less.js +27 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_less_or_equal.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_less_or_equal.js +28 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_match.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_not_equals.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_not_instance_of.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_not_match.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_not_strict_equals.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_not_strict_equals.js +27 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_object_match.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_rejects.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_strict_equals.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_strict_equals.js +59 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_string_includes.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assert_throws.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/assertion_error.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/equal.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/fail.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/mod.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/unimplemented.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/assert/unreachable.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/bytes/concat.d.ts +18 -0
- package/script/deps/deno.land/std@0.224.0/bytes/concat.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/bytes/concat.js +35 -0
- package/script/deps/deno.land/std@0.224.0/encoding/_util.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/encoding/base64.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/fmt/colors.d.ts +286 -0
- package/script/deps/deno.land/std@0.224.0/fmt/colors.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/fmt/colors.js +564 -0
- package/script/deps/deno.land/std@0.224.0/internal/diff.d.ts +28 -0
- package/script/deps/deno.land/std@0.224.0/internal/diff.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/internal/format.d.ts +2 -0
- package/script/deps/deno.land/std@0.224.0/internal/format.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/internal/format.js +51 -0
- package/script/deps/deno.land/std@0.224.0/internal/mod.d.ts +10 -0
- package/script/deps/deno.land/std@0.224.0/internal/mod.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/internal/mod.js +27 -0
- package/script/deps/deno.land/std@0.224.0/io/_constants.d.ts +3 -0
- package/script/deps/deno.land/std@0.224.0/io/_constants.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/io/_constants.js +7 -0
- package/script/deps/deno.land/std@0.224.0/io/iterate_reader.d.ts +70 -0
- package/script/deps/deno.land/std@0.224.0/io/iterate_reader.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/io/iterate_reader.js +91 -0
- package/script/deps/deno.land/std@0.224.0/io/types.d.ts +95 -0
- package/script/deps/deno.land/std@0.224.0/io/types.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/io/write_all.d.ts +39 -0
- package/script/deps/deno.land/std@0.224.0/io/write_all.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/io/write_all.js +54 -0
- package/script/deps/deno.land/std@0.224.0/media_types/_db.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/_util.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/content_type.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/extension.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/extensions_by_type.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/format_media_type.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/get_charset.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/parse_media_type.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/type_by_extension.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/media_types/vendor/mime-db.v1.52.0.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/assert_path.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/basename.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/common.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/constants.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/dirname.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/format.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/normalize.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/relative.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/strip_trailing_separators.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_common/to_file_url.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_interface.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/_interface.js +4 -0
- package/script/deps/deno.land/std@0.224.0/path/_os.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/basename.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/common.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/constants.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/dirname.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/extname.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/format.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/from_file_url.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/is_absolute.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/is_glob.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/join.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/join_globs.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/mod.d.ts +57 -0
- package/script/deps/deno.land/std@0.224.0/path/mod.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/mod.js +89 -0
- package/script/deps/deno.land/std@0.224.0/path/normalize.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/normalize_glob.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/parse.d.ts +20 -0
- package/script/deps/deno.land/std@0.224.0/path/parse.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/_util.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/basename.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/common.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/constants.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/dirname.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/extname.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/format.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/is_absolute.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/is_glob.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/join.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/join_globs.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/mod.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/normalize.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/normalize_glob.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/parse.d.ts +8 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/parse.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/relative.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/resolve.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/to_file_url.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/posix/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/relative.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/resolve.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/to_file_url.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/_util.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/basename.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/common.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/constants.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/dirname.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/extname.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/format.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/is_absolute.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/is_glob.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/join.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/join_globs.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/mod.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/normalize.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/normalize_glob.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/parse.d.ts +8 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/parse.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/relative.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/resolve.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/to_file_url.d.ts.map +1 -0
- package/script/deps/deno.land/std@0.224.0/path/windows/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts +45 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts.map +1 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.js +280 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts +3 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts.map +1 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.js +5 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts +3 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts.map +1 -0
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +40 -0
- package/script/mod.d.ts +0 -1
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +0 -1
- package/script/tl/0_api.d.ts +14813 -0
- package/script/tl/0_api.d.ts.map +1 -0
- package/script/tl/0_api.js +23248 -0
- package/script/tl/1_utilities.d.ts +32 -0
- package/script/tl/1_utilities.d.ts.map +1 -0
- package/script/tl/1_utilities.js +76 -0
- package/script/tl/1_utilities_test.d.ts.map +1 -0
- package/script/tl/2_deserialize.d.ts +23 -0
- package/script/tl/2_deserialize.d.ts.map +1 -0
- package/script/tl/2_deserialize.js +99 -0
- package/script/tl/2_serialize.d.ts +22 -0
- package/script/tl/2_serialize.d.ts.map +1 -0
- package/script/tl/2_serialize.js +164 -0
- package/script/tl/2_serialize_test.d.ts.map +1 -0
- package/script/tl/3_tl_reader.d.ts +26 -0
- package/script/tl/3_tl_reader.d.ts.map +1 -0
- package/script/tl/3_tl_reader.js +53 -0
- package/script/tl/3_utilities.d.ts +5 -5
- package/script/tl/3_utilities.d.ts.map +1 -1
- package/script/tl/3_utilities.js +9 -10
- package/script/tl/4_rpc_result.d.ts +27 -0
- package/script/tl/4_rpc_result.d.ts.map +1 -0
- package/script/tl/4_rpc_result.js +32 -0
- package/script/tl/4_tl_writer.d.ts +25 -0
- package/script/tl/4_tl_writer.d.ts.map +1 -0
- package/script/tl/4_tl_writer.js +49 -0
- package/script/tl/5_message.d.ts +39 -0
- package/script/tl/5_message.d.ts.map +1 -0
- package/script/tl/5_message.js +106 -0
- package/script/tl/5_message_test.d.ts.map +1 -0
- package/script/transport/3_transport_provider_tcp.d.ts +14 -0
- package/script/transport/3_transport_provider_tcp.d.ts.map +1 -0
- package/script/transport/3_transport_provider_tcp.js +19 -0
- package/script/types/0_birthday.d.ts +2 -2
- package/script/types/0_birthday.d.ts.map +1 -1
- package/script/types/0_callback_query_answer.d.ts +2 -2
- package/script/types/0_callback_query_answer.d.ts.map +1 -1
- package/script/types/0_callback_query_question.d.ts +3 -0
- package/script/types/0_callback_query_question.d.ts.map +1 -1
- package/script/types/0_chat_administrator_rights.d.ts +3 -3
- package/script/types/0_chat_administrator_rights.d.ts.map +1 -1
- package/script/types/0_chat_administrator_rights.js +1 -11
- package/script/types/0_chat_member_rights.d.ts +3 -3
- package/script/types/0_chat_member_rights.d.ts.map +1 -1
- package/script/types/0_chat_member_rights.js +3 -3
- package/script/types/0_chat_photo.d.ts +5 -13
- package/script/types/0_chat_photo.d.ts.map +1 -1
- package/script/types/0_chat_photo.js +3 -2
- package/script/types/0_contact.d.ts +2 -2
- package/script/types/0_contact.d.ts.map +1 -1
- package/script/types/0_dice.d.ts +2 -2
- package/script/types/0_dice.d.ts.map +1 -1
- package/script/types/0_giveaway_parameters.d.ts +2 -2
- package/script/types/0_giveaway_parameters.d.ts.map +1 -1
- package/script/types/0_giveaway_parameters.js +2 -2
- package/script/types/0_link_preview.d.ts +2 -2
- package/script/types/0_link_preview.d.ts.map +1 -1
- package/script/types/0_live_stream_channel.d.ts +2 -2
- package/script/types/0_live_stream_channel.d.ts.map +1 -1
- package/script/types/0_location.d.ts +2 -2
- package/script/types/0_location.d.ts.map +1 -1
- package/script/types/0_location.js +4 -4
- package/script/types/0_mask_position.d.ts +2 -2
- package/script/types/0_mask_position.d.ts.map +1 -1
- package/script/types/0_message_entity.d.ts +22 -3
- package/script/types/0_message_entity.d.ts.map +1 -1
- package/script/types/0_message_entity.js +41 -41
- package/script/types/0_message_search_filter.d.ts +2 -2
- package/script/types/0_message_search_filter.d.ts.map +1 -1
- package/script/types/0_message_search_filter.js +14 -15
- package/script/types/0_opening_hours.d.ts +2 -2
- package/script/types/0_opening_hours.d.ts.map +1 -1
- package/script/types/0_poll_option.d.ts +2 -2
- package/script/types/0_poll_option.d.ts.map +1 -1
- package/script/types/0_reaction.d.ts +3 -3
- package/script/types/0_reaction.d.ts.map +1 -1
- package/script/types/0_reaction.js +3 -3
- package/script/types/0_restriction_reason.d.ts +2 -2
- package/script/types/0_restriction_reason.d.ts.map +1 -1
- package/script/types/0_thumbnail.d.ts +2 -2
- package/script/types/0_thumbnail.d.ts.map +1 -1
- package/script/types/0_thumbnail.js +2 -2
- package/script/types/0_video_chat.d.ts +5 -2
- package/script/types/0_video_chat.d.ts.map +1 -1
- package/script/types/0_video_chat.js +4 -1
- package/script/types/0_voice.d.ts +2 -2
- package/script/types/0_voice.d.ts.map +1 -1
- package/script/types/1_animation.d.ts +2 -2
- package/script/types/1_animation.d.ts.map +1 -1
- package/script/types/1_animation.js +1 -1
- package/script/types/1_audio.d.ts +2 -2
- package/script/types/1_audio.d.ts.map +1 -1
- package/script/types/1_audio.js +1 -1
- package/script/types/1_bot_command_scope.d.ts +9 -2
- package/script/types/1_bot_command_scope.d.ts.map +1 -1
- package/script/types/1_bot_command_scope.js +8 -8
- package/script/types/1_chat_p.d.ts +9 -5
- package/script/types/1_chat_p.d.ts.map +1 -1
- package/script/types/1_chat_p.js +5 -5
- package/script/types/1_document.d.ts +2 -2
- package/script/types/1_document.d.ts.map +1 -1
- package/script/types/1_document.js +1 -1
- package/script/types/1_giveaway.d.ts +2 -2
- package/script/types/1_giveaway.d.ts.map +1 -1
- package/script/types/1_input_story_content.d.ts +2 -0
- package/script/types/1_input_story_content.d.ts.map +1 -1
- package/script/types/1_keyboard_button.d.ts +3 -3
- package/script/types/1_keyboard_button.d.ts.map +1 -1
- package/script/types/1_keyboard_button.js +17 -44
- package/script/types/1_message_content.d.ts +6 -1
- package/script/types/1_message_content.d.ts.map +1 -1
- package/script/types/1_message_reaction.d.ts +2 -2
- package/script/types/1_message_reaction.d.ts.map +1 -1
- package/script/types/1_message_reaction.js +4 -4
- package/script/types/1_photo.d.ts +5 -5
- package/script/types/1_photo.d.ts.map +1 -1
- package/script/types/1_photo.js +3 -3
- package/script/types/1_poll.d.ts +2 -2
- package/script/types/1_poll.d.ts.map +1 -1
- package/script/types/1_reaction_count.d.ts +2 -2
- package/script/types/1_reaction_count.d.ts.map +1 -1
- package/script/types/1_reply_quote.d.ts +2 -2
- package/script/types/1_reply_quote.d.ts.map +1 -1
- package/script/types/1_sticker.d.ts +3 -3
- package/script/types/1_sticker.d.ts.map +1 -1
- package/script/types/1_sticker.js +8 -8
- package/script/types/1_story_privacy.d.ts +7 -3
- package/script/types/1_story_privacy.d.ts.map +1 -1
- package/script/types/1_story_privacy.js +13 -13
- package/script/types/1_story_reaction.d.ts +2 -2
- package/script/types/1_story_reaction.d.ts.map +1 -1
- package/script/types/1_user.d.ts +4 -4
- package/script/types/1_user.d.ts.map +1 -1
- package/script/types/1_user.js +1 -1
- package/script/types/1_venue.d.ts +2 -2
- package/script/types/1_venue.d.ts.map +1 -1
- package/script/types/1_venue.js +1 -1
- package/script/types/1_video.d.ts +2 -2
- package/script/types/1_video.d.ts.map +1 -1
- package/script/types/1_video.js +1 -1
- package/script/types/1_video_note.d.ts +2 -2
- package/script/types/1_video_note.d.ts.map +1 -1
- package/script/types/1_video_note.js +1 -1
- package/script/types/2_business_connection.d.ts +2 -2
- package/script/types/2_business_connection.d.ts.map +1 -1
- package/script/types/2_business_connection.js +1 -2
- package/script/types/2_chat.d.ts +2 -2
- package/script/types/2_chat.d.ts.map +1 -1
- package/script/types/2_chat.js +10 -10
- package/script/types/2_chat_member.d.ts +9 -9
- package/script/types/2_chat_member.d.ts.map +1 -1
- package/script/types/2_chat_member.js +9 -9
- package/script/types/2_chosen_inline_result.d.ts +2 -2
- package/script/types/2_chosen_inline_result.d.ts.map +1 -1
- package/script/types/2_chosen_inline_result.js +4 -4
- package/script/types/2_game.d.ts +2 -2
- package/script/types/2_game.d.ts.map +1 -1
- package/script/types/2_game.js +3 -3
- package/script/types/2_inactive_chat.d.ts +2 -2
- package/script/types/2_inactive_chat.d.ts.map +1 -1
- package/script/types/2_inactive_chat.js +1 -1
- package/script/types/2_inline_keyboard_button.d.ts +11 -3
- package/script/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/script/types/2_inline_keyboard_button.js +14 -20
- package/script/types/2_inline_query.d.ts +2 -2
- package/script/types/2_inline_query.d.ts.map +1 -1
- package/script/types/2_inline_query.js +7 -7
- package/script/types/2_invite_link.d.ts +2 -2
- package/script/types/2_invite_link.d.ts.map +1 -1
- package/script/types/2_invite_link.js +1 -2
- package/script/types/2_message_reaction_count.d.ts +2 -2
- package/script/types/2_message_reaction_count.d.ts.map +1 -1
- package/script/types/2_message_reactions.d.ts +2 -2
- package/script/types/2_message_reactions.d.ts.map +1 -1
- package/script/types/2_message_reactions.js +1 -1
- package/script/types/2_story_content.d.ts +5 -2
- package/script/types/2_story_content.d.ts.map +1 -1
- package/script/types/2_story_content.js +5 -5
- package/script/types/2_story_interactions.d.ts +2 -2
- package/script/types/2_story_interactions.d.ts.map +1 -1
- package/script/types/2_story_interactive_area.d.ts +3 -3
- package/script/types/2_story_interactive_area.d.ts.map +1 -1
- package/script/types/2_story_interactive_area.js +18 -28
- package/script/types/3_chat_member_updated.d.ts +2 -2
- package/script/types/3_chat_member_updated.d.ts.map +1 -1
- package/script/types/3_chat_member_updated.js +6 -6
- package/script/types/3_reply_markup.d.ts +13 -5
- package/script/types/3_reply_markup.d.ts.map +1 -1
- package/script/types/3_reply_markup.js +11 -21
- package/script/types/3_story.d.ts +2 -2
- package/script/types/3_story.d.ts.map +1 -1
- package/script/types/4_inline_query_result.d.ts +38 -5
- package/script/types/4_inline_query_result.d.ts.map +1 -1
- package/script/types/4_inline_query_result.js +58 -164
- package/script/types/4_message.d.ts +118 -28
- package/script/types/4_message.d.ts.map +1 -1
- package/script/types/4_message.js +68 -59
- package/script/types/5_callback_query.d.ts +3 -3
- package/script/types/5_callback_query.d.ts.map +1 -1
- package/script/types/5_callback_query.js +4 -4
- package/script/types/5_chat_list_item.d.ts +3 -3
- package/script/types/5_chat_list_item.d.ts.map +1 -1
- package/script/types/5_chat_list_item.js +1 -1
- package/script/types/5_inline_query_answer.d.ts +2 -2
- package/script/types/5_inline_query_answer.d.ts.map +1 -1
- package/script/types/6_update.d.ts +55 -12
- package/script/types/6_update.d.ts.map +1 -1
- package/script/types/_file_id.d.ts +2 -2
- package/script/types/_file_id.d.ts.map +1 -1
- package/script/types/_file_id.js +3 -3
- package/script/types/_getters.d.ts +7 -7
- package/script/types/_getters.d.ts.map +1 -1
- package/script/utilities/1_misc.d.ts +1 -1
- package/script/utilities/1_misc.d.ts.map +1 -1
- package/script/utilities/1_misc.js +4 -2
- package/esm/deps/deno.land/std@0.223.0/assert/_constants.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/_diff.d.ts +0 -28
- package/esm/deps/deno.land/std@0.223.0/assert/_diff.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/_format.d.ts +0 -2
- package/esm/deps/deno.land/std@0.223.0/assert/_format.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/_format.js +0 -25
- package/esm/deps/deno.land/std@0.223.0/assert/assert.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_almost_equals.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_array_includes.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_array_includes.js +0 -41
- package/esm/deps/deno.land/std@0.223.0/assert/assert_equals.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_equals.js +0 -48
- package/esm/deps/deno.land/std@0.223.0/assert/assert_exists.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_false.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_greater.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_greater.js +0 -24
- package/esm/deps/deno.land/std@0.223.0/assert/assert_greater_or_equal.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_greater_or_equal.js +0 -24
- package/esm/deps/deno.land/std@0.223.0/assert/assert_instance_of.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_is_error.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_less.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_less.js +0 -23
- package/esm/deps/deno.land/std@0.223.0/assert/assert_less_or_equal.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_less_or_equal.js +0 -24
- package/esm/deps/deno.land/std@0.223.0/assert/assert_match.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_not_equals.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_not_instance_of.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_not_match.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_not_strict_equals.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_not_strict_equals.js +0 -23
- package/esm/deps/deno.land/std@0.223.0/assert/assert_object_match.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_rejects.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_strict_equals.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_strict_equals.js +0 -56
- package/esm/deps/deno.land/std@0.223.0/assert/assert_string_includes.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assert_throws.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/assertion_error.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/equal.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/fail.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/mod.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/unimplemented.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/assert/unreachable.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/bytes/concat.d.ts +0 -14
- package/esm/deps/deno.land/std@0.223.0/bytes/concat.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/bytes/concat.js +0 -27
- package/esm/deps/deno.land/std@0.223.0/encoding/_util.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/encoding/base64.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/fmt/colors.d.ts +0 -286
- package/esm/deps/deno.land/std@0.223.0/fmt/colors.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/fmt/colors.js +0 -489
- package/esm/deps/deno.land/std@0.223.0/media_types/_db.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/_util.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/content_type.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/extension.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/extensions_by_type.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/format_media_type.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/get_charset.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/parse_media_type.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/type_by_extension.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/media_types/vendor/mime-db.v1.52.0.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/assert_path.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/basename.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/common.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/constants.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/dirname.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/format.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/from_file_url.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/normalize.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/normalize_string.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/relative.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/strip_trailing_separators.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_common/to_file_url.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_interface.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/_os.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/basename.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/common.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/constants.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/dirname.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/extname.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/format.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/from_file_url.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/is_absolute.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/is_glob.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/join.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/join_globs.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/mod.d.ts +0 -57
- package/esm/deps/deno.land/std@0.223.0/path/mod.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/mod.js +0 -60
- package/esm/deps/deno.land/std@0.223.0/path/normalize.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/normalize_glob.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/parse.d.ts +0 -19
- package/esm/deps/deno.land/std@0.223.0/path/parse.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/_util.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/basename.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/common.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/constants.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/dirname.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/extname.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/format.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/from_file_url.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/is_absolute.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/is_glob.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/join.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/join_globs.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/mod.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/normalize.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/normalize_glob.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/parse.d.ts +0 -7
- package/esm/deps/deno.land/std@0.223.0/path/posix/parse.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/relative.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/resolve.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/to_file_url.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/posix/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/relative.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/resolve.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/to_file_url.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/_util.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/basename.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/common.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/constants.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/dirname.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/extname.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/format.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/from_file_url.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/is_absolute.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/is_glob.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/join.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/join_globs.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/mod.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/normalize.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/normalize_glob.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/parse.d.ts +0 -7
- package/esm/deps/deno.land/std@0.223.0/path/windows/parse.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/relative.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/resolve.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/to_file_url.d.ts.map +0 -1
- package/esm/deps/deno.land/std@0.223.0/path/windows/to_namespaced_path.d.ts.map +0 -1
- package/esm/tl/1_tl_object.d.ts +0 -64
- package/esm/tl/1_tl_object.d.ts.map +0 -1
- package/esm/tl/1_tl_object.js +0 -221
- package/esm/tl/1_tl_object_test.d.ts.map +0 -1
- package/esm/tl/2_types.d.ts +0 -28060
- package/esm/tl/2_types.d.ts.map +0 -1
- package/esm/tl/2_types.js +0 -68685
- package/esm/tl/2_types_test.d.ts.map +0 -1
- package/esm/tl/3_deserialize.d.ts +0 -23
- package/esm/tl/3_deserialize.d.ts.map +0 -1
- package/esm/tl/3_deserialize.js +0 -96
- package/esm/tl/3_functions.d.ts +0 -14094
- package/esm/tl/3_functions.d.ts.map +0 -1
- package/esm/tl/3_functions.js +0 -28475
- package/esm/tl/3_functions_test.d.ts.map +0 -1
- package/esm/tl/4_tl_reader.d.ts +0 -26
- package/esm/tl/4_tl_reader.d.ts.map +0 -1
- package/esm/tl/4_tl_reader.js +0 -49
- package/esm/tl/5_tl_writer.d.ts +0 -25
- package/esm/tl/5_tl_writer.d.ts.map +0 -1
- package/esm/tl/5_tl_writer.js +0 -45
- package/esm/tl/6_rpc_result.d.ts +0 -30
- package/esm/tl/6_rpc_result.d.ts.map +0 -1
- package/esm/tl/6_rpc_result.js +0 -49
- package/esm/tl/7_message.d.ts +0 -32
- package/esm/tl/7_message.d.ts.map +0 -1
- package/esm/tl/7_message.js +0 -90
- package/esm/tl/7_message_test.d.ts.map +0 -1
- package/esm/tl/8_message_container.d.ts +0 -32
- package/esm/tl/8_message_container.d.ts.map +0 -1
- package/esm/tl/8_message_container.js +0 -72
- package/script/deps/deno.land/std@0.223.0/assert/_constants.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/_diff.d.ts +0 -28
- package/script/deps/deno.land/std@0.223.0/assert/_diff.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/_format.d.ts +0 -2
- package/script/deps/deno.land/std@0.223.0/assert/_format.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/_format.js +0 -52
- package/script/deps/deno.land/std@0.223.0/assert/assert.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_almost_equals.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_array_includes.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_array_includes.js +0 -45
- package/script/deps/deno.land/std@0.223.0/assert/assert_equals.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_equals.js +0 -52
- package/script/deps/deno.land/std@0.223.0/assert/assert_exists.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_false.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_greater.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_greater.js +0 -28
- package/script/deps/deno.land/std@0.223.0/assert/assert_greater_or_equal.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_greater_or_equal.js +0 -28
- package/script/deps/deno.land/std@0.223.0/assert/assert_instance_of.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_is_error.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_less.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_less.js +0 -27
- package/script/deps/deno.land/std@0.223.0/assert/assert_less_or_equal.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_less_or_equal.js +0 -28
- package/script/deps/deno.land/std@0.223.0/assert/assert_match.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_not_equals.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_not_instance_of.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_not_match.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_not_strict_equals.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_not_strict_equals.js +0 -27
- package/script/deps/deno.land/std@0.223.0/assert/assert_object_match.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_rejects.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_strict_equals.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_strict_equals.js +0 -60
- package/script/deps/deno.land/std@0.223.0/assert/assert_string_includes.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assert_throws.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/assertion_error.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/equal.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/fail.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/mod.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/unimplemented.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/assert/unreachable.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/bytes/concat.d.ts +0 -14
- package/script/deps/deno.land/std@0.223.0/bytes/concat.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/bytes/concat.js +0 -31
- package/script/deps/deno.land/std@0.223.0/encoding/_util.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/encoding/base64.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/fmt/colors.d.ts +0 -286
- package/script/deps/deno.land/std@0.223.0/fmt/colors.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/fmt/colors.js +0 -564
- package/script/deps/deno.land/std@0.223.0/media_types/_db.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/_util.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/content_type.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/extension.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/extensions_by_type.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/format_media_type.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/get_charset.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/parse_media_type.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/type_by_extension.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/media_types/vendor/mime-db.v1.52.0.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/assert_path.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/basename.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/common.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/constants.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/dirname.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/format.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/from_file_url.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/normalize.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/normalize_string.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/relative.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/strip_trailing_separators.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_common/to_file_url.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_interface.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/_os.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/basename.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/common.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/constants.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/dirname.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/extname.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/format.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/from_file_url.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/is_absolute.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/is_glob.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/join.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/join_globs.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/mod.d.ts +0 -57
- package/script/deps/deno.land/std@0.223.0/path/mod.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/mod.js +0 -89
- package/script/deps/deno.land/std@0.223.0/path/normalize.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/normalize_glob.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/parse.d.ts +0 -19
- package/script/deps/deno.land/std@0.223.0/path/parse.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/_util.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/basename.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/common.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/constants.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/dirname.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/extname.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/format.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/from_file_url.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/is_absolute.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/is_glob.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/join.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/join_globs.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/mod.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/normalize.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/normalize_glob.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/parse.d.ts +0 -7
- package/script/deps/deno.land/std@0.223.0/path/posix/parse.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/relative.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/resolve.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/to_file_url.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/posix/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/relative.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/resolve.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/to_file_url.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/_util.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/basename.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/common.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/constants.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/dirname.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/extname.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/format.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/from_file_url.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/is_absolute.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/is_glob.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/join.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/join_globs.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/mod.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/normalize.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/normalize_glob.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/parse.d.ts +0 -7
- package/script/deps/deno.land/std@0.223.0/path/windows/parse.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/relative.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/resolve.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/to_file_url.d.ts.map +0 -1
- package/script/deps/deno.land/std@0.223.0/path/windows/to_namespaced_path.d.ts.map +0 -1
- package/script/tl/1_tl_object.d.ts +0 -64
- package/script/tl/1_tl_object.d.ts.map +0 -1
- package/script/tl/1_tl_object.js +0 -228
- package/script/tl/1_tl_object_test.d.ts.map +0 -1
- package/script/tl/2_types.d.ts +0 -28060
- package/script/tl/2_types.d.ts.map +0 -1
- package/script/tl/2_types.js +0 -70558
- package/script/tl/2_types_test.d.ts.map +0 -1
- package/script/tl/3_deserialize.d.ts +0 -23
- package/script/tl/3_deserialize.d.ts.map +0 -1
- package/script/tl/3_deserialize.js +0 -100
- package/script/tl/3_functions.d.ts +0 -14094
- package/script/tl/3_functions.d.ts.map +0 -1
- package/script/tl/3_functions.js +0 -29121
- package/script/tl/3_functions_test.d.ts.map +0 -1
- package/script/tl/4_tl_reader.d.ts +0 -26
- package/script/tl/4_tl_reader.d.ts.map +0 -1
- package/script/tl/4_tl_reader.js +0 -53
- package/script/tl/5_tl_writer.d.ts +0 -25
- package/script/tl/5_tl_writer.d.ts.map +0 -1
- package/script/tl/5_tl_writer.js +0 -49
- package/script/tl/6_rpc_result.d.ts +0 -30
- package/script/tl/6_rpc_result.d.ts.map +0 -1
- package/script/tl/6_rpc_result.js +0 -53
- package/script/tl/7_message.d.ts +0 -32
- package/script/tl/7_message.d.ts.map +0 -1
- package/script/tl/7_message.js +0 -95
- package/script/tl/7_message_test.d.ts.map +0 -1
- package/script/tl/8_message_container.d.ts +0 -32
- package/script/tl/8_message_container.d.ts.map +0 -1
- package/script/tl/8_message_container.js +0 -76
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/encoding/base64.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0/assert/_diff.js → std@0.224.0/internal/diff.js} +0 -0
- /package/esm/deps/deno.land/{std@0.223.0/path/_interface.js → std@0.224.0/io/types.js} +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/content_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/extensions_by_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/parse_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/type_by_extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/type_by_extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/encoding/base64.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0/assert/_diff.js → std@0.224.0/internal/diff.js} +0 -0
- /package/script/deps/deno.land/{std@0.223.0/path/_interface.js → std@0.224.0/io/types.js} +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/content_type.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/extension.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/extensions_by_type.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/parse_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/type_by_extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/type_by_extension.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.223.0 → std@0.224.0}/path/windows/to_namespaced_path.js +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
import { AnyType, Enums, Functions, Types } from "./0_api.js";
|
|
21
|
+
export declare function isOptionalParam(ntype: string): boolean;
|
|
22
|
+
export declare function analyzeOptionalParam(ntype: string): {
|
|
23
|
+
flagField: string;
|
|
24
|
+
bitIndex: number;
|
|
25
|
+
};
|
|
26
|
+
export declare function isValidType(object: any): object is AnyType;
|
|
27
|
+
export declare function assertIsValidType(object: any): void;
|
|
28
|
+
export declare function is<S extends keyof (Types & Functions)>(typeName: S, value: unknown): value is S extends keyof Types ? Types[S] : S extends keyof Functions ? Functions[S] : never;
|
|
29
|
+
export declare function isOneOf<S extends keyof (Types & Functions)>(typeNames: S[], value: unknown): value is S extends keyof Types ? Types[S] : S extends keyof Functions ? Functions[S] : never;
|
|
30
|
+
export declare function isOfEnum<S extends keyof Enums>(enumName: S, value: unknown): value is Enums[S];
|
|
31
|
+
export declare function as<S extends keyof Types>(typeName: S, value: unknown): Types[S];
|
|
32
|
+
//# sourceMappingURL=1_utilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1_utilities.d.ts","sourceRoot":"","sources":["../../src/tl/1_utilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAoB,KAAK,EAAE,MAAM,YAAY,CAAC;AAEhF,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEtD;AACD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAY3F;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,OAAO,CAE1D;AACD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,GAAG,QAI5C;AAED,wBAAgB,EAAE,CAAC,CAAC,SAAS,MAAM,CAAC,KAAK,GAAG,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,CAAC,SAAS,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,CAMjL;AACD,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,KAAK,GAAG,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,CAAC,SAAS,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,CAEzL;AACD,wBAAgB,QAAQ,CAAC,CAAC,SAAS,MAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC,CAE9F;AACD,wBAAgB,EAAE,CAAC,CAAC,SAAS,MAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAM/E"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
4
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
5
|
+
*
|
|
6
|
+
* This file is part of MTKruto.
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Lesser General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
// deno-lint-ignore-file no-explicit-any
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.as = exports.isOfEnum = exports.isOneOf = exports.is = exports.assertIsValidType = exports.isValidType = exports.analyzeOptionalParam = exports.isOptionalParam = void 0;
|
|
24
|
+
const _0_deps_js_1 = require("../0_deps.js");
|
|
25
|
+
const _0_api_js_1 = require("./0_api.js");
|
|
26
|
+
function isOptionalParam(ntype) {
|
|
27
|
+
return ntype.includes("?");
|
|
28
|
+
}
|
|
29
|
+
exports.isOptionalParam = isOptionalParam;
|
|
30
|
+
function analyzeOptionalParam(ntype) {
|
|
31
|
+
if (!isOptionalParam(ntype)) {
|
|
32
|
+
throw new Error("Parameter not optional");
|
|
33
|
+
}
|
|
34
|
+
const flagField = ntype.split(".")[0];
|
|
35
|
+
(0, _0_deps_js_1.assertEquals)(typeof flagField, "string");
|
|
36
|
+
const bitIndex = Number(ntype.split("?")[0].split(".")[1]);
|
|
37
|
+
(0, _0_deps_js_1.assertFalse)(isNaN(bitIndex));
|
|
38
|
+
return { flagField, bitIndex };
|
|
39
|
+
}
|
|
40
|
+
exports.analyzeOptionalParam = analyzeOptionalParam;
|
|
41
|
+
function isValidType(object) {
|
|
42
|
+
return object != null && typeof object === "object" && typeof object._ === "string" && (0, _0_api_js_1.getType)(object._) !== undefined;
|
|
43
|
+
}
|
|
44
|
+
exports.isValidType = isValidType;
|
|
45
|
+
function assertIsValidType(object) {
|
|
46
|
+
if (!isValidType(object)) {
|
|
47
|
+
throw new Error("Invalid object");
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.assertIsValidType = assertIsValidType;
|
|
51
|
+
function is(typeName, value) {
|
|
52
|
+
if (!isValidType(value)) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
return value._ === typeName;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.is = is;
|
|
60
|
+
function isOneOf(typeNames, value) {
|
|
61
|
+
return typeNames.some((v) => is(v, value));
|
|
62
|
+
}
|
|
63
|
+
exports.isOneOf = isOneOf;
|
|
64
|
+
function isOfEnum(enumName, value) {
|
|
65
|
+
return isOneOf((0, _0_api_js_1.getEnum)(enumName) ?? [], value);
|
|
66
|
+
}
|
|
67
|
+
exports.isOfEnum = isOfEnum;
|
|
68
|
+
function as(typeName, value) {
|
|
69
|
+
if (is(typeName, value)) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
(0, _0_deps_js_1.unreachable)();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.as = as;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1_utilities_test.d.ts","sourceRoot":"","sources":["../../src/tl/1_utilities_test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
import { TLRawReader } from "./0_tl_raw_reader.js";
|
|
21
|
+
import { AnyType } from "./0_api.js";
|
|
22
|
+
export declare function deserialize(reader: TLRawReader, paramDesc: [string, unknown, string][], name: string): AnyType;
|
|
23
|
+
//# sourceMappingURL=2_deserialize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2_deserialize.d.ts","sourceRoot":"","sources":["../../src/tl/2_deserialize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,OAAO,EAA+B,MAAM,YAAY,CAAC;AA+ClE,wBAAgB,WAAW,CACzB,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,EACtC,IAAI,EAAE,MAAM,GACX,OAAO,CAqCT"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
4
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
5
|
+
*
|
|
6
|
+
* This file is part of MTKruto.
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Lesser General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
// deno-lint-ignore-file no-explicit-any
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.deserialize = void 0;
|
|
24
|
+
const _0_deps_js_1 = require("../0_deps.js");
|
|
25
|
+
const _1_utilities_js_1 = require("./1_utilities.js");
|
|
26
|
+
const _0_api_js_1 = require("./0_api.js");
|
|
27
|
+
function deserializeSingleParam(reader, type, ntype) {
|
|
28
|
+
if (type == Uint8Array) {
|
|
29
|
+
return reader.readBytes();
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
switch (type) {
|
|
33
|
+
case "bigint":
|
|
34
|
+
if (ntype == "int128") {
|
|
35
|
+
return reader.readInt128();
|
|
36
|
+
}
|
|
37
|
+
else if (ntype === "int256") {
|
|
38
|
+
return reader.readInt256();
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return reader.readInt64();
|
|
42
|
+
}
|
|
43
|
+
case "boolean":
|
|
44
|
+
return reader.readInt32(false) == 0x997275B5;
|
|
45
|
+
case "number":
|
|
46
|
+
if (ntype == "double") {
|
|
47
|
+
return reader.readDouble();
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
return reader.readInt32();
|
|
51
|
+
}
|
|
52
|
+
case "string":
|
|
53
|
+
return reader.readString();
|
|
54
|
+
case "true":
|
|
55
|
+
return true;
|
|
56
|
+
default: {
|
|
57
|
+
const cid = reader.readInt32(false);
|
|
58
|
+
const name = (0, _0_api_js_1.getTypeName)(cid);
|
|
59
|
+
if (!name) {
|
|
60
|
+
throw new Error(`Constructor with ID 0x${cid.toString(16).toUpperCase()} not found`);
|
|
61
|
+
}
|
|
62
|
+
return deserialize(reader, (0, _0_api_js_1.getType)(name)[1], name);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
function deserialize(reader, paramDesc, name) {
|
|
68
|
+
const type_ = { _: name };
|
|
69
|
+
const flagFields = {};
|
|
70
|
+
for (const [name, type, ntype] of paramDesc) {
|
|
71
|
+
if ((0, _1_utilities_js_1.isOptionalParam)(ntype)) {
|
|
72
|
+
const { flagField, bitIndex } = (0, _1_utilities_js_1.analyzeOptionalParam)(ntype);
|
|
73
|
+
const bits = flagFields[flagField];
|
|
74
|
+
if ((bits & (1 << bitIndex)) == 0) {
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (type == _0_api_js_1.flags && ntype == "#") {
|
|
79
|
+
flagFields[name] = reader.readInt32();
|
|
80
|
+
continue;
|
|
81
|
+
}
|
|
82
|
+
if (type instanceof Array) {
|
|
83
|
+
(0, _0_deps_js_1.assertEquals)(reader.readInt32(false), 0x1CB5C415);
|
|
84
|
+
const count = reader.readInt32();
|
|
85
|
+
const items = new Array();
|
|
86
|
+
for (let i = 0; i < count; i++) {
|
|
87
|
+
items.push(deserializeSingleParam(reader, type[0], ntype));
|
|
88
|
+
}
|
|
89
|
+
type_[name] = items;
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
const value = deserializeSingleParam(reader, type, ntype);
|
|
93
|
+
if (typeof value !== "boolean" || value) {
|
|
94
|
+
type_[name] = value;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return type_;
|
|
98
|
+
}
|
|
99
|
+
exports.deserialize = deserialize;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
import { AnyObject } from "./0_api.js";
|
|
21
|
+
export declare function serialize(type_: AnyObject): Uint8Array;
|
|
22
|
+
//# sourceMappingURL=2_serialize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2_serialize.d.ts","sourceRoot":"","sources":["../../src/tl/2_serialize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,SAAS,EAAkB,MAAM,YAAY,CAAC;AA2FvD,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,UAAU,CA0DtD"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.serialize = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
6
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
7
|
+
*
|
|
8
|
+
* This file is part of MTKruto.
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
12
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
13
|
+
* (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU Lesser General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
21
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
|
+
*/
|
|
23
|
+
// deno-lint-ignore-file no-explicit-any
|
|
24
|
+
const _0_api_js_1 = require("./0_api.js");
|
|
25
|
+
const _0_tl_raw_writer_js_1 = require("./0_tl_raw_writer.js");
|
|
26
|
+
const _1_utilities_js_1 = require("./1_utilities.js");
|
|
27
|
+
function serializeSingleParam(writer, value, type, ntype, debugInfo) {
|
|
28
|
+
const valueRepr = value == null ? null : (typeof value === "object" && "_" in value) ? value._ : value.constructor.name;
|
|
29
|
+
if (type == Uint8Array) {
|
|
30
|
+
if ((value instanceof Uint8Array)) {
|
|
31
|
+
writer.writeBytes(value);
|
|
32
|
+
return writer.buffer;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
throw new TypeError(`Expected Uint8Array but received ${valueRepr} ${debugInfo}`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
switch (type) {
|
|
39
|
+
case "bigint":
|
|
40
|
+
if (typeof value === "bigint") {
|
|
41
|
+
if (ntype == "int128") {
|
|
42
|
+
writer.writeInt128(value);
|
|
43
|
+
}
|
|
44
|
+
else if (ntype === "int256") {
|
|
45
|
+
writer.writeInt256(value);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
writer.writeInt64(value);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
throw new TypeError(`Expected bigint but received ${valueRepr} ${debugInfo}`);
|
|
53
|
+
}
|
|
54
|
+
break;
|
|
55
|
+
case "boolean":
|
|
56
|
+
if (typeof value === "boolean") {
|
|
57
|
+
if (value) {
|
|
58
|
+
writer.writeInt32(0x997275B5);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
writer.writeInt32(0xBC799737);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
throw new TypeError(`Expected boolean but received ${valueRepr} ${debugInfo}`);
|
|
66
|
+
}
|
|
67
|
+
break;
|
|
68
|
+
case "number":
|
|
69
|
+
//
|
|
70
|
+
if (value == null) {
|
|
71
|
+
value = 0;
|
|
72
|
+
}
|
|
73
|
+
//
|
|
74
|
+
if (typeof value === "number") {
|
|
75
|
+
if (ntype == "double") {
|
|
76
|
+
writer.writeDouble(value);
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
writer.writeInt32(value);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
throw new TypeError(`Expected number but received ${valueRepr} ${debugInfo}`);
|
|
84
|
+
}
|
|
85
|
+
break;
|
|
86
|
+
case "string":
|
|
87
|
+
if (typeof value === "string") {
|
|
88
|
+
writer.writeString(value);
|
|
89
|
+
}
|
|
90
|
+
else if (value instanceof Uint8Array) {
|
|
91
|
+
writer.writeBytes(value);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
writer.writeString("");
|
|
95
|
+
}
|
|
96
|
+
// else {
|
|
97
|
+
// throw new TypeError(`Expected string or Uint8Array but received ${valueRepr}`);
|
|
98
|
+
// }
|
|
99
|
+
break;
|
|
100
|
+
case "true":
|
|
101
|
+
if (value !== true) {
|
|
102
|
+
throw new TypeError(`Expected true but received ${valueRepr} ${debugInfo}`);
|
|
103
|
+
}
|
|
104
|
+
break;
|
|
105
|
+
default:
|
|
106
|
+
// null = !X (generic)
|
|
107
|
+
if (type != null && typeof type !== "string") {
|
|
108
|
+
throw new TypeError(`Unexpected type: ${type} ${debugInfo}`);
|
|
109
|
+
}
|
|
110
|
+
writer.write(serialize(value));
|
|
111
|
+
}
|
|
112
|
+
return writer.buffer;
|
|
113
|
+
}
|
|
114
|
+
function serialize(type_) {
|
|
115
|
+
(0, _1_utilities_js_1.assertIsValidType)(type_);
|
|
116
|
+
const maybeParameters = (0, _0_api_js_1.getType)(type_._);
|
|
117
|
+
if (!maybeParameters) {
|
|
118
|
+
throw new Error(`Unknown type: ${type_._}`);
|
|
119
|
+
}
|
|
120
|
+
const type__ = type_;
|
|
121
|
+
const writer = new _0_tl_raw_writer_js_1.TLRawWriter();
|
|
122
|
+
const [id, parameters_] = maybeParameters;
|
|
123
|
+
writer.writeInt32(id, false);
|
|
124
|
+
for (const [i, [name, type, ntype]] of parameters_.entries()) {
|
|
125
|
+
if ((0, _1_utilities_js_1.isOptionalParam)(ntype) && type__[name] === undefined) {
|
|
126
|
+
continue;
|
|
127
|
+
}
|
|
128
|
+
const debugInfo = `[0x${id.toString(16).toUpperCase()}::${i}]`;
|
|
129
|
+
if (type == _0_api_js_1.flags) {
|
|
130
|
+
let flags = 0;
|
|
131
|
+
const flagField_ = name;
|
|
132
|
+
for (const [name, _, ntype] of parameters_) {
|
|
133
|
+
if ((0, _1_utilities_js_1.isOptionalParam)(ntype)) {
|
|
134
|
+
const { flagField, bitIndex } = (0, _1_utilities_js_1.analyzeOptionalParam)(ntype);
|
|
135
|
+
if (flagField == flagField_) {
|
|
136
|
+
if (type__[name] !== undefined) {
|
|
137
|
+
flags |= 1 << bitIndex;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
writer.writeInt32(flags);
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
if (type__[name] === undefined && !(0, _1_utilities_js_1.isOptionalParam)(ntype)) {
|
|
146
|
+
throw new Error(`Missing required parameter: ${name}`);
|
|
147
|
+
}
|
|
148
|
+
if (type instanceof Array) {
|
|
149
|
+
const itemsType = type[0];
|
|
150
|
+
if (!Array.isArray(type__[name])) {
|
|
151
|
+
throw new TypeError("Expected array");
|
|
152
|
+
}
|
|
153
|
+
writer.writeInt32(0x1CB5C415); // vector constructor
|
|
154
|
+
writer.writeInt32(type__[name].length);
|
|
155
|
+
for (const item of type__[name]) {
|
|
156
|
+
serializeSingleParam(writer, item, itemsType, ntype, debugInfo);
|
|
157
|
+
}
|
|
158
|
+
continue;
|
|
159
|
+
}
|
|
160
|
+
serializeSingleParam(writer, type__[name], type, ntype, debugInfo);
|
|
161
|
+
}
|
|
162
|
+
return writer.buffer;
|
|
163
|
+
}
|
|
164
|
+
exports.serialize = serialize;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2_serialize_test.d.ts","sourceRoot":"","sources":["../../src/tl/2_serialize_test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
import { TLRawReader } from "./0_tl_raw_reader.js";
|
|
21
|
+
import { AnyObject } from "./0_api.js";
|
|
22
|
+
export type ReadObject = boolean | AnyObject | Array<ReadObject>;
|
|
23
|
+
export declare class TLReader extends TLRawReader {
|
|
24
|
+
readObject(id?: number): ReadObject;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=3_tl_reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3_tl_reader.d.ts","sourceRoot":"","sources":["../../src/tl/3_tl_reader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAW,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAwB,MAAM,YAAY,CAAC;AAG7D,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;AAEjE,qBAAa,QAAS,SAAQ,WAAW;IACvC,UAAU,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,UAAU;CAsBpC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
4
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
5
|
+
*
|
|
6
|
+
* This file is part of MTKruto.
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Lesser General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
// deno-lint-ignore-file no-explicit-any
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.TLReader = void 0;
|
|
24
|
+
const _0_tl_raw_reader_js_1 = require("./0_tl_raw_reader.js");
|
|
25
|
+
const _0_api_js_1 = require("./0_api.js");
|
|
26
|
+
const _2_deserialize_js_1 = require("./2_deserialize.js");
|
|
27
|
+
class TLReader extends _0_tl_raw_reader_js_1.TLRawReader {
|
|
28
|
+
readObject(id) {
|
|
29
|
+
if (!id) {
|
|
30
|
+
id = this.readInt32(false);
|
|
31
|
+
}
|
|
32
|
+
if (id == 0x1CB5C415) {
|
|
33
|
+
const count = this.readInt32();
|
|
34
|
+
const items = new Array();
|
|
35
|
+
for (let i = 0; i < count; i++) {
|
|
36
|
+
items.push(this.readObject());
|
|
37
|
+
}
|
|
38
|
+
return items;
|
|
39
|
+
}
|
|
40
|
+
else if (id == 0x997275b5) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
else if (id == 0xbc799737) {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
const constructor = (0, _0_api_js_1.getTypeName)(id);
|
|
47
|
+
if (constructor) {
|
|
48
|
+
return (0, _2_deserialize_js_1.deserialize)(this, (0, _0_api_js_1.getType)(constructor)[1], constructor);
|
|
49
|
+
}
|
|
50
|
+
throw new _0_tl_raw_reader_js_1.TLError(`Unknown constructor ${id.toString(16)}`);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.TLReader = TLReader;
|
|
@@ -17,18 +17,18 @@
|
|
|
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
|
-
import
|
|
20
|
+
import * as Api from "./0_api.js";
|
|
21
21
|
export declare function getChannelChatId(channelId: bigint): number;
|
|
22
|
-
export type AnyEntity =
|
|
23
|
-
export declare function peerToChatId(peer:
|
|
22
|
+
export type AnyEntity = Api.user | Api.channel | Api.channelForbidden | Api.chat | Api.chatForbidden;
|
|
23
|
+
export declare function peerToChatId(peer: Api.Peer | Api.InputPeer | AnyEntity | Api.channelFull | Api.UserFull | Api.chatFull | {
|
|
24
24
|
channel_id: bigint;
|
|
25
25
|
} | {
|
|
26
26
|
user_id: bigint;
|
|
27
27
|
} | {
|
|
28
28
|
chat_id: bigint;
|
|
29
29
|
}): number;
|
|
30
|
-
export declare function chatIdToPeer(chatId: number):
|
|
30
|
+
export declare function chatIdToPeer(chatId: number): Api.Peer;
|
|
31
31
|
export declare function chatIdToPeerId(chatId: number): bigint;
|
|
32
32
|
export declare function getChatIdPeerType(chatId: number): "user" | "chat" | "channel";
|
|
33
|
-
export declare function inputPeerToPeer(inputPeer:
|
|
33
|
+
export declare function inputPeerToPeer(inputPeer: Api.InputPeer): Api.Peer;
|
|
34
34
|
//# sourceMappingURL=3_utilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3_utilities.d.ts","sourceRoot":"","sources":["../../src/tl/3_utilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,
|
|
1
|
+
{"version":3,"file":"3_utilities.d.ts","sourceRoot":"","sources":["../../src/tl/3_utilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,GAAG,MAAM,YAAY,CAAC;AAElC,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE1D;AAGD,MAAM,MAAM,SAAS,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,gBAAgB,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,aAAa,CAAC;AAErG,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,SAAS,GAAG,SAAS,GAAG,GAAG,CAAC,WAAW,GAAG,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,GAAG;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAUpM;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,IAAI,CAQrD;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAWrD;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAQ7E;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC,IAAI,CAUlE"}
|
package/script/tl/3_utilities.js
CHANGED
|
@@ -22,19 +22,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
22
22
|
exports.inputPeerToPeer = exports.getChatIdPeerType = exports.chatIdToPeerId = exports.chatIdToPeer = exports.peerToChatId = exports.getChannelChatId = void 0;
|
|
23
23
|
const _0_deps_js_1 = require("../0_deps.js");
|
|
24
24
|
const _1_utilities_js_1 = require("../1_utilities.js");
|
|
25
|
-
const _2_types_js_1 = require("./2_types.js");
|
|
26
25
|
function getChannelChatId(channelId) {
|
|
27
26
|
return _1_utilities_js_1.ZERO_CHANNEL_ID + -Number(channelId);
|
|
28
27
|
}
|
|
29
28
|
exports.getChannelChatId = getChannelChatId;
|
|
30
29
|
function peerToChatId(peer) {
|
|
31
|
-
if (peer
|
|
30
|
+
if (("_" in peer && (peer._ == "peerUser" || peer._ == "inputPeerUser" || peer._ == "user" || peer._ == "userFull")) || "user_id" in peer) {
|
|
32
31
|
return Number("id" in peer ? peer.id : peer.user_id);
|
|
33
32
|
}
|
|
34
|
-
else if (peer
|
|
33
|
+
else if (("_" in peer && (peer._ == "peerChat" || peer._ == "inputPeerChat" || peer._ == "chat" || peer._ == "chatForbidden" || peer._ == "chatFull")) || "chat_id" in peer) {
|
|
35
34
|
return -Number("id" in peer ? peer.id : peer.chat_id);
|
|
36
35
|
}
|
|
37
|
-
else if (peer
|
|
36
|
+
else if (("_" in peer && (peer._ == "peerChannel" || peer._ == "inputPeerChannel" || peer._ == "channel" || peer._ == "channelForbidden" || peer._ == "channelFull")) || "channel_id" in peer) {
|
|
38
37
|
return getChannelChatId("id" in peer ? peer.id : peer.channel_id);
|
|
39
38
|
}
|
|
40
39
|
else {
|
|
@@ -44,13 +43,13 @@ function peerToChatId(peer) {
|
|
|
44
43
|
exports.peerToChatId = peerToChatId;
|
|
45
44
|
function chatIdToPeer(chatId) {
|
|
46
45
|
if (chatId > 0) {
|
|
47
|
-
return
|
|
46
|
+
return { _: "peerUser", user_id: BigInt(chatId) };
|
|
48
47
|
}
|
|
49
48
|
else if (chatId > _1_utilities_js_1.ZERO_CHANNEL_ID) {
|
|
50
|
-
return
|
|
49
|
+
return { _: "peerChat", chat_id: BigInt(Math.abs(chatId)) };
|
|
51
50
|
}
|
|
52
51
|
else {
|
|
53
|
-
return
|
|
52
|
+
return { _: "peerChannel", channel_id: BigInt(_1_utilities_js_1.ZERO_CHANNEL_ID - chatId) };
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
exports.chatIdToPeer = chatIdToPeer;
|
|
@@ -84,13 +83,13 @@ function getChatIdPeerType(chatId) {
|
|
|
84
83
|
exports.getChatIdPeerType = getChatIdPeerType;
|
|
85
84
|
function inputPeerToPeer(inputPeer) {
|
|
86
85
|
if ("user_id" in inputPeer) {
|
|
87
|
-
return
|
|
86
|
+
return { ...inputPeer, _: "peerUser" };
|
|
88
87
|
}
|
|
89
88
|
else if ("chat_id" in inputPeer) {
|
|
90
|
-
return
|
|
89
|
+
return { ...inputPeer, _: "peerChat" };
|
|
91
90
|
}
|
|
92
91
|
else if ("channel_id" in inputPeer) {
|
|
93
|
-
return
|
|
92
|
+
return { ...inputPeer, _: "peerChannel" };
|
|
94
93
|
}
|
|
95
94
|
else {
|
|
96
95
|
(0, _0_deps_js_1.unreachable)();
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
export declare const RPC_RESULT_ID = 4082920705;
|
|
21
|
+
export interface rpc_result {
|
|
22
|
+
_: "rpc_result";
|
|
23
|
+
req_msg_id: bigint;
|
|
24
|
+
result: any;
|
|
25
|
+
}
|
|
26
|
+
export declare function deserializeRpcResult(buffer: Uint8Array): rpc_result;
|
|
27
|
+
//# sourceMappingURL=4_rpc_result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"4_rpc_result.d.ts","sourceRoot":"","sources":["../../src/tl/4_rpc_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAMH,eAAO,MAAM,aAAa,aAAa,CAAC;AAExC,MAAM,WAAW,UAAU;IACzB,CAAC,EAAE,YAAY,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,EAAE,GAAG,CAAC;CACb;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAKnE"}
|