@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/0_deps.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./deps/deno.land/std@0.
|
|
2
|
-
export * as path from "./deps/deno.land/std@0.
|
|
3
|
-
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.
|
|
4
|
-
export { contentType } from "./deps/deno.land/std@0.
|
|
1
|
+
export * from "./deps/deno.land/std@0.216.0/assert/mod.js";
|
|
2
|
+
export * as path from "./deps/deno.land/std@0.216.0/path/mod.js";
|
|
3
|
+
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.216.0/encoding/base64.js";
|
|
4
|
+
export { contentType } from "./deps/deno.land/std@0.216.0/media_types/content_type.js";
|
|
5
5
|
export declare function extension(mimeType: string): string;
|
|
6
6
|
export { ctr256, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.3.3/mod.js";
|
|
7
7
|
export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js";
|
package/esm/0_deps.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./deps/deno.land/std@0.
|
|
2
|
-
export * as path from "./deps/deno.land/std@0.
|
|
3
|
-
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.
|
|
4
|
-
export { contentType } from "./deps/deno.land/std@0.
|
|
5
|
-
import { extension as extension_ } from "./deps/deno.land/std@0.
|
|
1
|
+
export * from "./deps/deno.land/std@0.216.0/assert/mod.js";
|
|
2
|
+
export * as path from "./deps/deno.land/std@0.216.0/path/mod.js";
|
|
3
|
+
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.216.0/encoding/base64.js";
|
|
4
|
+
export { contentType } from "./deps/deno.land/std@0.216.0/media_types/content_type.js";
|
|
5
|
+
import { extension as extension_ } from "./deps/deno.land/std@0.216.0/media_types/extension.js";
|
|
6
6
|
export function extension(mimeType) {
|
|
7
7
|
if (mimeType == "application/x-tgsticker") {
|
|
8
8
|
return "tgs";
|
package/esm/3_types.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from "./types/0_file_source.js";
|
|
|
12
12
|
export * from "./types/0_giveaway_parameters.js";
|
|
13
13
|
export * from "./types/0_id.js";
|
|
14
14
|
export * from "./types/0_keyboard_button_poll_type.js";
|
|
15
|
+
export * from "./types/0_link_preview.js";
|
|
15
16
|
export * from "./types/0_location.js";
|
|
16
17
|
export * from "./types/0_login_url.js";
|
|
17
18
|
export * from "./types/0_mask_position.js";
|
|
@@ -24,6 +25,7 @@ export * from "./types/0_poll_option.js";
|
|
|
24
25
|
export * from "./types/0_price_tag.js";
|
|
25
26
|
export * from "./types/0_reaction.js";
|
|
26
27
|
export * from "./types/0_restriction_reason.js";
|
|
28
|
+
export * from "./types/0_story_reference.js";
|
|
27
29
|
export * from "./types/0_thumbnail.js";
|
|
28
30
|
export * from "./types/0_venue.js";
|
|
29
31
|
export * from "./types/0_voice.js";
|
|
@@ -36,6 +38,7 @@ export * from "./types/1__getters.js";
|
|
|
36
38
|
export * from "./types/1_giveaway.js";
|
|
37
39
|
export * from "./types/1_inline_query_result_button.js";
|
|
38
40
|
export * from "./types/1_input_message_content.js";
|
|
41
|
+
export * from "./types/1_input_story_content.js";
|
|
39
42
|
export * from "./types/1_keyboard_button.js";
|
|
40
43
|
export * from "./types/1_message_reaction.js";
|
|
41
44
|
export * from "./types/1_network_statistics.js";
|
|
@@ -44,6 +47,9 @@ export * from "./types/1_poll.js";
|
|
|
44
47
|
export * from "./types/1_reaction_count.js";
|
|
45
48
|
export * from "./types/1_reply_quote.js";
|
|
46
49
|
export * from "./types/1_sticker.js";
|
|
50
|
+
export * from "./types/1_story_interactive_area.js";
|
|
51
|
+
export * from "./types/1_story_privacy.js";
|
|
52
|
+
export * from "./types/1_story_reaction.js";
|
|
47
53
|
export * from "./types/1_user.js";
|
|
48
54
|
export * from "./types/1_video_note.js";
|
|
49
55
|
export * from "./types/1_video.js";
|
|
@@ -56,8 +62,11 @@ export * from "./types/2_invite_link.js";
|
|
|
56
62
|
export * from "./types/2_message_interactions.js";
|
|
57
63
|
export * from "./types/2_message_reaction_count.js";
|
|
58
64
|
export * from "./types/2_message_reactions.js";
|
|
65
|
+
export * from "./types/2_story_content.js";
|
|
66
|
+
export * from "./types/2_story_interactions.js";
|
|
59
67
|
export * from "./types/3_chat_member_updated.js";
|
|
60
68
|
export * from "./types/3_reply_markup.js";
|
|
69
|
+
export * from "./types/3_story.js";
|
|
61
70
|
export * from "./types/4_inline_query_result.js";
|
|
62
71
|
export * from "./types/4_message.js";
|
|
63
72
|
export * from "./types/5_callback_query.js";
|
package/esm/3_types.js
CHANGED
|
@@ -12,6 +12,7 @@ export * from "./types/0_file_source.js";
|
|
|
12
12
|
export * from "./types/0_giveaway_parameters.js";
|
|
13
13
|
export * from "./types/0_id.js";
|
|
14
14
|
export * from "./types/0_keyboard_button_poll_type.js";
|
|
15
|
+
export * from "./types/0_link_preview.js";
|
|
15
16
|
export * from "./types/0_location.js";
|
|
16
17
|
export * from "./types/0_login_url.js";
|
|
17
18
|
export * from "./types/0_mask_position.js";
|
|
@@ -24,6 +25,7 @@ export * from "./types/0_poll_option.js";
|
|
|
24
25
|
export * from "./types/0_price_tag.js";
|
|
25
26
|
export * from "./types/0_reaction.js";
|
|
26
27
|
export * from "./types/0_restriction_reason.js";
|
|
28
|
+
export * from "./types/0_story_reference.js";
|
|
27
29
|
export * from "./types/0_thumbnail.js";
|
|
28
30
|
export * from "./types/0_venue.js";
|
|
29
31
|
export * from "./types/0_voice.js";
|
|
@@ -36,6 +38,7 @@ export * from "./types/1__getters.js";
|
|
|
36
38
|
export * from "./types/1_giveaway.js";
|
|
37
39
|
export * from "./types/1_inline_query_result_button.js";
|
|
38
40
|
export * from "./types/1_input_message_content.js";
|
|
41
|
+
export * from "./types/1_input_story_content.js";
|
|
39
42
|
export * from "./types/1_keyboard_button.js";
|
|
40
43
|
export * from "./types/1_message_reaction.js";
|
|
41
44
|
export * from "./types/1_network_statistics.js";
|
|
@@ -44,6 +47,9 @@ export * from "./types/1_poll.js";
|
|
|
44
47
|
export * from "./types/1_reaction_count.js";
|
|
45
48
|
export * from "./types/1_reply_quote.js";
|
|
46
49
|
export * from "./types/1_sticker.js";
|
|
50
|
+
export * from "./types/1_story_interactive_area.js";
|
|
51
|
+
export * from "./types/1_story_privacy.js";
|
|
52
|
+
export * from "./types/1_story_reaction.js";
|
|
47
53
|
export * from "./types/1_user.js";
|
|
48
54
|
export * from "./types/1_video_note.js";
|
|
49
55
|
export * from "./types/1_video.js";
|
|
@@ -56,8 +62,11 @@ export * from "./types/2_invite_link.js";
|
|
|
56
62
|
export * from "./types/2_message_interactions.js";
|
|
57
63
|
export * from "./types/2_message_reaction_count.js";
|
|
58
64
|
export * from "./types/2_message_reactions.js";
|
|
65
|
+
export * from "./types/2_story_content.js";
|
|
66
|
+
export * from "./types/2_story_interactions.js";
|
|
59
67
|
export * from "./types/3_chat_member_updated.js";
|
|
60
68
|
export * from "./types/3_reply_markup.js";
|
|
69
|
+
export * from "./types/3_story.js";
|
|
61
70
|
export * from "./types/4_inline_query_result.js";
|
|
62
71
|
export * from "./types/4_message.js";
|
|
63
72
|
export * from "./types/5_callback_query.js";
|
package/esm/4_constants.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type PublicKeys = readonly [bigint, [bigint, bigint]][];
|
|
|
4
4
|
export declare const PUBLIC_KEYS: PublicKeys;
|
|
5
5
|
export declare const INITIAL_DC: DC;
|
|
6
6
|
export declare const LAYER = 173;
|
|
7
|
-
export declare const APP_VERSION = "MTKruto 0.1.
|
|
7
|
+
export declare const APP_VERSION = "MTKruto 0.1.152";
|
|
8
8
|
export declare const DEVICE_MODEL: string;
|
|
9
9
|
export declare const LANG_CODE: string;
|
|
10
10
|
export declare const LANG_PACK = "";
|
package/esm/4_constants.js
CHANGED
|
@@ -53,7 +53,7 @@ export const PUBLIC_KEYS = Object.freeze([
|
|
|
53
53
|
]);
|
|
54
54
|
export const INITIAL_DC = "2";
|
|
55
55
|
export const LAYER = 173;
|
|
56
|
-
export const APP_VERSION = "MTKruto 0.1.
|
|
56
|
+
export const APP_VERSION = "MTKruto 0.1.152";
|
|
57
57
|
// @ts-ignore: lib
|
|
58
58
|
export const DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
|
|
59
59
|
export const LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];
|
package/esm/client/0_params.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MaybePromise } from "../1_utilities.js";
|
|
2
|
-
import { BotCommandScope, Chat, ChatMemberRights, FileSource, ID, InlineQueryResultButton, Message, MessageEntity, ParseMode, ReplyMarkup, ReplyQuote } from "../3_types.js";
|
|
2
|
+
import { BotCommandScope, Chat, ChatMemberRights, FileSource, ID, InlineQueryResultButton, LinkPreview, Message, MessageEntity, ParseMode, ReplyMarkup, ReplyQuote, StoryInteractiveArea } from "../3_types.js";
|
|
3
|
+
import { StoryPrivacy } from "../types/1_story_privacy.js";
|
|
3
4
|
export interface AnswerCallbackQueryParams {
|
|
4
5
|
/** A text to be shown to the user. */
|
|
5
6
|
text?: string;
|
|
@@ -36,16 +37,16 @@ export interface SendMessageParams extends _SendCommon {
|
|
|
36
37
|
parseMode?: ParseMode;
|
|
37
38
|
/** The message's entities. */
|
|
38
39
|
entities?: MessageEntity[];
|
|
39
|
-
/**
|
|
40
|
-
|
|
40
|
+
/** The message's link preview. */
|
|
41
|
+
linkPreview?: LinkPreview;
|
|
41
42
|
}
|
|
42
43
|
export interface EditMessageParams {
|
|
43
44
|
/** The parse mode to use. If not provided, the default parse mode will be used. */
|
|
44
45
|
parseMode?: ParseMode;
|
|
45
46
|
/** The message's entities. */
|
|
46
47
|
entities?: MessageEntity[];
|
|
47
|
-
/**
|
|
48
|
-
|
|
48
|
+
/** The message's link preview. */
|
|
49
|
+
linkPreview?: LinkPreview;
|
|
49
50
|
/** The reply markup of the message. Bot-only. */
|
|
50
51
|
replyMarkup?: ReplyMarkup;
|
|
51
52
|
}
|
|
@@ -260,3 +261,11 @@ export interface SetChatMemberRightsParams {
|
|
|
260
261
|
/** A point of time in the future to automatically withdraw the restrictions. */
|
|
261
262
|
untilDate?: Date;
|
|
262
263
|
}
|
|
264
|
+
export interface CreateStoryParams extends _CaptionCommon, _UploadCommon {
|
|
265
|
+
interactiveAreas?: StoryInteractiveArea[];
|
|
266
|
+
privacy?: StoryPrivacy;
|
|
267
|
+
activeFor?: number;
|
|
268
|
+
from?: number;
|
|
269
|
+
highlight?: boolean;
|
|
270
|
+
protectContent?: boolean;
|
|
271
|
+
}
|
package/esm/client/0_types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { functions, types } from "../2_tl.js";
|
|
1
|
+
import { enums, functions, types } from "../2_tl.js";
|
|
2
2
|
import { Storage } from "../3_storage.js";
|
|
3
3
|
import { ConnectionState, EntityGetter, ID, ParseMode, Update } from "../3_types.js";
|
|
4
4
|
type Functions = typeof functions;
|
|
@@ -29,7 +29,8 @@ export interface C {
|
|
|
29
29
|
setConnectionState: (connectionState: ConnectionState) => void;
|
|
30
30
|
resetConnectionState: () => void;
|
|
31
31
|
getSelfId: () => Promise<number>;
|
|
32
|
-
getInputPeer: (id: ID) => Promise<
|
|
32
|
+
getInputPeer: (id: ID) => Promise<enums.InputPeer>;
|
|
33
|
+
getInputChannel: (id: ID) => Promise<types.InputChannel>;
|
|
33
34
|
getEntity: EntityGetter;
|
|
34
35
|
handleUpdate: (update: Update) => void;
|
|
35
36
|
parseMode: ParseMode;
|
|
@@ -59,47 +59,83 @@ export class UpdateManager {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
async processResult(result) {
|
|
62
|
-
if (result instanceof types.
|
|
63
|
-
result instanceof types.
|
|
64
|
-
result instanceof types.messages.Messages ||
|
|
65
|
-
result instanceof types.messages.MessagesSlice ||
|
|
66
|
-
result instanceof types.messages.ChannelMessages ||
|
|
67
|
-
result instanceof types.messages.ChatFull ||
|
|
68
|
-
result instanceof types.contacts.Found ||
|
|
62
|
+
if (result instanceof types.account.AuthorizationForm ||
|
|
63
|
+
result instanceof types.account.AutoSaveSettings ||
|
|
69
64
|
result instanceof types.account.PrivacyRules ||
|
|
70
|
-
result instanceof types.
|
|
71
|
-
result instanceof types.
|
|
65
|
+
result instanceof types.account.WebAuthorizations ||
|
|
66
|
+
result instanceof types.AttachMenuBots ||
|
|
67
|
+
result instanceof types.AttachMenuBotsBot ||
|
|
68
|
+
result instanceof types.channels.AdminLogResults ||
|
|
72
69
|
result instanceof types.channels.ChannelParticipant ||
|
|
73
|
-
result instanceof types.
|
|
70
|
+
result instanceof types.channels.ChannelParticipants ||
|
|
71
|
+
result instanceof types.channels.SendAsPeers ||
|
|
72
|
+
result instanceof types.ChatInvite ||
|
|
73
|
+
result instanceof types.chatlists.ChatlistInvite ||
|
|
74
|
+
result instanceof types.chatlists.ChatlistInviteAlready ||
|
|
75
|
+
result instanceof types.chatlists.ChatlistUpdates ||
|
|
76
|
+
result instanceof types.chatlists.ExportedInvites ||
|
|
77
|
+
result instanceof types.contacts.Blocked ||
|
|
78
|
+
result instanceof types.contacts.BlockedSlice ||
|
|
79
|
+
result instanceof types.contacts.Contacts ||
|
|
80
|
+
result instanceof types.contacts.Found ||
|
|
81
|
+
result instanceof types.contacts.ImportedContacts ||
|
|
82
|
+
result instanceof types.contacts.ResolvedPeer ||
|
|
74
83
|
result instanceof types.contacts.TopPeers ||
|
|
75
|
-
result instanceof types.
|
|
84
|
+
result instanceof types.help.PromoData ||
|
|
76
85
|
result instanceof types.help.RecentMeUrls ||
|
|
86
|
+
result instanceof types.messages.BotResults ||
|
|
87
|
+
result instanceof types.messages.ChannelMessages ||
|
|
88
|
+
result instanceof types.messages.ChatAdminsWithInvites ||
|
|
89
|
+
result instanceof types.messages.ChatFull ||
|
|
90
|
+
result instanceof types.messages.ChatInviteImporters ||
|
|
91
|
+
result instanceof types.messages.Chats ||
|
|
92
|
+
result instanceof types.messages.ChatsSlice ||
|
|
93
|
+
result instanceof types.messages.Dialogs ||
|
|
94
|
+
result instanceof types.messages.DialogsSlice ||
|
|
95
|
+
result instanceof types.messages.DiscussionMessage ||
|
|
96
|
+
result instanceof types.messages.ExportedChatInvite ||
|
|
97
|
+
result instanceof types.messages.ExportedChatInviteReplaced ||
|
|
98
|
+
result instanceof types.messages.ExportedChatInvites ||
|
|
99
|
+
result instanceof types.messages.ForumTopics ||
|
|
100
|
+
result instanceof types.messages.HighScores ||
|
|
77
101
|
result instanceof types.messages.InactiveChats ||
|
|
78
|
-
result instanceof types.
|
|
102
|
+
result instanceof types.messages.MessageReactionsList ||
|
|
103
|
+
result instanceof types.messages.Messages ||
|
|
104
|
+
result instanceof types.messages.MessagesSlice ||
|
|
79
105
|
result instanceof types.messages.MessageViews ||
|
|
80
|
-
result instanceof types.messages.
|
|
106
|
+
result instanceof types.messages.PeerDialogs ||
|
|
107
|
+
result instanceof types.messages.PeerSettings ||
|
|
108
|
+
result instanceof types.messages.SearchResultsCalendar ||
|
|
109
|
+
result instanceof types.messages.SponsoredMessages ||
|
|
110
|
+
result instanceof types.messages.VotesList ||
|
|
111
|
+
result instanceof types.messages.WebPage ||
|
|
112
|
+
result instanceof types.payments.CheckedGiftCode ||
|
|
113
|
+
result instanceof types.payments.PaymentForm ||
|
|
114
|
+
result instanceof types.payments.PaymentReceipt ||
|
|
81
115
|
result instanceof types.phone.GroupCall ||
|
|
82
116
|
result instanceof types.phone.GroupParticipants ||
|
|
83
117
|
result instanceof types.phone.JoinAsPeers ||
|
|
84
|
-
result instanceof types.
|
|
85
|
-
result instanceof types.
|
|
86
|
-
result instanceof types.
|
|
87
|
-
result instanceof types.
|
|
88
|
-
result instanceof types.
|
|
89
|
-
result instanceof types.
|
|
90
|
-
result instanceof types.
|
|
91
|
-
result instanceof types.
|
|
92
|
-
result instanceof types.
|
|
93
|
-
result instanceof types.
|
|
94
|
-
result instanceof types.
|
|
95
|
-
result instanceof types.
|
|
96
|
-
result instanceof types.
|
|
97
|
-
result instanceof types.
|
|
98
|
-
|
|
118
|
+
result instanceof types.phone.PhoneCall ||
|
|
119
|
+
result instanceof types.photos.Photo ||
|
|
120
|
+
result instanceof types.photos.Photos ||
|
|
121
|
+
result instanceof types.photos.PhotosSlice ||
|
|
122
|
+
result instanceof types.premium.BoostsList ||
|
|
123
|
+
result instanceof types.premium.MyBoosts ||
|
|
124
|
+
result instanceof types.stats.MegagroupStats ||
|
|
125
|
+
result instanceof types.stats.PublicForwards ||
|
|
126
|
+
result instanceof types.stories.AllStories ||
|
|
127
|
+
result instanceof types.stories.PeerStories ||
|
|
128
|
+
result instanceof types.stories.Stories ||
|
|
129
|
+
result instanceof types.stories.StoryViews ||
|
|
130
|
+
result instanceof types.stories.StoryViewsList ||
|
|
131
|
+
result instanceof types.users.UserFull) {
|
|
132
|
+
if ("chats" in result) {
|
|
133
|
+
await this.processChats(result.chats);
|
|
134
|
+
}
|
|
99
135
|
if ("users" in result) {
|
|
100
136
|
await this.processUsers(result.users);
|
|
101
137
|
}
|
|
102
|
-
if ("messages" in result) {
|
|
138
|
+
if ("messages" in result && Array.isArray(result.messages)) {
|
|
103
139
|
for (const message of result.messages) {
|
|
104
140
|
if (message instanceof types.Message || message instanceof types.MessageService) {
|
|
105
141
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setMessage(peerToChatId(message.peer_id), message.id, message);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { enums, types } from "../2_tl.js";
|
|
2
|
-
import { ChatAction, ChatMember, FileSource, ID, Message, MessageEntity, ParseMode, Reaction, Update, UsernameResolver } from "../3_types.js";
|
|
2
|
+
import { ChatAction, ChatMember, FileSource, FileType, ID, Message, MessageEntity, ParseMode, Reaction, Update, UsernameResolver } from "../3_types.js";
|
|
3
3
|
import { BanChatMemberParams, DeleteMessagesParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetHistoryParams, PinMessageParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams } from "./0_params.js";
|
|
4
4
|
import { AddReactionParams, SetReactionsParams } from "./0_params.js";
|
|
5
5
|
import { C as C_ } from "./0_types.js";
|
|
@@ -19,7 +19,38 @@ export declare class MessageManager {
|
|
|
19
19
|
entities?: MessageEntity[];
|
|
20
20
|
}): Promise<readonly [string, (import("../tl/2_types.js").MessageEntityMention_ | import("../tl/2_types.js").MessageEntityHashtag_ | import("../tl/2_types.js").MessageEntityBotCommand_ | import("../tl/2_types.js").MessageEntityUrl_ | import("../tl/2_types.js").MessageEntityEmail_ | import("../tl/2_types.js").MessageEntityBold_ | import("../tl/2_types.js").MessageEntityItalic_ | import("../tl/2_types.js").MessageEntityCode_ | import("../tl/2_types.js").MessageEntityPre_ | import("../tl/2_types.js").MessageEntityTextUrl_ | import("../tl/2_types.js").InputMessageEntityMentionName_ | import("../tl/2_types.js").MessageEntityPhone_ | import("../tl/2_types.js").MessageEntityCashtag_ | import("../tl/2_types.js").MessageEntityUnderline_ | import("../tl/2_types.js").MessageEntityStrike_ | import("../tl/2_types.js").MessageEntityBankCard_ | import("../tl/2_types.js").MessageEntitySpoiler_ | import("../tl/2_types.js").MessageEntityCustomEmoji_ | import("../tl/2_types.js").MessageEntityBlockquote_)[] | undefined]>;
|
|
21
21
|
getStickerSetName(inputStickerSet: types.InputStickerSetID, hash?: number): Promise<string>;
|
|
22
|
-
constructMessage(message_: enums.Message, r?: boolean): Promise<
|
|
22
|
+
constructMessage(message_: enums.Message, r?: boolean): Promise<import("../3_types.js").MessageLink | import("../3_types.js").MessagePhoto | import("../3_types.js").MessageDocument | import("../3_types.js").MessageVideo | import("../3_types.js").MessageSticker | import("../3_types.js").MessageAnimation | import("../3_types.js").MessageVoice | import("../3_types.js").MessageAudio | import("../3_types.js").MessageDice | import("../3_types.js").MessageVideoNote | import("../3_types.js").MessageContact | import("../3_types.js").MessageGame | import("../3_types.js").MessagePoll | import("../3_types.js").MessageVenue | import("../3_types.js").MessageLocation | import("../3_types.js").MessageNewChatMembers | import("../3_types.js").MessageLeftChatMember | import("../3_types.js").MessageNewChatTitle | import("../3_types.js").MessageNewChatPhoto | import("../3_types.js").MessageDeletedChatPhoto | import("../3_types.js").MessageSupergroupCreated | import("../3_types.js").MessageChannelCreated | import("../3_types.js").MessageAutoDeleteTimerChanged | import("../3_types.js").MessageChatMigratedTo | import("../3_types.js").MessageChatMigratedFrom | import("../3_types.js").MessagePinnedMessage | import("../3_types.js").MessageUserShared | import("../3_types.js").MessageWriteAccessAllowed | import("../3_types.js").MessageForumTopicCreated | import("../3_types.js").MessageForumTopicEdited | import("../3_types.js").MessageForumTopicClosed | import("../3_types.js").MessageForumTopicReopened | import("../3_types.js").MessageVideoChatScheduled | import("../3_types.js").MessageVideoChatStarted | import("../3_types.js").MessageVideoChatEnded | import("../3_types.js").MessageGiveaway | import("../3_types.js").MessageUnsupported | {
|
|
23
|
+
text: string;
|
|
24
|
+
entities: NonNullable<MessageEntity | null>[];
|
|
25
|
+
out: boolean;
|
|
26
|
+
id: number;
|
|
27
|
+
threadId?: number | undefined;
|
|
28
|
+
from?: import("../3_types.js").User | undefined;
|
|
29
|
+
senderChat?: import("../3_types.js").ChatP | undefined;
|
|
30
|
+
date: Date;
|
|
31
|
+
chat: import("../3_types.js").ChatP;
|
|
32
|
+
link?: string | undefined;
|
|
33
|
+
forwardFrom?: import("../3_types.js").User | undefined;
|
|
34
|
+
forwardFromChat?: import("../3_types.js").ChatP | undefined;
|
|
35
|
+
forwardId?: number | undefined;
|
|
36
|
+
forwardSignature?: string | undefined;
|
|
37
|
+
forwardSenderName?: string | undefined;
|
|
38
|
+
forwardDate?: Date | undefined;
|
|
39
|
+
isTopicMessage: boolean;
|
|
40
|
+
isAutomaticForward?: boolean | undefined;
|
|
41
|
+
replyToMessage?: Message | undefined;
|
|
42
|
+
replyToMessageId?: number | undefined;
|
|
43
|
+
reactions?: import("../3_types.js").MessageReaction[] | undefined;
|
|
44
|
+
replyQuote?: import("../3_types.js").ReplyQuote | undefined;
|
|
45
|
+
viaBot?: import("../3_types.js").User | undefined;
|
|
46
|
+
editDate?: Date | undefined;
|
|
47
|
+
hasProtectedContent?: boolean | undefined;
|
|
48
|
+
mediaGroupId?: string | undefined;
|
|
49
|
+
authorSignature?: string | undefined;
|
|
50
|
+
views?: number | undefined;
|
|
51
|
+
forwards?: number | undefined;
|
|
52
|
+
replyMarkup?: import("../3_types.js").ReplyMarkup | undefined;
|
|
53
|
+
}>;
|
|
23
54
|
forwardMessages(from: ID, to: ID, messageIds: number[], params?: ForwardMessagesParams): Promise<Message[]>;
|
|
24
55
|
getHistory(chatId: ID, params?: GetHistoryParams): Promise<Message[]>;
|
|
25
56
|
usernameResolver: UsernameResolver;
|
|
@@ -35,8 +66,13 @@ export declare class MessageManager {
|
|
|
35
66
|
sendVideo(chatId: ID, video: FileSource, params?: SendVideoParams): Promise<import("../3_types.js").MessageVideo>;
|
|
36
67
|
sendDocument(chatId: ID, document: FileSource, params?: SendDocumentParams): Promise<import("../3_types.js").MessageDocument>;
|
|
37
68
|
sendPhoto(chatId: ID, photo: FileSource, params?: SendPhotoParams): Promise<import("../3_types.js").MessagePhoto>;
|
|
69
|
+
resolveFileId(maybeFileId: string, expectedFileType: FileType): {
|
|
70
|
+
id: bigint;
|
|
71
|
+
access_hash: bigint;
|
|
72
|
+
file_reference: Uint8Array;
|
|
73
|
+
} | null;
|
|
38
74
|
sendPoll(chatId: ID, question: string, options: [string, string, ...string[]], params?: SendPollParams): Promise<import("../3_types.js").MessagePoll>;
|
|
39
|
-
editMessageReplyMarkup(chatId: ID, messageId: number, params?: EditMessageReplyMarkupParams): Promise<import("../3_types.js").MessageText | import("../3_types.js").MessagePhoto | import("../3_types.js").MessageDocument | import("../3_types.js").MessageVideo | import("../3_types.js").MessageSticker | import("../3_types.js").MessageAnimation | import("../3_types.js").MessageVoice | import("../3_types.js").MessageAudio | import("../3_types.js").MessageDice | import("../3_types.js").MessageVideoNote | import("../3_types.js").MessageContact | import("../3_types.js").MessageGame | import("../3_types.js").MessagePoll | import("../3_types.js").MessageVenue | import("../3_types.js").MessageLocation | import("../3_types.js").MessageNewChatMembers | import("../3_types.js").MessageLeftChatMember | import("../3_types.js").MessageNewChatTitle | import("../3_types.js").MessageNewChatPhoto | import("../3_types.js").MessageDeletedChatPhoto | import("../3_types.js").MessageGroupCreated | import("../3_types.js").MessageSupergroupCreated | import("../3_types.js").MessageChannelCreated | import("../3_types.js").MessageAutoDeleteTimerChanged | import("../3_types.js").MessageChatMigratedTo | import("../3_types.js").MessageChatMigratedFrom | import("../3_types.js").MessagePinnedMessage | import("../3_types.js").MessageUserShared | import("../3_types.js").MessageWriteAccessAllowed | import("../3_types.js").MessageForumTopicCreated | import("../3_types.js").MessageForumTopicEdited | import("../3_types.js").MessageForumTopicClosed | import("../3_types.js").MessageForumTopicReopened | import("../3_types.js").MessageVideoChatScheduled | import("../3_types.js").MessageVideoChatStarted | import("../3_types.js").MessageVideoChatEnded | import("../3_types.js").MessageGiveaway | import("../3_types.js").MessageUnsupported>;
|
|
75
|
+
editMessageReplyMarkup(chatId: ID, messageId: number, params?: EditMessageReplyMarkupParams): Promise<import("../3_types.js").MessageText | import("../3_types.js").MessageLink | import("../3_types.js").MessagePhoto | import("../3_types.js").MessageDocument | import("../3_types.js").MessageVideo | import("../3_types.js").MessageSticker | import("../3_types.js").MessageAnimation | import("../3_types.js").MessageVoice | import("../3_types.js").MessageAudio | import("../3_types.js").MessageDice | import("../3_types.js").MessageVideoNote | import("../3_types.js").MessageContact | import("../3_types.js").MessageGame | import("../3_types.js").MessagePoll | import("../3_types.js").MessageVenue | import("../3_types.js").MessageLocation | import("../3_types.js").MessageNewChatMembers | import("../3_types.js").MessageLeftChatMember | import("../3_types.js").MessageNewChatTitle | import("../3_types.js").MessageNewChatPhoto | import("../3_types.js").MessageDeletedChatPhoto | import("../3_types.js").MessageGroupCreated | import("../3_types.js").MessageSupergroupCreated | import("../3_types.js").MessageChannelCreated | import("../3_types.js").MessageAutoDeleteTimerChanged | import("../3_types.js").MessageChatMigratedTo | import("../3_types.js").MessageChatMigratedFrom | import("../3_types.js").MessagePinnedMessage | import("../3_types.js").MessageUserShared | import("../3_types.js").MessageWriteAccessAllowed | import("../3_types.js").MessageForumTopicCreated | import("../3_types.js").MessageForumTopicEdited | import("../3_types.js").MessageForumTopicClosed | import("../3_types.js").MessageForumTopicReopened | import("../3_types.js").MessageVideoChatScheduled | import("../3_types.js").MessageVideoChatStarted | import("../3_types.js").MessageVideoChatEnded | import("../3_types.js").MessageGiveaway | import("../3_types.js").MessageUnsupported>;
|
|
40
76
|
editInlineMessageReplyMarkup(inlineMessageId: string, params?: EditMessageReplyMarkupParams): Promise<void>;
|
|
41
77
|
editMessageText(chatId: ID, messageId: number, text: string, params?: EditMessageParams): Promise<import("../3_types.js").MessageText>;
|
|
42
78
|
editInlineMessageText(inlineMessageId: string, text: string, params?: EditMessageParams): Promise<void>;
|
|
@@ -60,5 +96,7 @@ export declare class MessageManager {
|
|
|
60
96
|
unbanChatMember(chatId: ID, memberId: ID): Promise<void>;
|
|
61
97
|
setChatMemberRights(chatId: ID, memberId: ID, params?: SetChatMemberRightsParams): Promise<void>;
|
|
62
98
|
getChatAdministrators(chatId: ID): Promise<ChatMember[]>;
|
|
99
|
+
enableJoinRequests(chatId: ID): Promise<void>;
|
|
100
|
+
disableJoinRequests(chatId: ID): Promise<void>;
|
|
63
101
|
}
|
|
64
102
|
export {};
|
|
@@ -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 _MessageManager_instances, _MessageManager_c, _MessageManager_updatesToMessages, _MessageManager_constructReplyMarkup, _MessageManager_resolveSendAs, _MessageManager_constructReplyTo, _MessageManager_sendDocumentInner, _MessageManager_sendMedia,
|
|
12
|
+
var _MessageManager_instances, _MessageManager_c, _MessageManager_updatesToMessages, _MessageManager_constructReplyMarkup, _MessageManager_resolveSendAs, _MessageManager_constructReplyTo, _MessageManager_sendDocumentInner, _MessageManager_sendMedia, _MessageManager_sendReaction, _MessageManager_toggleJoinRequests;
|
|
13
13
|
import { contentType, debug } from "../0_deps.js";
|
|
14
14
|
import { getRandomId, toUnixTimestamp, UNREACHABLE } from "../1_utilities.js";
|
|
15
15
|
import { as, getChannelChatId, peerToChatId, types } from "../2_tl.js";
|
|
@@ -175,22 +175,47 @@ export class MessageManager {
|
|
|
175
175
|
const replyMarkup = await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_constructReplyMarkup).call(this, params);
|
|
176
176
|
const peer = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId);
|
|
177
177
|
const randomId = getRandomId();
|
|
178
|
-
const noWebpage = params?.
|
|
178
|
+
const noWebpage = params?.linkPreview?.disable ? true : undefined;
|
|
179
|
+
const invertMedia = params?.linkPreview?.aboveText ? true : undefined;
|
|
179
180
|
const silent = params?.disableNotification ? true : undefined;
|
|
180
181
|
const noforwards = params?.protectContent ? true : undefined;
|
|
181
182
|
const sendAs = await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_resolveSendAs).call(this, params);
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
183
|
+
let result;
|
|
184
|
+
if (!noWebpage && params?.linkPreview?.url) {
|
|
185
|
+
result = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.sendMedia({
|
|
186
|
+
peer,
|
|
187
|
+
random_id: randomId,
|
|
188
|
+
media: new types.InputMediaWebPage({
|
|
189
|
+
url: params.linkPreview.url,
|
|
190
|
+
force_large_media: params.linkPreview.largeMedia ? true : undefined,
|
|
191
|
+
force_small_media: params.linkPreview.smallMedia ? true : undefined,
|
|
192
|
+
optional: message.length ? undefined : true,
|
|
193
|
+
}),
|
|
194
|
+
message,
|
|
195
|
+
invert_media: invertMedia,
|
|
196
|
+
silent,
|
|
197
|
+
noforwards,
|
|
198
|
+
reply_to: await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_constructReplyTo).call(this, params),
|
|
199
|
+
send_as: sendAs,
|
|
200
|
+
entities,
|
|
201
|
+
reply_markup: replyMarkup,
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
result = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.sendMessage({
|
|
206
|
+
peer,
|
|
207
|
+
random_id: randomId,
|
|
208
|
+
message,
|
|
209
|
+
no_webpage: noWebpage,
|
|
210
|
+
invert_media: invertMedia,
|
|
211
|
+
silent,
|
|
212
|
+
noforwards,
|
|
213
|
+
reply_to: await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_constructReplyTo).call(this, params),
|
|
214
|
+
send_as: sendAs,
|
|
215
|
+
entities,
|
|
216
|
+
reply_markup: replyMarkup,
|
|
217
|
+
});
|
|
218
|
+
}
|
|
194
219
|
const message_ = await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
195
220
|
return assertMessageType(message_, "text");
|
|
196
221
|
}
|
|
@@ -373,7 +398,7 @@ export class MessageManager {
|
|
|
373
398
|
let media = null;
|
|
374
399
|
const spoiler = params?.hasSpoiler ? true : undefined;
|
|
375
400
|
if (typeof photo === "string") {
|
|
376
|
-
const fileId =
|
|
401
|
+
const fileId = this.resolveFileId(photo, FileType.Photo);
|
|
377
402
|
if (fileId != null) {
|
|
378
403
|
media = new types.InputMediaPhoto({
|
|
379
404
|
id: new types.InputPhoto(fileId),
|
|
@@ -394,6 +419,29 @@ export class MessageManager {
|
|
|
394
419
|
const message = await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_sendMedia).call(this, chatId, media, params);
|
|
395
420
|
return assertMessageType(message, "photo");
|
|
396
421
|
}
|
|
422
|
+
resolveFileId(maybeFileId, expectedFileType) {
|
|
423
|
+
let fileId = null;
|
|
424
|
+
try {
|
|
425
|
+
fileId = FileID.decode(maybeFileId);
|
|
426
|
+
}
|
|
427
|
+
catch (err) {
|
|
428
|
+
d("fileId: %o", err);
|
|
429
|
+
}
|
|
430
|
+
if (fileId != null) {
|
|
431
|
+
if (fileId.fileType != expectedFileType) {
|
|
432
|
+
UNREACHABLE();
|
|
433
|
+
}
|
|
434
|
+
if (fileId.params.mediaId == undefined || fileId.params.accessHash == undefined || fileId.params.fileReference == undefined) {
|
|
435
|
+
UNREACHABLE();
|
|
436
|
+
}
|
|
437
|
+
return {
|
|
438
|
+
id: fileId.params.mediaId,
|
|
439
|
+
access_hash: fileId.params.accessHash,
|
|
440
|
+
file_reference: fileId.params.fileReference,
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
return null;
|
|
444
|
+
}
|
|
397
445
|
async sendPoll(chatId, question, options, params) {
|
|
398
446
|
const peer = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId);
|
|
399
447
|
const randomId = getRandomId();
|
|
@@ -455,12 +503,25 @@ export class MessageManager {
|
|
|
455
503
|
}
|
|
456
504
|
async editMessageText(chatId, messageId, text, params) {
|
|
457
505
|
const [message, entities] = await this.parseText(text, params);
|
|
506
|
+
const noWebpage = params?.linkPreview?.disable ? true : undefined;
|
|
507
|
+
const invertMedia = params?.linkPreview?.aboveText ? true : undefined;
|
|
508
|
+
let media = undefined;
|
|
509
|
+
if (!noWebpage && params?.linkPreview?.url) {
|
|
510
|
+
media = new types.InputMediaWebPage({
|
|
511
|
+
url: params.linkPreview.url,
|
|
512
|
+
force_large_media: params.linkPreview.largeMedia ? true : undefined,
|
|
513
|
+
force_small_media: params.linkPreview.smallMedia ? true : undefined,
|
|
514
|
+
optional: message.length ? undefined : true,
|
|
515
|
+
});
|
|
516
|
+
}
|
|
458
517
|
const result = await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.editMessage({
|
|
459
518
|
id: messageId,
|
|
460
519
|
peer: await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId),
|
|
461
520
|
entities,
|
|
462
521
|
message,
|
|
463
|
-
|
|
522
|
+
media,
|
|
523
|
+
no_webpage: noWebpage,
|
|
524
|
+
invert_media: invertMedia,
|
|
464
525
|
reply_markup: await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_constructReplyMarkup).call(this, params),
|
|
465
526
|
});
|
|
466
527
|
const message_ = await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
@@ -469,11 +530,24 @@ export class MessageManager {
|
|
|
469
530
|
async editInlineMessageText(inlineMessageId, text, params) {
|
|
470
531
|
const [message, entities] = await this.parseText(text, params);
|
|
471
532
|
const id = deserializeInlineMessageId(inlineMessageId);
|
|
533
|
+
const noWebpage = params?.linkPreview?.disable ? true : undefined;
|
|
534
|
+
const invertMedia = params?.linkPreview?.aboveText ? true : undefined;
|
|
535
|
+
let media = undefined;
|
|
536
|
+
if (!noWebpage && params?.linkPreview?.url) {
|
|
537
|
+
media = new types.InputMediaWebPage({
|
|
538
|
+
url: params.linkPreview.url,
|
|
539
|
+
force_large_media: params.linkPreview.largeMedia ? true : undefined,
|
|
540
|
+
force_small_media: params.linkPreview.smallMedia ? true : undefined,
|
|
541
|
+
optional: message.length ? undefined : true,
|
|
542
|
+
});
|
|
543
|
+
}
|
|
472
544
|
await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.editInlineBotMessage({
|
|
473
545
|
id,
|
|
474
546
|
entities,
|
|
475
547
|
message,
|
|
476
|
-
|
|
548
|
+
media,
|
|
549
|
+
no_webpage: noWebpage,
|
|
550
|
+
invert_media: invertMedia,
|
|
477
551
|
reply_markup: await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_constructReplyMarkup).call(this, params),
|
|
478
552
|
});
|
|
479
553
|
}
|
|
@@ -784,6 +858,12 @@ export class MessageManager {
|
|
|
784
858
|
UNREACHABLE();
|
|
785
859
|
}
|
|
786
860
|
}
|
|
861
|
+
async enableJoinRequests(chatId) {
|
|
862
|
+
await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_toggleJoinRequests).call(this, chatId, true);
|
|
863
|
+
}
|
|
864
|
+
async disableJoinRequests(chatId) {
|
|
865
|
+
await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_toggleJoinRequests).call(this, chatId, false);
|
|
866
|
+
}
|
|
787
867
|
}
|
|
788
868
|
_MessageManager_c = new WeakMap(), _MessageManager_instances = new WeakSet(), _MessageManager_updatesToMessages = async function _MessageManager_updatesToMessages(chatId, updates) {
|
|
789
869
|
const messages = new Array();
|
|
@@ -826,7 +906,7 @@ _MessageManager_c = new WeakMap(), _MessageManager_instances = new WeakSet(), _M
|
|
|
826
906
|
let media = null;
|
|
827
907
|
const spoiler = params?.hasSpoiler ? true : undefined;
|
|
828
908
|
if (typeof document === "string") {
|
|
829
|
-
const fileId =
|
|
909
|
+
const fileId = this.resolveFileId(document, fileType);
|
|
830
910
|
if (fileId != null) {
|
|
831
911
|
media = new types.InputMediaDocument({
|
|
832
912
|
id: new types.InputDocument(fileId),
|
|
@@ -886,28 +966,6 @@ _MessageManager_c = new WeakMap(), _MessageManager_instances = new WeakSet(), _M
|
|
|
886
966
|
entities: captionEntities,
|
|
887
967
|
});
|
|
888
968
|
return await __classPrivateFieldGet(this, _MessageManager_instances, "m", _MessageManager_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
889
|
-
}, _MessageManager_resolveFileId = function _MessageManager_resolveFileId(maybeFileId, expectedFileType) {
|
|
890
|
-
let fileId = null;
|
|
891
|
-
try {
|
|
892
|
-
fileId = FileID.decode(maybeFileId);
|
|
893
|
-
}
|
|
894
|
-
catch (err) {
|
|
895
|
-
d("fileId: %o", err);
|
|
896
|
-
}
|
|
897
|
-
if (fileId != null) {
|
|
898
|
-
if (fileId.fileType != expectedFileType) {
|
|
899
|
-
UNREACHABLE();
|
|
900
|
-
}
|
|
901
|
-
if (fileId.params.mediaId == undefined || fileId.params.accessHash == undefined || fileId.params.fileReference == undefined) {
|
|
902
|
-
UNREACHABLE();
|
|
903
|
-
}
|
|
904
|
-
return {
|
|
905
|
-
id: fileId.params.mediaId,
|
|
906
|
-
access_hash: fileId.params.accessHash,
|
|
907
|
-
file_reference: fileId.params.fileReference,
|
|
908
|
-
};
|
|
909
|
-
}
|
|
910
|
-
return null;
|
|
911
969
|
}, _MessageManager_sendReaction = async function _MessageManager_sendReaction(chatId, messageId, reactions, params) {
|
|
912
970
|
await __classPrivateFieldGet(this, _MessageManager_c, "f").api.messages.sendReaction({
|
|
913
971
|
peer: await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId),
|
|
@@ -916,4 +974,7 @@ _MessageManager_c = new WeakMap(), _MessageManager_instances = new WeakSet(), _M
|
|
|
916
974
|
big: params?.big ? true : undefined,
|
|
917
975
|
add_to_recent: params?.addToRecents ? true : undefined,
|
|
918
976
|
});
|
|
977
|
+
}, _MessageManager_toggleJoinRequests = async function _MessageManager_toggleJoinRequests(chatId, enabled) {
|
|
978
|
+
const channel = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputChannel(chatId);
|
|
979
|
+
await __classPrivateFieldGet(this, _MessageManager_c, "f").api.channels.toggleJoinRequest({ channel, enabled });
|
|
919
980
|
};
|