@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
package/esm/client/4_client.js
CHANGED
|
@@ -9,7 +9,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
9
9
|
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");
|
|
10
10
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
11
|
};
|
|
12
|
-
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;
|
|
12
|
+
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;
|
|
13
13
|
import { debug, gunzip, Mutex } from "../0_deps.js";
|
|
14
14
|
import { bigIntFromBuffer, cleanObject, drop, getRandomBigInt, getRandomId, mustPrompt, mustPromptOneOf, sha1, UNREACHABLE, ZERO_CHANNEL_ID } from "../1_utilities.js";
|
|
15
15
|
import { as, chatIdToPeerId, functions, getChatIdPeerType, Message_, MessageContainer, name, peerToChatId, RPCResult, TLError, TLReader, types } from "../2_tl.js";
|
|
@@ -34,6 +34,7 @@ import { MessageManager } from "./2_message_manager.js";
|
|
|
34
34
|
import { CallbackQueryManager } from "./3_callback_query_manager.js";
|
|
35
35
|
import { ChatListManager } from "./3_chat_list_manager.js";
|
|
36
36
|
import { InlineQueryManager } from "./3_inline_query_manager.js";
|
|
37
|
+
import { StoryManager } from "./3_story_manager.js";
|
|
37
38
|
const d = debug("Client");
|
|
38
39
|
const dAuth = debug("Client/authorize");
|
|
39
40
|
const dRecv = debug("Client/receiveLoop");
|
|
@@ -79,6 +80,7 @@ export class Client extends ClientAbstract {
|
|
|
79
80
|
_Client_fileManager.set(this, void 0);
|
|
80
81
|
_Client_reactionManager.set(this, void 0);
|
|
81
82
|
_Client_messageManager.set(this, void 0);
|
|
83
|
+
_Client_storyManager.set(this, void 0);
|
|
82
84
|
_Client_callbackQueryManager.set(this, void 0);
|
|
83
85
|
_Client_inlineQueryManager.set(this, void 0);
|
|
84
86
|
_Client_chatListManager.set(this, void 0);
|
|
@@ -553,6 +555,7 @@ export class Client extends ClientAbstract {
|
|
|
553
555
|
resetConnectionState: () => this.stateChangeHandler(this.connected),
|
|
554
556
|
getSelfId: __classPrivateFieldGet(this, _Client_instances, "m", _Client_getSelfId).bind(this),
|
|
555
557
|
getInputPeer: this.getInputPeer.bind(this),
|
|
558
|
+
getInputChannel: this.getInputChannel.bind(this),
|
|
556
559
|
getEntity: this[getEntity].bind(this),
|
|
557
560
|
handleUpdate: __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).bind(this),
|
|
558
561
|
parseMode: __classPrivateFieldGet(this, _Client_parseMode, "f"),
|
|
@@ -610,6 +613,7 @@ export class Client extends ClientAbstract {
|
|
|
610
613
|
__classPrivateFieldSet(this, _Client_reactionManager, new ReactionManager(c), "f");
|
|
611
614
|
__classPrivateFieldSet(this, _Client_messageManager, new MessageManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f") }), "f");
|
|
612
615
|
__classPrivateFieldSet(this, _Client_callbackQueryManager, new CallbackQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
616
|
+
__classPrivateFieldSet(this, _Client_storyManager, new StoryManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f"), messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
613
617
|
__classPrivateFieldSet(this, _Client_inlineQueryManager, new InlineQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
614
618
|
__classPrivateFieldSet(this, _Client_chatListManager, new ChatListManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
615
619
|
__classPrivateFieldGet(this, _Client_updateManager, "f").setUpdateHandler(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleUpdate).bind(this));
|
|
@@ -726,7 +730,7 @@ export class Client extends ClientAbstract {
|
|
|
726
730
|
release();
|
|
727
731
|
}
|
|
728
732
|
}
|
|
729
|
-
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) {
|
|
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_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) {
|
|
730
734
|
__classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
|
|
731
735
|
__classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
|
|
732
736
|
}, _Client_setAuth = async function _Client_setAuth(key) {
|
|
@@ -947,6 +951,9 @@ export class Client extends ClientAbstract {
|
|
|
947
951
|
return this.invoke(function_, true);
|
|
948
952
|
}
|
|
949
953
|
async getInputPeer(id) {
|
|
954
|
+
if (id === "me") {
|
|
955
|
+
return new types.InputPeerSelf();
|
|
956
|
+
}
|
|
950
957
|
const inputPeer = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getInputPeerInner).call(this, id);
|
|
951
958
|
if ((inputPeer instanceof types.InputPeerUser || inputPeer instanceof types.InputPeerChannel && inputPeer.access_hash == 0n) && await this.storage.getAccountType() == "bot") {
|
|
952
959
|
if ("channel_id" in inputPeer) {
|
|
@@ -1364,7 +1371,7 @@ export class Client extends ClientAbstract {
|
|
|
1364
1371
|
/**
|
|
1365
1372
|
* Send a text message.
|
|
1366
1373
|
*
|
|
1367
|
-
* @method
|
|
1374
|
+
* @method ms
|
|
1368
1375
|
* @param chatId The chat to send the message to.
|
|
1369
1376
|
* @param text The message's text.
|
|
1370
1377
|
* @returns The sent text message.
|
|
@@ -1375,7 +1382,7 @@ export class Client extends ClientAbstract {
|
|
|
1375
1382
|
/**
|
|
1376
1383
|
* Edit a message's text.
|
|
1377
1384
|
*
|
|
1378
|
-
* @method
|
|
1385
|
+
* @method ms
|
|
1379
1386
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1380
1387
|
* @param messageId The message's identifier.
|
|
1381
1388
|
* @param text The new text of the message.
|
|
@@ -1387,7 +1394,7 @@ export class Client extends ClientAbstract {
|
|
|
1387
1394
|
/**
|
|
1388
1395
|
* Edit an inline message's text.
|
|
1389
1396
|
*
|
|
1390
|
-
* @method
|
|
1397
|
+
* @method ms
|
|
1391
1398
|
* @param inlineMessageId The inline message's identifier.
|
|
1392
1399
|
* @param text The new text of the message.
|
|
1393
1400
|
*/
|
|
@@ -1397,7 +1404,7 @@ export class Client extends ClientAbstract {
|
|
|
1397
1404
|
/**
|
|
1398
1405
|
* Edit a message's reply markup.
|
|
1399
1406
|
*
|
|
1400
|
-
* @method
|
|
1407
|
+
* @method ms
|
|
1401
1408
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1402
1409
|
* @param messageId The message's identifier.
|
|
1403
1410
|
* @returns The edited message.
|
|
@@ -1408,7 +1415,7 @@ export class Client extends ClientAbstract {
|
|
|
1408
1415
|
/**
|
|
1409
1416
|
* Edit an inline message's reply markup.
|
|
1410
1417
|
*
|
|
1411
|
-
* @method
|
|
1418
|
+
* @method ms
|
|
1412
1419
|
* @param inlineMessageId The inline message's identifier.
|
|
1413
1420
|
*/
|
|
1414
1421
|
async editInlineMessageReplyMarkup(inlineMessageId, params) {
|
|
@@ -1417,7 +1424,7 @@ export class Client extends ClientAbstract {
|
|
|
1417
1424
|
/**
|
|
1418
1425
|
* Retrieve multiple messages.
|
|
1419
1426
|
*
|
|
1420
|
-
* @method
|
|
1427
|
+
* @method ms
|
|
1421
1428
|
* @param chatId The identifier of the chat to retrieve the messages from.
|
|
1422
1429
|
* @param messageIds The identifiers of the messages to retrieve.
|
|
1423
1430
|
* @example ```ts
|
|
@@ -1431,7 +1438,7 @@ export class Client extends ClientAbstract {
|
|
|
1431
1438
|
/**
|
|
1432
1439
|
* Retrieve a single message.
|
|
1433
1440
|
*
|
|
1434
|
-
* @method
|
|
1441
|
+
* @method ms
|
|
1435
1442
|
* @param chatId The identifier of the chat to retrieve the message from.
|
|
1436
1443
|
* @param messageId The identifier of the message to retrieve.
|
|
1437
1444
|
* @example ```ts
|
|
@@ -1445,7 +1452,7 @@ export class Client extends ClientAbstract {
|
|
|
1445
1452
|
/**
|
|
1446
1453
|
* Download a file.
|
|
1447
1454
|
*
|
|
1448
|
-
* @method
|
|
1455
|
+
* @method fs
|
|
1449
1456
|
* @param fileId The identifier of the file to download.
|
|
1450
1457
|
* @example ```ts
|
|
1451
1458
|
* for await (const chunk of client.download(fileId, { chunkSize: 256 * 1024 })) {
|
|
@@ -1462,7 +1469,7 @@ export class Client extends ClientAbstract {
|
|
|
1462
1469
|
/**
|
|
1463
1470
|
* Forward multiple messages.
|
|
1464
1471
|
*
|
|
1465
|
-
* @method
|
|
1472
|
+
* @method ms
|
|
1466
1473
|
* @param from The identifier of the chat to forward the messages from.
|
|
1467
1474
|
* @param to The identifier of the chat to forward the messages to.
|
|
1468
1475
|
* @param messageIds The identifiers of the messages to forward.
|
|
@@ -1474,7 +1481,7 @@ export class Client extends ClientAbstract {
|
|
|
1474
1481
|
/**
|
|
1475
1482
|
* Forward a single message.
|
|
1476
1483
|
*
|
|
1477
|
-
* @method
|
|
1484
|
+
* @method ms
|
|
1478
1485
|
* @param from The identifier of the chat to forward the message from.
|
|
1479
1486
|
* @param to The identifier of the chat to forward the message to.
|
|
1480
1487
|
* @param messageId The identifier of the message to forward.
|
|
@@ -1486,7 +1493,7 @@ export class Client extends ClientAbstract {
|
|
|
1486
1493
|
/**
|
|
1487
1494
|
* Get information on the currently authorized user.
|
|
1488
1495
|
*
|
|
1489
|
-
* @method
|
|
1496
|
+
* @method ac
|
|
1490
1497
|
*/
|
|
1491
1498
|
async getMe() {
|
|
1492
1499
|
const users = await this.api.users.getUsers({ id: [new types.InputUserSelf()] });
|
|
@@ -1500,7 +1507,7 @@ export class Client extends ClientAbstract {
|
|
|
1500
1507
|
/**
|
|
1501
1508
|
* Answer a callback query. Bot-only.
|
|
1502
1509
|
*
|
|
1503
|
-
* @method
|
|
1510
|
+
* @method cq
|
|
1504
1511
|
* @param id ID of the callback query to answer.
|
|
1505
1512
|
*/
|
|
1506
1513
|
async answerCallbackQuery(id, params) {
|
|
@@ -1509,7 +1516,7 @@ export class Client extends ClientAbstract {
|
|
|
1509
1516
|
/**
|
|
1510
1517
|
* Send a poll.
|
|
1511
1518
|
*
|
|
1512
|
-
* @method
|
|
1519
|
+
* @method ms
|
|
1513
1520
|
* @param chatId The chat to send the poll to.
|
|
1514
1521
|
* @param question The poll's question.
|
|
1515
1522
|
* @param options The poll's options.
|
|
@@ -1521,7 +1528,7 @@ export class Client extends ClientAbstract {
|
|
|
1521
1528
|
/**
|
|
1522
1529
|
* Send a chat action.
|
|
1523
1530
|
*
|
|
1524
|
-
* @method
|
|
1531
|
+
* @method ms
|
|
1525
1532
|
* @param chatId The chat to send the chat action to.
|
|
1526
1533
|
* @param action The chat action.
|
|
1527
1534
|
* @param messageThreadId The thread to send the chat action to.
|
|
@@ -1532,7 +1539,7 @@ export class Client extends ClientAbstract {
|
|
|
1532
1539
|
/**
|
|
1533
1540
|
* Upload a file.
|
|
1534
1541
|
*
|
|
1535
|
-
* @method
|
|
1542
|
+
* @method fs
|
|
1536
1543
|
* @param contents The contents of the file.
|
|
1537
1544
|
*/
|
|
1538
1545
|
async upload(contents, params) {
|
|
@@ -1541,7 +1548,7 @@ export class Client extends ClientAbstract {
|
|
|
1541
1548
|
/**
|
|
1542
1549
|
* Set the bot's commands in the given scope and/or language. Bot-only.
|
|
1543
1550
|
*
|
|
1544
|
-
* @method
|
|
1551
|
+
* @method bs
|
|
1545
1552
|
* @param commands The commands to set.
|
|
1546
1553
|
*/
|
|
1547
1554
|
async setMyCommands(commands, params) {
|
|
@@ -1549,6 +1556,8 @@ export class Client extends ClientAbstract {
|
|
|
1549
1556
|
}
|
|
1550
1557
|
/**
|
|
1551
1558
|
* Get the bot's commands in the given scope and/or language. Bot-only.
|
|
1559
|
+
*
|
|
1560
|
+
* @method bs
|
|
1552
1561
|
*/
|
|
1553
1562
|
async getMyCommands(params) {
|
|
1554
1563
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyCommands(params);
|
|
@@ -1556,7 +1565,7 @@ export class Client extends ClientAbstract {
|
|
|
1556
1565
|
/**
|
|
1557
1566
|
* Answer an inline query. Bot-only.
|
|
1558
1567
|
*
|
|
1559
|
-
* @method
|
|
1568
|
+
* @method iq
|
|
1560
1569
|
* @param id The ID of the inline query to answer.
|
|
1561
1570
|
* @param results The results to answer with.
|
|
1562
1571
|
*/
|
|
@@ -1566,7 +1575,7 @@ export class Client extends ClientAbstract {
|
|
|
1566
1575
|
/**
|
|
1567
1576
|
* Set the bot's description in the given language. Bot-only.
|
|
1568
1577
|
*
|
|
1569
|
-
* @method
|
|
1578
|
+
* @method bs
|
|
1570
1579
|
*/
|
|
1571
1580
|
async setMyDescription(params) {
|
|
1572
1581
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyDescription(params);
|
|
@@ -1574,7 +1583,7 @@ export class Client extends ClientAbstract {
|
|
|
1574
1583
|
/**
|
|
1575
1584
|
* Set the bot's name in the given language. Bot-only.
|
|
1576
1585
|
*
|
|
1577
|
-
* @method
|
|
1586
|
+
* @method bs
|
|
1578
1587
|
*/
|
|
1579
1588
|
async setMyName(params) {
|
|
1580
1589
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyName(params);
|
|
@@ -1582,7 +1591,7 @@ export class Client extends ClientAbstract {
|
|
|
1582
1591
|
/**
|
|
1583
1592
|
* Set the bot's short description in the given language. Bot-only.
|
|
1584
1593
|
*
|
|
1585
|
-
* @method
|
|
1594
|
+
* @method bs
|
|
1586
1595
|
*/
|
|
1587
1596
|
async setMyShortDescription(params) {
|
|
1588
1597
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyShortDescription(params);
|
|
@@ -1590,7 +1599,7 @@ export class Client extends ClientAbstract {
|
|
|
1590
1599
|
/**
|
|
1591
1600
|
* Get the bot's description in the given language. Bot-only.
|
|
1592
1601
|
*
|
|
1593
|
-
* @method
|
|
1602
|
+
* @method bs
|
|
1594
1603
|
*/
|
|
1595
1604
|
async getMyDescription(params) {
|
|
1596
1605
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyDescription(params);
|
|
@@ -1598,7 +1607,7 @@ export class Client extends ClientAbstract {
|
|
|
1598
1607
|
/**
|
|
1599
1608
|
* Set the bot's name in the given language. Bot-only.
|
|
1600
1609
|
*
|
|
1601
|
-
* @method
|
|
1610
|
+
* @method bs
|
|
1602
1611
|
*/
|
|
1603
1612
|
async getMyName(params) {
|
|
1604
1613
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyName(params);
|
|
@@ -1606,7 +1615,7 @@ export class Client extends ClientAbstract {
|
|
|
1606
1615
|
/**
|
|
1607
1616
|
* Get the bot's short description in the given language. Bot-only.
|
|
1608
1617
|
*
|
|
1609
|
-
* @method
|
|
1618
|
+
* @method bs
|
|
1610
1619
|
*/
|
|
1611
1620
|
async getMyShortDescription(params) {
|
|
1612
1621
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyShortDescription(params);
|
|
@@ -1614,9 +1623,9 @@ export class Client extends ClientAbstract {
|
|
|
1614
1623
|
/**
|
|
1615
1624
|
* Delete multiple messages.
|
|
1616
1625
|
*
|
|
1617
|
-
* @method
|
|
1626
|
+
* @method ms
|
|
1618
1627
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1619
|
-
* @param messageIds The
|
|
1628
|
+
* @param messageIds The identifiers of the messages to delete.
|
|
1620
1629
|
*/
|
|
1621
1630
|
async deleteMessages(chatId, messageIds, params) {
|
|
1622
1631
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").deleteMessages(chatId, messageIds, params);
|
|
@@ -1624,7 +1633,7 @@ export class Client extends ClientAbstract {
|
|
|
1624
1633
|
/**
|
|
1625
1634
|
* Delete a single message.
|
|
1626
1635
|
*
|
|
1627
|
-
* @method
|
|
1636
|
+
* @method ms
|
|
1628
1637
|
* @param chatId The identifier of the chat that contains the message.
|
|
1629
1638
|
* @param messageId The identifier of the message to delete.
|
|
1630
1639
|
*/
|
|
@@ -1634,7 +1643,7 @@ export class Client extends ClientAbstract {
|
|
|
1634
1643
|
/**
|
|
1635
1644
|
* Send a photo.
|
|
1636
1645
|
*
|
|
1637
|
-
* @method
|
|
1646
|
+
* @method ms
|
|
1638
1647
|
* @param chatId The chat to send the photo to.
|
|
1639
1648
|
* @param photo The photo to send.
|
|
1640
1649
|
*/
|
|
@@ -1644,7 +1653,7 @@ export class Client extends ClientAbstract {
|
|
|
1644
1653
|
/**
|
|
1645
1654
|
* Send a document.
|
|
1646
1655
|
*
|
|
1647
|
-
* @method
|
|
1656
|
+
* @method ms
|
|
1648
1657
|
* @param chatId The chat to send the document to.
|
|
1649
1658
|
* @param document The document to send.
|
|
1650
1659
|
*/
|
|
@@ -1654,7 +1663,7 @@ export class Client extends ClientAbstract {
|
|
|
1654
1663
|
/**
|
|
1655
1664
|
* Send a video.
|
|
1656
1665
|
*
|
|
1657
|
-
* @method
|
|
1666
|
+
* @method ms
|
|
1658
1667
|
* @param chatId The chat to send the video to.
|
|
1659
1668
|
* @param video The video to send.
|
|
1660
1669
|
*/
|
|
@@ -1664,7 +1673,7 @@ export class Client extends ClientAbstract {
|
|
|
1664
1673
|
/**
|
|
1665
1674
|
* Send an animation.
|
|
1666
1675
|
*
|
|
1667
|
-
* @method
|
|
1676
|
+
* @method ms
|
|
1668
1677
|
* @param chatId The chat to send the animation to.
|
|
1669
1678
|
* @param animation The animation to send.
|
|
1670
1679
|
*/
|
|
@@ -1674,7 +1683,7 @@ export class Client extends ClientAbstract {
|
|
|
1674
1683
|
/**
|
|
1675
1684
|
* Send a voice message.
|
|
1676
1685
|
*
|
|
1677
|
-
* @method
|
|
1686
|
+
* @method ms
|
|
1678
1687
|
* @param chatId The chat to send the voice message to.
|
|
1679
1688
|
* @param voice The voice to send.
|
|
1680
1689
|
*/
|
|
@@ -1684,7 +1693,7 @@ export class Client extends ClientAbstract {
|
|
|
1684
1693
|
/**
|
|
1685
1694
|
* Send an audio file.
|
|
1686
1695
|
*
|
|
1687
|
-
* @method
|
|
1696
|
+
* @method ms
|
|
1688
1697
|
* @param chatId The chat to send the audio file to.
|
|
1689
1698
|
* @param audio The audio to send.
|
|
1690
1699
|
*/
|
|
@@ -1694,7 +1703,7 @@ export class Client extends ClientAbstract {
|
|
|
1694
1703
|
/**
|
|
1695
1704
|
* Send a video note.
|
|
1696
1705
|
*
|
|
1697
|
-
* @method
|
|
1706
|
+
* @method ms
|
|
1698
1707
|
* @param chatId The chat to send the video note to.
|
|
1699
1708
|
* @param videoNote The video note to send.
|
|
1700
1709
|
*/
|
|
@@ -1704,7 +1713,7 @@ export class Client extends ClientAbstract {
|
|
|
1704
1713
|
/**
|
|
1705
1714
|
* Send a location.
|
|
1706
1715
|
*
|
|
1707
|
-
* @method
|
|
1716
|
+
* @method ms
|
|
1708
1717
|
* @param chatId The chat to send the location to.
|
|
1709
1718
|
* @param latitude The location's latitude.
|
|
1710
1719
|
* @param longitude The location's longitude.
|
|
@@ -1715,7 +1724,7 @@ export class Client extends ClientAbstract {
|
|
|
1715
1724
|
/**
|
|
1716
1725
|
* Send a contact.
|
|
1717
1726
|
*
|
|
1718
|
-
* @method
|
|
1727
|
+
* @method ms
|
|
1719
1728
|
* @param chatId The chat to send the contact to.
|
|
1720
1729
|
* @param firstName The contact's first name.
|
|
1721
1730
|
* @param number The contact's phone number.
|
|
@@ -1726,7 +1735,7 @@ export class Client extends ClientAbstract {
|
|
|
1726
1735
|
/**
|
|
1727
1736
|
* Send a dice.
|
|
1728
1737
|
*
|
|
1729
|
-
* @method
|
|
1738
|
+
* @method ms
|
|
1730
1739
|
* @param chatId The chat to send the dice to.
|
|
1731
1740
|
*/
|
|
1732
1741
|
async sendDice(chatId, params) {
|
|
@@ -1735,7 +1744,7 @@ export class Client extends ClientAbstract {
|
|
|
1735
1744
|
/**
|
|
1736
1745
|
* Send a venue.
|
|
1737
1746
|
*
|
|
1738
|
-
* @method
|
|
1747
|
+
* @method ms
|
|
1739
1748
|
* @param chatId The chat to send the venue to.
|
|
1740
1749
|
* @param latitude The latitude of the venue.
|
|
1741
1750
|
* @param longitude The longitude of the venue.
|
|
@@ -1748,7 +1757,7 @@ export class Client extends ClientAbstract {
|
|
|
1748
1757
|
/**
|
|
1749
1758
|
* Get network statistics. This might not always be available.
|
|
1750
1759
|
*
|
|
1751
|
-
* @method
|
|
1760
|
+
* @method mc
|
|
1752
1761
|
*/
|
|
1753
1762
|
async getNetworkStatistics() {
|
|
1754
1763
|
return await __classPrivateFieldGet(this, _Client_networkStatisticsManager, "f").getNetworkStatistics();
|
|
@@ -1756,7 +1765,7 @@ export class Client extends ClientAbstract {
|
|
|
1756
1765
|
/**
|
|
1757
1766
|
* Get chats from a chat list. User-only.
|
|
1758
1767
|
*
|
|
1759
|
-
* @method
|
|
1768
|
+
* @method ch
|
|
1760
1769
|
*/
|
|
1761
1770
|
async getChats(params) {
|
|
1762
1771
|
return await __classPrivateFieldGet(this, _Client_chatListManager, "f").getChats(params?.from, params?.after, params?.limit);
|
|
@@ -1764,7 +1773,7 @@ export class Client extends ClientAbstract {
|
|
|
1764
1773
|
/**
|
|
1765
1774
|
* Get a chat.
|
|
1766
1775
|
*
|
|
1767
|
-
* @method
|
|
1776
|
+
* @method ch
|
|
1768
1777
|
*/
|
|
1769
1778
|
async getChat(chatId) {
|
|
1770
1779
|
return await __classPrivateFieldGet(this, _Client_chatListManager, "f").getChat(chatId);
|
|
@@ -1772,7 +1781,7 @@ export class Client extends ClientAbstract {
|
|
|
1772
1781
|
/**
|
|
1773
1782
|
* Get chat history. User-only.
|
|
1774
1783
|
*
|
|
1775
|
-
* @method
|
|
1784
|
+
* @method ch
|
|
1776
1785
|
* @param chatId The identifier of the chat to get its history.
|
|
1777
1786
|
*/
|
|
1778
1787
|
async getHistory(chatId, params) {
|
|
@@ -1781,7 +1790,7 @@ export class Client extends ClientAbstract {
|
|
|
1781
1790
|
/**
|
|
1782
1791
|
* Get custom emoji documents for download.
|
|
1783
1792
|
*
|
|
1784
|
-
* @method
|
|
1793
|
+
* @method fs
|
|
1785
1794
|
* @param id Identifier of one or more of custom emojis.
|
|
1786
1795
|
*/
|
|
1787
1796
|
async getCustomEmojiDocuments(id) {
|
|
@@ -1790,7 +1799,7 @@ export class Client extends ClientAbstract {
|
|
|
1790
1799
|
/**
|
|
1791
1800
|
* Set a chat's available reactions.
|
|
1792
1801
|
*
|
|
1793
|
-
* @method
|
|
1802
|
+
* @method ch
|
|
1794
1803
|
* @param chatId The identifier of the chat.
|
|
1795
1804
|
* @param availableReactions The new available reactions.
|
|
1796
1805
|
*/
|
|
@@ -1800,7 +1809,7 @@ export class Client extends ClientAbstract {
|
|
|
1800
1809
|
/**
|
|
1801
1810
|
* Change reactions made to a message.
|
|
1802
1811
|
*
|
|
1803
|
-
* @method
|
|
1812
|
+
* @method re
|
|
1804
1813
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1805
1814
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1806
1815
|
* @param reactions The new reactions.
|
|
@@ -1811,7 +1820,7 @@ export class Client extends ClientAbstract {
|
|
|
1811
1820
|
/**
|
|
1812
1821
|
* Make a reaction to a message.
|
|
1813
1822
|
*
|
|
1814
|
-
* @method
|
|
1823
|
+
* @method re
|
|
1815
1824
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1816
1825
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1817
1826
|
* @param reaction The reaction to add.
|
|
@@ -1822,7 +1831,7 @@ export class Client extends ClientAbstract {
|
|
|
1822
1831
|
/**
|
|
1823
1832
|
* Undo a reaction made to a message.
|
|
1824
1833
|
*
|
|
1825
|
-
* @method
|
|
1834
|
+
* @method re
|
|
1826
1835
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1827
1836
|
* @param messageId The identifier of the message which the reaction was made to.
|
|
1828
1837
|
* @param reaction The reaction to remove.
|
|
@@ -1833,7 +1842,7 @@ export class Client extends ClientAbstract {
|
|
|
1833
1842
|
/**
|
|
1834
1843
|
* Set a chat's photo.
|
|
1835
1844
|
*
|
|
1836
|
-
* @method
|
|
1845
|
+
* @method ch
|
|
1837
1846
|
* @param chatId The identifier of the chat.
|
|
1838
1847
|
* @param photo A photo to set as the chat's photo.
|
|
1839
1848
|
*/
|
|
@@ -1843,7 +1852,7 @@ export class Client extends ClientAbstract {
|
|
|
1843
1852
|
/**
|
|
1844
1853
|
* Delete a chat's photo.
|
|
1845
1854
|
*
|
|
1846
|
-
* @method
|
|
1855
|
+
* @method ch
|
|
1847
1856
|
* @param chatId The identifier of the chat.
|
|
1848
1857
|
*/
|
|
1849
1858
|
async deleteChatPhoto(chatId) {
|
|
@@ -1852,7 +1861,7 @@ export class Client extends ClientAbstract {
|
|
|
1852
1861
|
/**
|
|
1853
1862
|
* Delete all messages sent by a specific member of a chat.
|
|
1854
1863
|
*
|
|
1855
|
-
* @method
|
|
1864
|
+
* @method ms
|
|
1856
1865
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1857
1866
|
* @param memberId The identifier of the member.
|
|
1858
1867
|
*/
|
|
@@ -1862,7 +1871,7 @@ export class Client extends ClientAbstract {
|
|
|
1862
1871
|
/**
|
|
1863
1872
|
* Pin a message in a chat.
|
|
1864
1873
|
*
|
|
1865
|
-
* @method
|
|
1874
|
+
* @method ms
|
|
1866
1875
|
* @param chatId The identifier of the chat that contains the message.
|
|
1867
1876
|
* @param messageId The message's identifier.
|
|
1868
1877
|
*/
|
|
@@ -1872,7 +1881,7 @@ export class Client extends ClientAbstract {
|
|
|
1872
1881
|
/**
|
|
1873
1882
|
* Unpin a pinned message.
|
|
1874
1883
|
*
|
|
1875
|
-
* @method
|
|
1884
|
+
* @method ms
|
|
1876
1885
|
* @param chatId The identifier of the chat that contains the message.
|
|
1877
1886
|
* @param messageId The message's identifier.
|
|
1878
1887
|
*/
|
|
@@ -1882,7 +1891,7 @@ export class Client extends ClientAbstract {
|
|
|
1882
1891
|
/**
|
|
1883
1892
|
* Unpin all pinned messages.
|
|
1884
1893
|
*
|
|
1885
|
-
* @method
|
|
1894
|
+
* @method ms
|
|
1886
1895
|
* @param chatId The identifier of the chat.
|
|
1887
1896
|
*/
|
|
1888
1897
|
async unpinMessages(chatId) {
|
|
@@ -1891,7 +1900,7 @@ export class Client extends ClientAbstract {
|
|
|
1891
1900
|
/**
|
|
1892
1901
|
* Ban a member from a chat.
|
|
1893
1902
|
*
|
|
1894
|
-
* @method
|
|
1903
|
+
* @method ch
|
|
1895
1904
|
* @param chatId The identifier of the chat.
|
|
1896
1905
|
* @param memberId The identifier of the member.
|
|
1897
1906
|
*/
|
|
@@ -1901,7 +1910,7 @@ export class Client extends ClientAbstract {
|
|
|
1901
1910
|
/**
|
|
1902
1911
|
* Unban a member from a chat.
|
|
1903
1912
|
*
|
|
1904
|
-
* @method
|
|
1913
|
+
* @method ch
|
|
1905
1914
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1906
1915
|
* @param memberId The identifier of the member.
|
|
1907
1916
|
*/
|
|
@@ -1911,7 +1920,7 @@ export class Client extends ClientAbstract {
|
|
|
1911
1920
|
/**
|
|
1912
1921
|
* Kick a member from a chat. Same as a banChatMember call followed by unbanChatMember.
|
|
1913
1922
|
*
|
|
1914
|
-
* @method
|
|
1923
|
+
* @method ch
|
|
1915
1924
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1916
1925
|
* @param memberId The identifier of the member.
|
|
1917
1926
|
*/
|
|
@@ -1922,7 +1931,7 @@ export class Client extends ClientAbstract {
|
|
|
1922
1931
|
/**
|
|
1923
1932
|
* Set the rights of a chat member.
|
|
1924
1933
|
*
|
|
1925
|
-
* @method
|
|
1934
|
+
* @method ch
|
|
1926
1935
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1927
1936
|
* @param memberId The identifier of a member.
|
|
1928
1937
|
*/
|
|
@@ -1932,12 +1941,123 @@ export class Client extends ClientAbstract {
|
|
|
1932
1941
|
/**
|
|
1933
1942
|
* Get the administrators of a chat.
|
|
1934
1943
|
*
|
|
1935
|
-
* @method
|
|
1944
|
+
* @method ch
|
|
1936
1945
|
* @param chatId The identifier of the chat.
|
|
1937
1946
|
*/
|
|
1938
1947
|
async getChatAdministrators(chatId) {
|
|
1939
1948
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").getChatAdministrators(chatId);
|
|
1940
1949
|
}
|
|
1950
|
+
/**
|
|
1951
|
+
* Create a story. User-only.
|
|
1952
|
+
*
|
|
1953
|
+
* @method st
|
|
1954
|
+
* @param content The content of the story.
|
|
1955
|
+
* @returns The created story.
|
|
1956
|
+
*/
|
|
1957
|
+
async createStory(chatId, content, params) {
|
|
1958
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").createStory(chatId, content, params);
|
|
1959
|
+
}
|
|
1960
|
+
/**
|
|
1961
|
+
* Retrieve multiple stories. User-only.
|
|
1962
|
+
*
|
|
1963
|
+
* @method st
|
|
1964
|
+
* @param chatId The identifier of the chat to retrieve the stories from.
|
|
1965
|
+
* @param storyIds The identifiers of the stories to retrieve.
|
|
1966
|
+
*/
|
|
1967
|
+
async getStories(chatId, storyIds) {
|
|
1968
|
+
if (!storyIds.length) {
|
|
1969
|
+
return [];
|
|
1970
|
+
}
|
|
1971
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStories(chatId, storyIds);
|
|
1972
|
+
}
|
|
1973
|
+
/**
|
|
1974
|
+
* Retrieve a single story. User-only.
|
|
1975
|
+
*
|
|
1976
|
+
* @method st
|
|
1977
|
+
* @param chatId The identifier of the chat to retrieve the story from.
|
|
1978
|
+
* @param storyId The identifier of the story to retrieve.
|
|
1979
|
+
*/
|
|
1980
|
+
async getStory(chatId, storyId) {
|
|
1981
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStory(chatId, storyId);
|
|
1982
|
+
}
|
|
1983
|
+
/**
|
|
1984
|
+
* Delete multiple stories. User-only.
|
|
1985
|
+
*
|
|
1986
|
+
* @method st
|
|
1987
|
+
* @param chatId The identifier of the chat to delete the stories from.
|
|
1988
|
+
* @param storyIds The identifiers of the stories to delete.
|
|
1989
|
+
*/
|
|
1990
|
+
async deleteStories(chatId, storyIds) {
|
|
1991
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").deleteStories(chatId, storyIds);
|
|
1992
|
+
}
|
|
1993
|
+
/**
|
|
1994
|
+
* Delete a single story. User-only.
|
|
1995
|
+
*
|
|
1996
|
+
* @method st
|
|
1997
|
+
* @param chatId The identifier of the chat to delete the story from.
|
|
1998
|
+
* @param storyId The identifier of the story to delete.
|
|
1999
|
+
*/
|
|
2000
|
+
async deleteStory(chatId, storyId) {
|
|
2001
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").deleteStory(chatId, storyId);
|
|
2002
|
+
}
|
|
2003
|
+
/**
|
|
2004
|
+
* Add multiple stories to highlights. User-only.
|
|
2005
|
+
*
|
|
2006
|
+
* @method st
|
|
2007
|
+
* @param chatId The identifier of the chat that has the stories.
|
|
2008
|
+
* @param storyIds The identifiers of the stories to add to highlights.
|
|
2009
|
+
*/
|
|
2010
|
+
async addStoriesToHighlights(chatId, storyIds) {
|
|
2011
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").addStoriesToHighlights(chatId, storyIds);
|
|
2012
|
+
}
|
|
2013
|
+
/**
|
|
2014
|
+
* Add a single story to highlights. User-only.
|
|
2015
|
+
*
|
|
2016
|
+
* @method st
|
|
2017
|
+
* @param chatId The identifier of the chat that has the story.
|
|
2018
|
+
* @param storyId The identifier of the story to add to highlights.
|
|
2019
|
+
*/
|
|
2020
|
+
async addStoryToHighlights(chatId, storyId) {
|
|
2021
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").addStoryToHighlights(chatId, storyId);
|
|
2022
|
+
}
|
|
2023
|
+
/**
|
|
2024
|
+
* Remove multiple stories from highlights. User-only.
|
|
2025
|
+
*
|
|
2026
|
+
* @method st
|
|
2027
|
+
* @param chatId The identifier of the chat that has the stories.
|
|
2028
|
+
* @param storyIds The identifiers of the stories to remove from highlights.
|
|
2029
|
+
*/
|
|
2030
|
+
async removeStoriesFromHighlights(chatId, storyIds) {
|
|
2031
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").removeStoriesFromHighlights(chatId, storyIds);
|
|
2032
|
+
}
|
|
2033
|
+
/**
|
|
2034
|
+
* Remove a single story from highlights. User-only.
|
|
2035
|
+
*
|
|
2036
|
+
* @method st
|
|
2037
|
+
* @param chatId The identifier of the chat that has the story.
|
|
2038
|
+
* @param storyId The identifier of the story to remove from highlights.
|
|
2039
|
+
*/
|
|
2040
|
+
async removeStoryFromHighlights(chatId, storyId) {
|
|
2041
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").removeStoryFromHighlights(chatId, storyId);
|
|
2042
|
+
}
|
|
2043
|
+
/**
|
|
2044
|
+
* Enable join requests in a chat. User-only.
|
|
2045
|
+
*
|
|
2046
|
+
* @method ch
|
|
2047
|
+
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
2048
|
+
*/
|
|
2049
|
+
async enableJoinRequests(chatId) {
|
|
2050
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").enableJoinRequests(chatId);
|
|
2051
|
+
}
|
|
2052
|
+
/**
|
|
2053
|
+
* Disable join requests in a chat. User-only.
|
|
2054
|
+
*
|
|
2055
|
+
* @method ch
|
|
2056
|
+
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
2057
|
+
*/
|
|
2058
|
+
async disableJoinRequests(chatId) {
|
|
2059
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").disableJoinRequests(chatId);
|
|
2060
|
+
}
|
|
1941
2061
|
}
|
|
1942
2062
|
_Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
1943
2063
|
await __classPrivateFieldGet(this, _Client_handle, "f").call(this, await __classPrivateFieldGet(this, _Client_constructContext, "f").call(this, update), resolve);
|
|
@@ -1991,6 +2111,12 @@ _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
|
1991
2111
|
if (ChatListManager.canHandleUpdate(update)) {
|
|
1992
2112
|
await __classPrivateFieldGet(this, _Client_chatListManager, "f").handleUpdate(update);
|
|
1993
2113
|
}
|
|
2114
|
+
if (StoryManager.canHandleUpdate(update)) {
|
|
2115
|
+
const upd = await __classPrivateFieldGet(this, _Client_storyManager, "f").handleUpdate(update);
|
|
2116
|
+
if (upd) {
|
|
2117
|
+
promises.push(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleCtxUpdate).call(this, upd));
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
1994
2120
|
return () => Promise.all(promises);
|
|
1995
2121
|
}, _Client_getMe = async function _Client_getMe() {
|
|
1996
2122
|
if (__classPrivateFieldGet(this, _Client_lastGetMe, "f") != null) {
|