@mtkruto/node 0.1.150 → 0.1.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/0_deps.d.ts +4 -4
- package/esm/0_deps.js +5 -5
- package/esm/3_types.d.ts +9 -0
- package/esm/3_types.js +9 -0
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_params.d.ts +14 -5
- package/esm/client/0_types.d.ts +3 -2
- package/esm/client/1_update_manager.js +65 -29
- package/esm/client/2_message_manager.d.ts +41 -3
- package/esm/client/2_message_manager.js +101 -40
- package/esm/client/3_story_manager.d.ts +28 -0
- package/esm/client/3_story_manager.js +143 -0
- package/esm/client/4_client.d.ts +148 -60
- package/esm/client/4_client.js +185 -59
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/fmt/colors.d.ts +3 -0
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/fmt/colors.js +3 -0
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.d.ts +1 -0
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/mod.d.ts +0 -9
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/mod.js +0 -10
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/normalize_glob.d.ts +1 -0
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/join_globs.d.ts +1 -0
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/mod.d.ts +0 -9
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/mod.js +0 -9
- package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/normalize_glob.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.214.0/path/posix → std@0.216.0/path/windows}/mod.d.ts +0 -9
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/mod.js +0 -9
- package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.d.ts +1 -0
- package/esm/tl/3_utilities.d.ts +7 -1
- package/esm/tl/3_utilities.js +3 -3
- package/esm/types/0_id.d.ts +2 -2
- package/esm/types/0_link_preview.d.ts +15 -0
- package/esm/types/0_link_preview.js +9 -0
- package/esm/types/0_story_reference.d.ts +5 -0
- package/esm/types/0_story_reference.js +1 -0
- package/esm/types/0_venue.d.ts +1 -1
- package/esm/types/1__getters.d.ts +2 -2
- package/esm/types/1_input_message_content.d.ts +6 -1
- package/esm/types/1_input_story_content.d.ts +15 -0
- package/esm/types/1_input_story_content.js +1 -0
- package/esm/types/1_story_interactive_area.d.ts +41 -0
- package/esm/types/1_story_interactive_area.js +98 -0
- package/esm/types/1_story_privacy.d.ts +22 -0
- package/esm/types/1_story_privacy.js +57 -0
- package/esm/types/1_story_reaction.d.ts +12 -0
- package/esm/types/1_story_reaction.js +7 -0
- package/esm/types/2_message_interactions.d.ts +1 -1
- package/esm/types/2_story_content.d.ts +18 -0
- package/esm/types/2_story_content.js +35 -0
- package/esm/types/2_story_interactions.d.ts +10 -0
- package/esm/types/2_story_interactions.js +8 -0
- package/esm/types/3_story.d.ts +24 -0
- package/esm/types/3_story.js +37 -0
- package/esm/types/4_inline_query_result.js +25 -6
- package/esm/types/4_message.d.ts +74 -2
- package/esm/types/4_message.js +15 -6
- package/esm/types/6_update.d.ts +20 -2
- package/package.json +1 -1
- package/script/0_deps.d.ts +4 -4
- package/script/0_deps.js +5 -5
- package/script/3_types.d.ts +9 -0
- package/script/3_types.js +9 -0
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_params.d.ts +14 -5
- package/script/client/0_types.d.ts +3 -2
- package/script/client/1_update_manager.js +65 -29
- package/script/client/2_message_manager.d.ts +41 -3
- package/script/client/2_message_manager.js +101 -40
- package/script/client/3_story_manager.d.ts +28 -0
- package/script/client/3_story_manager.js +147 -0
- package/script/client/4_client.d.ts +148 -60
- package/script/client/4_client.js +185 -59
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/fmt/colors.d.ts +3 -0
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/fmt/colors.js +3 -0
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.d.ts +1 -0
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.d.ts +1 -0
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/mod.d.ts +0 -9
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/mod.js +1 -11
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/normalize_glob.d.ts +1 -0
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/posix/join_globs.d.ts +1 -0
- package/script/deps/deno.land/{std@0.214.0/path/windows → std@0.216.0/path/posix}/mod.d.ts +0 -9
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/mod.js +0 -10
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/posix/normalize_glob.d.ts +1 -0
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.d.ts +1 -0
- package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/windows/mod.d.ts +0 -9
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/mod.js +0 -10
- package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.d.ts +1 -0
- package/script/tl/3_utilities.d.ts +7 -1
- package/script/tl/3_utilities.js +3 -3
- package/script/types/0_id.d.ts +2 -2
- package/script/types/0_link_preview.d.ts +15 -0
- package/script/types/0_link_preview.js +13 -0
- package/script/types/0_story_reference.d.ts +5 -0
- package/script/types/0_story_reference.js +2 -0
- package/script/types/0_venue.d.ts +1 -1
- package/script/types/1__getters.d.ts +2 -2
- package/script/types/1_input_message_content.d.ts +6 -1
- package/script/types/1_input_story_content.d.ts +15 -0
- package/script/types/1_input_story_content.js +2 -0
- package/script/types/1_story_interactive_area.d.ts +41 -0
- package/script/types/1_story_interactive_area.js +103 -0
- package/script/types/1_story_privacy.d.ts +22 -0
- package/script/types/1_story_privacy.js +62 -0
- package/script/types/1_story_reaction.d.ts +12 -0
- package/script/types/1_story_reaction.js +11 -0
- package/script/types/2_message_interactions.d.ts +1 -1
- package/script/types/2_story_content.d.ts +18 -0
- package/script/types/2_story_content.js +39 -0
- package/script/types/2_story_interactions.d.ts +10 -0
- package/script/types/2_story_interactions.js +12 -0
- package/script/types/3_story.d.ts +24 -0
- package/script/types/3_story.js +41 -0
- package/script/types/4_inline_query_result.js +25 -6
- package/script/types/4_message.d.ts +74 -2
- package/script/types/4_message.js +15 -6
- package/script/types/6_update.d.ts +20 -2
- package/esm/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +0 -8
- package/esm/deps/deno.land/std@0.214.0/path/posix/separator.js +0 -10
- package/esm/deps/deno.land/std@0.214.0/path/separator.d.ts +0 -8
- package/esm/deps/deno.land/std@0.214.0/path/separator.js +0 -11
- package/esm/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +0 -8
- package/esm/deps/deno.land/std@0.214.0/path/windows/separator.js +0 -10
- package/script/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +0 -8
- package/script/deps/deno.land/std@0.214.0/path/posix/separator.js +0 -13
- package/script/deps/deno.land/std@0.214.0/path/separator.d.ts +0 -8
- package/script/deps/deno.land/std@0.214.0/path/separator.js +0 -14
- package/script/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +0 -8
- package/script/deps/deno.land/std@0.214.0/path/windows/separator.js +0 -13
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.js +0 -0
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
|
|
13
|
+
var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Client = exports.restartAuth = exports.skipInvoke = exports.handleMigrationError = void 0;
|
|
16
16
|
const _0_deps_js_1 = require("../0_deps.js");
|
|
@@ -37,6 +37,7 @@ const _2_message_manager_js_1 = require("./2_message_manager.js");
|
|
|
37
37
|
const _3_callback_query_manager_js_1 = require("./3_callback_query_manager.js");
|
|
38
38
|
const _3_chat_list_manager_js_1 = require("./3_chat_list_manager.js");
|
|
39
39
|
const _3_inline_query_manager_js_1 = require("./3_inline_query_manager.js");
|
|
40
|
+
const _3_story_manager_js_1 = require("./3_story_manager.js");
|
|
40
41
|
const d = (0, _0_deps_js_1.debug)("Client");
|
|
41
42
|
const dAuth = (0, _0_deps_js_1.debug)("Client/authorize");
|
|
42
43
|
const dRecv = (0, _0_deps_js_1.debug)("Client/receiveLoop");
|
|
@@ -83,6 +84,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
83
84
|
_Client_fileManager.set(this, void 0);
|
|
84
85
|
_Client_reactionManager.set(this, void 0);
|
|
85
86
|
_Client_messageManager.set(this, void 0);
|
|
87
|
+
_Client_storyManager.set(this, void 0);
|
|
86
88
|
_Client_callbackQueryManager.set(this, void 0);
|
|
87
89
|
_Client_inlineQueryManager.set(this, void 0);
|
|
88
90
|
_Client_chatListManager.set(this, void 0);
|
|
@@ -557,6 +559,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
557
559
|
resetConnectionState: () => this.stateChangeHandler(this.connected),
|
|
558
560
|
getSelfId: __classPrivateFieldGet(this, _Client_instances, "m", _Client_getSelfId).bind(this),
|
|
559
561
|
getInputPeer: this.getInputPeer.bind(this),
|
|
562
|
+
getInputChannel: this.getInputChannel.bind(this),
|
|
560
563
|
getEntity: this[getEntity].bind(this),
|
|
561
564
|
handleUpdate: __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).bind(this),
|
|
562
565
|
parseMode: __classPrivateFieldGet(this, _Client_parseMode, "f"),
|
|
@@ -614,6 +617,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
614
617
|
__classPrivateFieldSet(this, _Client_reactionManager, new _1_reaction_manager_js_1.ReactionManager(c), "f");
|
|
615
618
|
__classPrivateFieldSet(this, _Client_messageManager, new _2_message_manager_js_1.MessageManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f") }), "f");
|
|
616
619
|
__classPrivateFieldSet(this, _Client_callbackQueryManager, new _3_callback_query_manager_js_1.CallbackQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
620
|
+
__classPrivateFieldSet(this, _Client_storyManager, new _3_story_manager_js_1.StoryManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f"), messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
617
621
|
__classPrivateFieldSet(this, _Client_inlineQueryManager, new _3_inline_query_manager_js_1.InlineQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
618
622
|
__classPrivateFieldSet(this, _Client_chatListManager, new _3_chat_list_manager_js_1.ChatListManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
619
623
|
__classPrivateFieldGet(this, _Client_updateManager, "f").setUpdateHandler(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleUpdate).bind(this));
|
|
@@ -730,7 +734,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
730
734
|
release();
|
|
731
735
|
}
|
|
732
736
|
}
|
|
733
|
-
async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
|
|
737
|
+
async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_storyManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
|
|
734
738
|
__classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
|
|
735
739
|
__classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
|
|
736
740
|
}, _Client_setAuth = async function _Client_setAuth(key) {
|
|
@@ -951,6 +955,9 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
951
955
|
return this.invoke(function_, true);
|
|
952
956
|
}
|
|
953
957
|
async getInputPeer(id) {
|
|
958
|
+
if (id === "me") {
|
|
959
|
+
return new _2_tl_js_1.types.InputPeerSelf();
|
|
960
|
+
}
|
|
954
961
|
const inputPeer = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getInputPeerInner).call(this, id);
|
|
955
962
|
if ((inputPeer instanceof _2_tl_js_1.types.InputPeerUser || inputPeer instanceof _2_tl_js_1.types.InputPeerChannel && inputPeer.access_hash == 0n) && await this.storage.getAccountType() == "bot") {
|
|
956
963
|
if ("channel_id" in inputPeer) {
|
|
@@ -1368,7 +1375,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1368
1375
|
/**
|
|
1369
1376
|
* Send a text message.
|
|
1370
1377
|
*
|
|
1371
|
-
* @method
|
|
1378
|
+
* @method ms
|
|
1372
1379
|
* @param chatId The chat to send the message to.
|
|
1373
1380
|
* @param text The message's text.
|
|
1374
1381
|
* @returns The sent text message.
|
|
@@ -1379,7 +1386,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1379
1386
|
/**
|
|
1380
1387
|
* Edit a message's text.
|
|
1381
1388
|
*
|
|
1382
|
-
* @method
|
|
1389
|
+
* @method ms
|
|
1383
1390
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1384
1391
|
* @param messageId The message's identifier.
|
|
1385
1392
|
* @param text The new text of the message.
|
|
@@ -1391,7 +1398,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1391
1398
|
/**
|
|
1392
1399
|
* Edit an inline message's text.
|
|
1393
1400
|
*
|
|
1394
|
-
* @method
|
|
1401
|
+
* @method ms
|
|
1395
1402
|
* @param inlineMessageId The inline message's identifier.
|
|
1396
1403
|
* @param text The new text of the message.
|
|
1397
1404
|
*/
|
|
@@ -1401,7 +1408,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1401
1408
|
/**
|
|
1402
1409
|
* Edit a message's reply markup.
|
|
1403
1410
|
*
|
|
1404
|
-
* @method
|
|
1411
|
+
* @method ms
|
|
1405
1412
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1406
1413
|
* @param messageId The message's identifier.
|
|
1407
1414
|
* @returns The edited message.
|
|
@@ -1412,7 +1419,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1412
1419
|
/**
|
|
1413
1420
|
* Edit an inline message's reply markup.
|
|
1414
1421
|
*
|
|
1415
|
-
* @method
|
|
1422
|
+
* @method ms
|
|
1416
1423
|
* @param inlineMessageId The inline message's identifier.
|
|
1417
1424
|
*/
|
|
1418
1425
|
async editInlineMessageReplyMarkup(inlineMessageId, params) {
|
|
@@ -1421,7 +1428,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1421
1428
|
/**
|
|
1422
1429
|
* Retrieve multiple messages.
|
|
1423
1430
|
*
|
|
1424
|
-
* @method
|
|
1431
|
+
* @method ms
|
|
1425
1432
|
* @param chatId The identifier of the chat to retrieve the messages from.
|
|
1426
1433
|
* @param messageIds The identifiers of the messages to retrieve.
|
|
1427
1434
|
* @example ```ts
|
|
@@ -1435,7 +1442,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1435
1442
|
/**
|
|
1436
1443
|
* Retrieve a single message.
|
|
1437
1444
|
*
|
|
1438
|
-
* @method
|
|
1445
|
+
* @method ms
|
|
1439
1446
|
* @param chatId The identifier of the chat to retrieve the message from.
|
|
1440
1447
|
* @param messageId The identifier of the message to retrieve.
|
|
1441
1448
|
* @example ```ts
|
|
@@ -1449,7 +1456,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1449
1456
|
/**
|
|
1450
1457
|
* Download a file.
|
|
1451
1458
|
*
|
|
1452
|
-
* @method
|
|
1459
|
+
* @method fs
|
|
1453
1460
|
* @param fileId The identifier of the file to download.
|
|
1454
1461
|
* @example ```ts
|
|
1455
1462
|
* for await (const chunk of client.download(fileId, { chunkSize: 256 * 1024 })) {
|
|
@@ -1466,7 +1473,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1466
1473
|
/**
|
|
1467
1474
|
* Forward multiple messages.
|
|
1468
1475
|
*
|
|
1469
|
-
* @method
|
|
1476
|
+
* @method ms
|
|
1470
1477
|
* @param from The identifier of the chat to forward the messages from.
|
|
1471
1478
|
* @param to The identifier of the chat to forward the messages to.
|
|
1472
1479
|
* @param messageIds The identifiers of the messages to forward.
|
|
@@ -1478,7 +1485,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1478
1485
|
/**
|
|
1479
1486
|
* Forward a single message.
|
|
1480
1487
|
*
|
|
1481
|
-
* @method
|
|
1488
|
+
* @method ms
|
|
1482
1489
|
* @param from The identifier of the chat to forward the message from.
|
|
1483
1490
|
* @param to The identifier of the chat to forward the message to.
|
|
1484
1491
|
* @param messageId The identifier of the message to forward.
|
|
@@ -1490,7 +1497,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1490
1497
|
/**
|
|
1491
1498
|
* Get information on the currently authorized user.
|
|
1492
1499
|
*
|
|
1493
|
-
* @method
|
|
1500
|
+
* @method ac
|
|
1494
1501
|
*/
|
|
1495
1502
|
async getMe() {
|
|
1496
1503
|
const users = await this.api.users.getUsers({ id: [new _2_tl_js_1.types.InputUserSelf()] });
|
|
@@ -1504,7 +1511,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1504
1511
|
/**
|
|
1505
1512
|
* Answer a callback query. Bot-only.
|
|
1506
1513
|
*
|
|
1507
|
-
* @method
|
|
1514
|
+
* @method cq
|
|
1508
1515
|
* @param id ID of the callback query to answer.
|
|
1509
1516
|
*/
|
|
1510
1517
|
async answerCallbackQuery(id, params) {
|
|
@@ -1513,7 +1520,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1513
1520
|
/**
|
|
1514
1521
|
* Send a poll.
|
|
1515
1522
|
*
|
|
1516
|
-
* @method
|
|
1523
|
+
* @method ms
|
|
1517
1524
|
* @param chatId The chat to send the poll to.
|
|
1518
1525
|
* @param question The poll's question.
|
|
1519
1526
|
* @param options The poll's options.
|
|
@@ -1525,7 +1532,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1525
1532
|
/**
|
|
1526
1533
|
* Send a chat action.
|
|
1527
1534
|
*
|
|
1528
|
-
* @method
|
|
1535
|
+
* @method ms
|
|
1529
1536
|
* @param chatId The chat to send the chat action to.
|
|
1530
1537
|
* @param action The chat action.
|
|
1531
1538
|
* @param messageThreadId The thread to send the chat action to.
|
|
@@ -1536,7 +1543,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1536
1543
|
/**
|
|
1537
1544
|
* Upload a file.
|
|
1538
1545
|
*
|
|
1539
|
-
* @method
|
|
1546
|
+
* @method fs
|
|
1540
1547
|
* @param contents The contents of the file.
|
|
1541
1548
|
*/
|
|
1542
1549
|
async upload(contents, params) {
|
|
@@ -1545,7 +1552,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1545
1552
|
/**
|
|
1546
1553
|
* Set the bot's commands in the given scope and/or language. Bot-only.
|
|
1547
1554
|
*
|
|
1548
|
-
* @method
|
|
1555
|
+
* @method bs
|
|
1549
1556
|
* @param commands The commands to set.
|
|
1550
1557
|
*/
|
|
1551
1558
|
async setMyCommands(commands, params) {
|
|
@@ -1553,6 +1560,8 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1553
1560
|
}
|
|
1554
1561
|
/**
|
|
1555
1562
|
* Get the bot's commands in the given scope and/or language. Bot-only.
|
|
1563
|
+
*
|
|
1564
|
+
* @method bs
|
|
1556
1565
|
*/
|
|
1557
1566
|
async getMyCommands(params) {
|
|
1558
1567
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyCommands(params);
|
|
@@ -1560,7 +1569,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1560
1569
|
/**
|
|
1561
1570
|
* Answer an inline query. Bot-only.
|
|
1562
1571
|
*
|
|
1563
|
-
* @method
|
|
1572
|
+
* @method iq
|
|
1564
1573
|
* @param id The ID of the inline query to answer.
|
|
1565
1574
|
* @param results The results to answer with.
|
|
1566
1575
|
*/
|
|
@@ -1570,7 +1579,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1570
1579
|
/**
|
|
1571
1580
|
* Set the bot's description in the given language. Bot-only.
|
|
1572
1581
|
*
|
|
1573
|
-
* @method
|
|
1582
|
+
* @method bs
|
|
1574
1583
|
*/
|
|
1575
1584
|
async setMyDescription(params) {
|
|
1576
1585
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyDescription(params);
|
|
@@ -1578,7 +1587,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1578
1587
|
/**
|
|
1579
1588
|
* Set the bot's name in the given language. Bot-only.
|
|
1580
1589
|
*
|
|
1581
|
-
* @method
|
|
1590
|
+
* @method bs
|
|
1582
1591
|
*/
|
|
1583
1592
|
async setMyName(params) {
|
|
1584
1593
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyName(params);
|
|
@@ -1586,7 +1595,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1586
1595
|
/**
|
|
1587
1596
|
* Set the bot's short description in the given language. Bot-only.
|
|
1588
1597
|
*
|
|
1589
|
-
* @method
|
|
1598
|
+
* @method bs
|
|
1590
1599
|
*/
|
|
1591
1600
|
async setMyShortDescription(params) {
|
|
1592
1601
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyShortDescription(params);
|
|
@@ -1594,7 +1603,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1594
1603
|
/**
|
|
1595
1604
|
* Get the bot's description in the given language. Bot-only.
|
|
1596
1605
|
*
|
|
1597
|
-
* @method
|
|
1606
|
+
* @method bs
|
|
1598
1607
|
*/
|
|
1599
1608
|
async getMyDescription(params) {
|
|
1600
1609
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyDescription(params);
|
|
@@ -1602,7 +1611,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1602
1611
|
/**
|
|
1603
1612
|
* Set the bot's name in the given language. Bot-only.
|
|
1604
1613
|
*
|
|
1605
|
-
* @method
|
|
1614
|
+
* @method bs
|
|
1606
1615
|
*/
|
|
1607
1616
|
async getMyName(params) {
|
|
1608
1617
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyName(params);
|
|
@@ -1610,7 +1619,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1610
1619
|
/**
|
|
1611
1620
|
* Get the bot's short description in the given language. Bot-only.
|
|
1612
1621
|
*
|
|
1613
|
-
* @method
|
|
1622
|
+
* @method bs
|
|
1614
1623
|
*/
|
|
1615
1624
|
async getMyShortDescription(params) {
|
|
1616
1625
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyShortDescription(params);
|
|
@@ -1618,9 +1627,9 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1618
1627
|
/**
|
|
1619
1628
|
* Delete multiple messages.
|
|
1620
1629
|
*
|
|
1621
|
-
* @method
|
|
1630
|
+
* @method ms
|
|
1622
1631
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1623
|
-
* @param messageIds The
|
|
1632
|
+
* @param messageIds The identifiers of the messages to delete.
|
|
1624
1633
|
*/
|
|
1625
1634
|
async deleteMessages(chatId, messageIds, params) {
|
|
1626
1635
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").deleteMessages(chatId, messageIds, params);
|
|
@@ -1628,7 +1637,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1628
1637
|
/**
|
|
1629
1638
|
* Delete a single message.
|
|
1630
1639
|
*
|
|
1631
|
-
* @method
|
|
1640
|
+
* @method ms
|
|
1632
1641
|
* @param chatId The identifier of the chat that contains the message.
|
|
1633
1642
|
* @param messageId The identifier of the message to delete.
|
|
1634
1643
|
*/
|
|
@@ -1638,7 +1647,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1638
1647
|
/**
|
|
1639
1648
|
* Send a photo.
|
|
1640
1649
|
*
|
|
1641
|
-
* @method
|
|
1650
|
+
* @method ms
|
|
1642
1651
|
* @param chatId The chat to send the photo to.
|
|
1643
1652
|
* @param photo The photo to send.
|
|
1644
1653
|
*/
|
|
@@ -1648,7 +1657,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1648
1657
|
/**
|
|
1649
1658
|
* Send a document.
|
|
1650
1659
|
*
|
|
1651
|
-
* @method
|
|
1660
|
+
* @method ms
|
|
1652
1661
|
* @param chatId The chat to send the document to.
|
|
1653
1662
|
* @param document The document to send.
|
|
1654
1663
|
*/
|
|
@@ -1658,7 +1667,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1658
1667
|
/**
|
|
1659
1668
|
* Send a video.
|
|
1660
1669
|
*
|
|
1661
|
-
* @method
|
|
1670
|
+
* @method ms
|
|
1662
1671
|
* @param chatId The chat to send the video to.
|
|
1663
1672
|
* @param video The video to send.
|
|
1664
1673
|
*/
|
|
@@ -1668,7 +1677,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1668
1677
|
/**
|
|
1669
1678
|
* Send an animation.
|
|
1670
1679
|
*
|
|
1671
|
-
* @method
|
|
1680
|
+
* @method ms
|
|
1672
1681
|
* @param chatId The chat to send the animation to.
|
|
1673
1682
|
* @param animation The animation to send.
|
|
1674
1683
|
*/
|
|
@@ -1678,7 +1687,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1678
1687
|
/**
|
|
1679
1688
|
* Send a voice message.
|
|
1680
1689
|
*
|
|
1681
|
-
* @method
|
|
1690
|
+
* @method ms
|
|
1682
1691
|
* @param chatId The chat to send the voice message to.
|
|
1683
1692
|
* @param voice The voice to send.
|
|
1684
1693
|
*/
|
|
@@ -1688,7 +1697,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1688
1697
|
/**
|
|
1689
1698
|
* Send an audio file.
|
|
1690
1699
|
*
|
|
1691
|
-
* @method
|
|
1700
|
+
* @method ms
|
|
1692
1701
|
* @param chatId The chat to send the audio file to.
|
|
1693
1702
|
* @param audio The audio to send.
|
|
1694
1703
|
*/
|
|
@@ -1698,7 +1707,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1698
1707
|
/**
|
|
1699
1708
|
* Send a video note.
|
|
1700
1709
|
*
|
|
1701
|
-
* @method
|
|
1710
|
+
* @method ms
|
|
1702
1711
|
* @param chatId The chat to send the video note to.
|
|
1703
1712
|
* @param videoNote The video note to send.
|
|
1704
1713
|
*/
|
|
@@ -1708,7 +1717,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1708
1717
|
/**
|
|
1709
1718
|
* Send a location.
|
|
1710
1719
|
*
|
|
1711
|
-
* @method
|
|
1720
|
+
* @method ms
|
|
1712
1721
|
* @param chatId The chat to send the location to.
|
|
1713
1722
|
* @param latitude The location's latitude.
|
|
1714
1723
|
* @param longitude The location's longitude.
|
|
@@ -1719,7 +1728,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1719
1728
|
/**
|
|
1720
1729
|
* Send a contact.
|
|
1721
1730
|
*
|
|
1722
|
-
* @method
|
|
1731
|
+
* @method ms
|
|
1723
1732
|
* @param chatId The chat to send the contact to.
|
|
1724
1733
|
* @param firstName The contact's first name.
|
|
1725
1734
|
* @param number The contact's phone number.
|
|
@@ -1730,7 +1739,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1730
1739
|
/**
|
|
1731
1740
|
* Send a dice.
|
|
1732
1741
|
*
|
|
1733
|
-
* @method
|
|
1742
|
+
* @method ms
|
|
1734
1743
|
* @param chatId The chat to send the dice to.
|
|
1735
1744
|
*/
|
|
1736
1745
|
async sendDice(chatId, params) {
|
|
@@ -1739,7 +1748,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1739
1748
|
/**
|
|
1740
1749
|
* Send a venue.
|
|
1741
1750
|
*
|
|
1742
|
-
* @method
|
|
1751
|
+
* @method ms
|
|
1743
1752
|
* @param chatId The chat to send the venue to.
|
|
1744
1753
|
* @param latitude The latitude of the venue.
|
|
1745
1754
|
* @param longitude The longitude of the venue.
|
|
@@ -1752,7 +1761,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1752
1761
|
/**
|
|
1753
1762
|
* Get network statistics. This might not always be available.
|
|
1754
1763
|
*
|
|
1755
|
-
* @method
|
|
1764
|
+
* @method mc
|
|
1756
1765
|
*/
|
|
1757
1766
|
async getNetworkStatistics() {
|
|
1758
1767
|
return await __classPrivateFieldGet(this, _Client_networkStatisticsManager, "f").getNetworkStatistics();
|
|
@@ -1760,7 +1769,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1760
1769
|
/**
|
|
1761
1770
|
* Get chats from a chat list. User-only.
|
|
1762
1771
|
*
|
|
1763
|
-
* @method
|
|
1772
|
+
* @method ch
|
|
1764
1773
|
*/
|
|
1765
1774
|
async getChats(params) {
|
|
1766
1775
|
return await __classPrivateFieldGet(this, _Client_chatListManager, "f").getChats(params?.from, params?.after, params?.limit);
|
|
@@ -1768,7 +1777,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1768
1777
|
/**
|
|
1769
1778
|
* Get a chat.
|
|
1770
1779
|
*
|
|
1771
|
-
* @method
|
|
1780
|
+
* @method ch
|
|
1772
1781
|
*/
|
|
1773
1782
|
async getChat(chatId) {
|
|
1774
1783
|
return await __classPrivateFieldGet(this, _Client_chatListManager, "f").getChat(chatId);
|
|
@@ -1776,7 +1785,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1776
1785
|
/**
|
|
1777
1786
|
* Get chat history. User-only.
|
|
1778
1787
|
*
|
|
1779
|
-
* @method
|
|
1788
|
+
* @method ch
|
|
1780
1789
|
* @param chatId The identifier of the chat to get its history.
|
|
1781
1790
|
*/
|
|
1782
1791
|
async getHistory(chatId, params) {
|
|
@@ -1785,7 +1794,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1785
1794
|
/**
|
|
1786
1795
|
* Get custom emoji documents for download.
|
|
1787
1796
|
*
|
|
1788
|
-
* @method
|
|
1797
|
+
* @method fs
|
|
1789
1798
|
* @param id Identifier of one or more of custom emojis.
|
|
1790
1799
|
*/
|
|
1791
1800
|
async getCustomEmojiDocuments(id) {
|
|
@@ -1794,7 +1803,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1794
1803
|
/**
|
|
1795
1804
|
* Set a chat's available reactions.
|
|
1796
1805
|
*
|
|
1797
|
-
* @method
|
|
1806
|
+
* @method ch
|
|
1798
1807
|
* @param chatId The identifier of the chat.
|
|
1799
1808
|
* @param availableReactions The new available reactions.
|
|
1800
1809
|
*/
|
|
@@ -1804,7 +1813,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1804
1813
|
/**
|
|
1805
1814
|
* Change reactions made to a message.
|
|
1806
1815
|
*
|
|
1807
|
-
* @method
|
|
1816
|
+
* @method re
|
|
1808
1817
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1809
1818
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1810
1819
|
* @param reactions The new reactions.
|
|
@@ -1815,7 +1824,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1815
1824
|
/**
|
|
1816
1825
|
* Make a reaction to a message.
|
|
1817
1826
|
*
|
|
1818
|
-
* @method
|
|
1827
|
+
* @method re
|
|
1819
1828
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1820
1829
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1821
1830
|
* @param reaction The reaction to add.
|
|
@@ -1826,7 +1835,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1826
1835
|
/**
|
|
1827
1836
|
* Undo a reaction made to a message.
|
|
1828
1837
|
*
|
|
1829
|
-
* @method
|
|
1838
|
+
* @method re
|
|
1830
1839
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1831
1840
|
* @param messageId The identifier of the message which the reaction was made to.
|
|
1832
1841
|
* @param reaction The reaction to remove.
|
|
@@ -1837,7 +1846,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1837
1846
|
/**
|
|
1838
1847
|
* Set a chat's photo.
|
|
1839
1848
|
*
|
|
1840
|
-
* @method
|
|
1849
|
+
* @method ch
|
|
1841
1850
|
* @param chatId The identifier of the chat.
|
|
1842
1851
|
* @param photo A photo to set as the chat's photo.
|
|
1843
1852
|
*/
|
|
@@ -1847,7 +1856,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1847
1856
|
/**
|
|
1848
1857
|
* Delete a chat's photo.
|
|
1849
1858
|
*
|
|
1850
|
-
* @method
|
|
1859
|
+
* @method ch
|
|
1851
1860
|
* @param chatId The identifier of the chat.
|
|
1852
1861
|
*/
|
|
1853
1862
|
async deleteChatPhoto(chatId) {
|
|
@@ -1856,7 +1865,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1856
1865
|
/**
|
|
1857
1866
|
* Delete all messages sent by a specific member of a chat.
|
|
1858
1867
|
*
|
|
1859
|
-
* @method
|
|
1868
|
+
* @method ms
|
|
1860
1869
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1861
1870
|
* @param memberId The identifier of the member.
|
|
1862
1871
|
*/
|
|
@@ -1866,7 +1875,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1866
1875
|
/**
|
|
1867
1876
|
* Pin a message in a chat.
|
|
1868
1877
|
*
|
|
1869
|
-
* @method
|
|
1878
|
+
* @method ms
|
|
1870
1879
|
* @param chatId The identifier of the chat that contains the message.
|
|
1871
1880
|
* @param messageId The message's identifier.
|
|
1872
1881
|
*/
|
|
@@ -1876,7 +1885,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1876
1885
|
/**
|
|
1877
1886
|
* Unpin a pinned message.
|
|
1878
1887
|
*
|
|
1879
|
-
* @method
|
|
1888
|
+
* @method ms
|
|
1880
1889
|
* @param chatId The identifier of the chat that contains the message.
|
|
1881
1890
|
* @param messageId The message's identifier.
|
|
1882
1891
|
*/
|
|
@@ -1886,7 +1895,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1886
1895
|
/**
|
|
1887
1896
|
* Unpin all pinned messages.
|
|
1888
1897
|
*
|
|
1889
|
-
* @method
|
|
1898
|
+
* @method ms
|
|
1890
1899
|
* @param chatId The identifier of the chat.
|
|
1891
1900
|
*/
|
|
1892
1901
|
async unpinMessages(chatId) {
|
|
@@ -1895,7 +1904,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1895
1904
|
/**
|
|
1896
1905
|
* Ban a member from a chat.
|
|
1897
1906
|
*
|
|
1898
|
-
* @method
|
|
1907
|
+
* @method ch
|
|
1899
1908
|
* @param chatId The identifier of the chat.
|
|
1900
1909
|
* @param memberId The identifier of the member.
|
|
1901
1910
|
*/
|
|
@@ -1905,7 +1914,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1905
1914
|
/**
|
|
1906
1915
|
* Unban a member from a chat.
|
|
1907
1916
|
*
|
|
1908
|
-
* @method
|
|
1917
|
+
* @method ch
|
|
1909
1918
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1910
1919
|
* @param memberId The identifier of the member.
|
|
1911
1920
|
*/
|
|
@@ -1915,7 +1924,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1915
1924
|
/**
|
|
1916
1925
|
* Kick a member from a chat. Same as a banChatMember call followed by unbanChatMember.
|
|
1917
1926
|
*
|
|
1918
|
-
* @method
|
|
1927
|
+
* @method ch
|
|
1919
1928
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1920
1929
|
* @param memberId The identifier of the member.
|
|
1921
1930
|
*/
|
|
@@ -1926,7 +1935,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1926
1935
|
/**
|
|
1927
1936
|
* Set the rights of a chat member.
|
|
1928
1937
|
*
|
|
1929
|
-
* @method
|
|
1938
|
+
* @method ch
|
|
1930
1939
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1931
1940
|
* @param memberId The identifier of a member.
|
|
1932
1941
|
*/
|
|
@@ -1936,12 +1945,123 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1936
1945
|
/**
|
|
1937
1946
|
* Get the administrators of a chat.
|
|
1938
1947
|
*
|
|
1939
|
-
* @method
|
|
1948
|
+
* @method ch
|
|
1940
1949
|
* @param chatId The identifier of the chat.
|
|
1941
1950
|
*/
|
|
1942
1951
|
async getChatAdministrators(chatId) {
|
|
1943
1952
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").getChatAdministrators(chatId);
|
|
1944
1953
|
}
|
|
1954
|
+
/**
|
|
1955
|
+
* Create a story. User-only.
|
|
1956
|
+
*
|
|
1957
|
+
* @method st
|
|
1958
|
+
* @param content The content of the story.
|
|
1959
|
+
* @returns The created story.
|
|
1960
|
+
*/
|
|
1961
|
+
async createStory(chatId, content, params) {
|
|
1962
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").createStory(chatId, content, params);
|
|
1963
|
+
}
|
|
1964
|
+
/**
|
|
1965
|
+
* Retrieve multiple stories. User-only.
|
|
1966
|
+
*
|
|
1967
|
+
* @method st
|
|
1968
|
+
* @param chatId The identifier of the chat to retrieve the stories from.
|
|
1969
|
+
* @param storyIds The identifiers of the stories to retrieve.
|
|
1970
|
+
*/
|
|
1971
|
+
async getStories(chatId, storyIds) {
|
|
1972
|
+
if (!storyIds.length) {
|
|
1973
|
+
return [];
|
|
1974
|
+
}
|
|
1975
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStories(chatId, storyIds);
|
|
1976
|
+
}
|
|
1977
|
+
/**
|
|
1978
|
+
* Retrieve a single story. User-only.
|
|
1979
|
+
*
|
|
1980
|
+
* @method st
|
|
1981
|
+
* @param chatId The identifier of the chat to retrieve the story from.
|
|
1982
|
+
* @param storyId The identifier of the story to retrieve.
|
|
1983
|
+
*/
|
|
1984
|
+
async getStory(chatId, storyId) {
|
|
1985
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStory(chatId, storyId);
|
|
1986
|
+
}
|
|
1987
|
+
/**
|
|
1988
|
+
* Delete multiple stories. User-only.
|
|
1989
|
+
*
|
|
1990
|
+
* @method st
|
|
1991
|
+
* @param chatId The identifier of the chat to delete the stories from.
|
|
1992
|
+
* @param storyIds The identifiers of the stories to delete.
|
|
1993
|
+
*/
|
|
1994
|
+
async deleteStories(chatId, storyIds) {
|
|
1995
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").deleteStories(chatId, storyIds);
|
|
1996
|
+
}
|
|
1997
|
+
/**
|
|
1998
|
+
* Delete a single story. User-only.
|
|
1999
|
+
*
|
|
2000
|
+
* @method st
|
|
2001
|
+
* @param chatId The identifier of the chat to delete the story from.
|
|
2002
|
+
* @param storyId The identifier of the story to delete.
|
|
2003
|
+
*/
|
|
2004
|
+
async deleteStory(chatId, storyId) {
|
|
2005
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").deleteStory(chatId, storyId);
|
|
2006
|
+
}
|
|
2007
|
+
/**
|
|
2008
|
+
* Add multiple stories to highlights. User-only.
|
|
2009
|
+
*
|
|
2010
|
+
* @method st
|
|
2011
|
+
* @param chatId The identifier of the chat that has the stories.
|
|
2012
|
+
* @param storyIds The identifiers of the stories to add to highlights.
|
|
2013
|
+
*/
|
|
2014
|
+
async addStoriesToHighlights(chatId, storyIds) {
|
|
2015
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").addStoriesToHighlights(chatId, storyIds);
|
|
2016
|
+
}
|
|
2017
|
+
/**
|
|
2018
|
+
* Add a single story to highlights. User-only.
|
|
2019
|
+
*
|
|
2020
|
+
* @method st
|
|
2021
|
+
* @param chatId The identifier of the chat that has the story.
|
|
2022
|
+
* @param storyId The identifier of the story to add to highlights.
|
|
2023
|
+
*/
|
|
2024
|
+
async addStoryToHighlights(chatId, storyId) {
|
|
2025
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").addStoryToHighlights(chatId, storyId);
|
|
2026
|
+
}
|
|
2027
|
+
/**
|
|
2028
|
+
* Remove multiple stories from highlights. User-only.
|
|
2029
|
+
*
|
|
2030
|
+
* @method st
|
|
2031
|
+
* @param chatId The identifier of the chat that has the stories.
|
|
2032
|
+
* @param storyIds The identifiers of the stories to remove from highlights.
|
|
2033
|
+
*/
|
|
2034
|
+
async removeStoriesFromHighlights(chatId, storyIds) {
|
|
2035
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").removeStoriesFromHighlights(chatId, storyIds);
|
|
2036
|
+
}
|
|
2037
|
+
/**
|
|
2038
|
+
* Remove a single story from highlights. User-only.
|
|
2039
|
+
*
|
|
2040
|
+
* @method st
|
|
2041
|
+
* @param chatId The identifier of the chat that has the story.
|
|
2042
|
+
* @param storyId The identifier of the story to remove from highlights.
|
|
2043
|
+
*/
|
|
2044
|
+
async removeStoryFromHighlights(chatId, storyId) {
|
|
2045
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").removeStoryFromHighlights(chatId, storyId);
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* Enable join requests in a chat. User-only.
|
|
2049
|
+
*
|
|
2050
|
+
* @method ch
|
|
2051
|
+
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
2052
|
+
*/
|
|
2053
|
+
async enableJoinRequests(chatId) {
|
|
2054
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").enableJoinRequests(chatId);
|
|
2055
|
+
}
|
|
2056
|
+
/**
|
|
2057
|
+
* Disable join requests in a chat. User-only.
|
|
2058
|
+
*
|
|
2059
|
+
* @method ch
|
|
2060
|
+
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
2061
|
+
*/
|
|
2062
|
+
async disableJoinRequests(chatId) {
|
|
2063
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").disableJoinRequests(chatId);
|
|
2064
|
+
}
|
|
1945
2065
|
}
|
|
1946
2066
|
exports.Client = Client;
|
|
1947
2067
|
_Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
@@ -1996,6 +2116,12 @@ _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
|
1996
2116
|
if (_3_chat_list_manager_js_1.ChatListManager.canHandleUpdate(update)) {
|
|
1997
2117
|
await __classPrivateFieldGet(this, _Client_chatListManager, "f").handleUpdate(update);
|
|
1998
2118
|
}
|
|
2119
|
+
if (_3_story_manager_js_1.StoryManager.canHandleUpdate(update)) {
|
|
2120
|
+
const upd = await __classPrivateFieldGet(this, _Client_storyManager, "f").handleUpdate(update);
|
|
2121
|
+
if (upd) {
|
|
2122
|
+
promises.push(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleCtxUpdate).call(this, upd));
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
1999
2125
|
return () => Promise.all(promises);
|
|
2000
2126
|
}, _Client_getMe = async function _Client_getMe() {
|
|
2001
2127
|
if (__classPrivateFieldGet(this, _Client_lastGetMe, "f") != null) {
|