@mtkruto/node 0.1.151 → 0.1.153
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 +11 -0
- package/esm/3_types.js +11 -0
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_params.d.ts +20 -5
- package/esm/client/0_types.d.ts +3 -2
- package/esm/client/1_account_manager.d.ts +11 -0
- package/esm/client/1_account_manager.js +76 -0
- package/esm/client/1_update_manager.js +65 -29
- package/esm/client/2_message_manager.d.ts +43 -3
- package/esm/client/2_message_manager.js +130 -40
- package/esm/client/3_story_manager.d.ts +28 -0
- package/esm/client/3_story_manager.js +152 -0
- package/esm/client/4_client.d.ts +194 -60
- package/esm/client/4_client.js +245 -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_message_search_filter.d.ts +2 -0
- package/esm/types/0_message_search_filter.js +36 -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_inactive_chat.d.ts +7 -0
- package/esm/types/2_inactive_chat.js +13 -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 +11 -0
- package/script/3_types.js +11 -0
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_params.d.ts +20 -5
- package/script/client/0_types.d.ts +3 -2
- package/script/client/1_account_manager.d.ts +11 -0
- package/script/client/1_account_manager.js +80 -0
- package/script/client/1_update_manager.js +65 -29
- package/script/client/2_message_manager.d.ts +43 -3
- package/script/client/2_message_manager.js +130 -40
- package/script/client/3_story_manager.d.ts +28 -0
- package/script/client/3_story_manager.js +156 -0
- package/script/client/4_client.d.ts +194 -60
- package/script/client/4_client.js +245 -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_message_search_filter.d.ts +2 -0
- package/script/types/0_message_search_filter.js +40 -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_inactive_chat.d.ts +7 -0
- package/script/types/2_inactive_chat.js +17 -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_accountManager, _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";
|
|
@@ -23,6 +23,7 @@ import { decryptMessage, encryptMessage, getMessageId } from "./0_message.js";
|
|
|
23
23
|
import { checkPassword } from "./0_password.js";
|
|
24
24
|
import { ConnectionError } from "./0_types.js";
|
|
25
25
|
import { getUsername, resolve } from "./0_utilities.js";
|
|
26
|
+
import { AccountManager } from "./1_account_manager.js";
|
|
26
27
|
import { BotInfoManager } from "./1_bot_info_manager.js";
|
|
27
28
|
import { Composer, concat, flatten, skip } from "./1_composer.js";
|
|
28
29
|
import { FileManager } from "./1_file_manager.js";
|
|
@@ -34,6 +35,7 @@ import { MessageManager } from "./2_message_manager.js";
|
|
|
34
35
|
import { CallbackQueryManager } from "./3_callback_query_manager.js";
|
|
35
36
|
import { ChatListManager } from "./3_chat_list_manager.js";
|
|
36
37
|
import { InlineQueryManager } from "./3_inline_query_manager.js";
|
|
38
|
+
import { StoryManager } from "./3_story_manager.js";
|
|
37
39
|
const d = debug("Client");
|
|
38
40
|
const dAuth = debug("Client/authorize");
|
|
39
41
|
const dRecv = debug("Client/receiveLoop");
|
|
@@ -79,9 +81,11 @@ export class Client extends ClientAbstract {
|
|
|
79
81
|
_Client_fileManager.set(this, void 0);
|
|
80
82
|
_Client_reactionManager.set(this, void 0);
|
|
81
83
|
_Client_messageManager.set(this, void 0);
|
|
84
|
+
_Client_storyManager.set(this, void 0);
|
|
82
85
|
_Client_callbackQueryManager.set(this, void 0);
|
|
83
86
|
_Client_inlineQueryManager.set(this, void 0);
|
|
84
87
|
_Client_chatListManager.set(this, void 0);
|
|
88
|
+
_Client_accountManager.set(this, void 0);
|
|
85
89
|
Object.defineProperty(this, "storage", {
|
|
86
90
|
enumerable: true,
|
|
87
91
|
configurable: true,
|
|
@@ -553,6 +557,7 @@ export class Client extends ClientAbstract {
|
|
|
553
557
|
resetConnectionState: () => this.stateChangeHandler(this.connected),
|
|
554
558
|
getSelfId: __classPrivateFieldGet(this, _Client_instances, "m", _Client_getSelfId).bind(this),
|
|
555
559
|
getInputPeer: this.getInputPeer.bind(this),
|
|
560
|
+
getInputChannel: this.getInputChannel.bind(this),
|
|
556
561
|
getEntity: this[getEntity].bind(this),
|
|
557
562
|
handleUpdate: __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).bind(this),
|
|
558
563
|
parseMode: __classPrivateFieldGet(this, _Client_parseMode, "f"),
|
|
@@ -610,8 +615,10 @@ export class Client extends ClientAbstract {
|
|
|
610
615
|
__classPrivateFieldSet(this, _Client_reactionManager, new ReactionManager(c), "f");
|
|
611
616
|
__classPrivateFieldSet(this, _Client_messageManager, new MessageManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f") }), "f");
|
|
612
617
|
__classPrivateFieldSet(this, _Client_callbackQueryManager, new CallbackQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
618
|
+
__classPrivateFieldSet(this, _Client_storyManager, new StoryManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f"), messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
613
619
|
__classPrivateFieldSet(this, _Client_inlineQueryManager, new InlineQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
614
620
|
__classPrivateFieldSet(this, _Client_chatListManager, new ChatListManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
621
|
+
__classPrivateFieldSet(this, _Client_accountManager, new AccountManager(c), "f");
|
|
615
622
|
__classPrivateFieldGet(this, _Client_updateManager, "f").setUpdateHandler(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleUpdate).bind(this));
|
|
616
623
|
const transportProvider = this.transportProvider;
|
|
617
624
|
this.transportProvider = (params) => {
|
|
@@ -726,7 +733,7 @@ export class Client extends ClientAbstract {
|
|
|
726
733
|
release();
|
|
727
734
|
}
|
|
728
735
|
}
|
|
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) {
|
|
736
|
+
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_accountManager = 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
737
|
__classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
|
|
731
738
|
__classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
|
|
732
739
|
}, _Client_setAuth = async function _Client_setAuth(key) {
|
|
@@ -947,6 +954,9 @@ export class Client extends ClientAbstract {
|
|
|
947
954
|
return this.invoke(function_, true);
|
|
948
955
|
}
|
|
949
956
|
async getInputPeer(id) {
|
|
957
|
+
if (id === "me") {
|
|
958
|
+
return new types.InputPeerSelf();
|
|
959
|
+
}
|
|
950
960
|
const inputPeer = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getInputPeerInner).call(this, id);
|
|
951
961
|
if ((inputPeer instanceof types.InputPeerUser || inputPeer instanceof types.InputPeerChannel && inputPeer.access_hash == 0n) && await this.storage.getAccountType() == "bot") {
|
|
952
962
|
if ("channel_id" in inputPeer) {
|
|
@@ -1364,7 +1374,7 @@ export class Client extends ClientAbstract {
|
|
|
1364
1374
|
/**
|
|
1365
1375
|
* Send a text message.
|
|
1366
1376
|
*
|
|
1367
|
-
* @method
|
|
1377
|
+
* @method ms
|
|
1368
1378
|
* @param chatId The chat to send the message to.
|
|
1369
1379
|
* @param text The message's text.
|
|
1370
1380
|
* @returns The sent text message.
|
|
@@ -1375,7 +1385,7 @@ export class Client extends ClientAbstract {
|
|
|
1375
1385
|
/**
|
|
1376
1386
|
* Edit a message's text.
|
|
1377
1387
|
*
|
|
1378
|
-
* @method
|
|
1388
|
+
* @method ms
|
|
1379
1389
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1380
1390
|
* @param messageId The message's identifier.
|
|
1381
1391
|
* @param text The new text of the message.
|
|
@@ -1387,7 +1397,7 @@ export class Client extends ClientAbstract {
|
|
|
1387
1397
|
/**
|
|
1388
1398
|
* Edit an inline message's text.
|
|
1389
1399
|
*
|
|
1390
|
-
* @method
|
|
1400
|
+
* @method ms
|
|
1391
1401
|
* @param inlineMessageId The inline message's identifier.
|
|
1392
1402
|
* @param text The new text of the message.
|
|
1393
1403
|
*/
|
|
@@ -1397,7 +1407,7 @@ export class Client extends ClientAbstract {
|
|
|
1397
1407
|
/**
|
|
1398
1408
|
* Edit a message's reply markup.
|
|
1399
1409
|
*
|
|
1400
|
-
* @method
|
|
1410
|
+
* @method ms
|
|
1401
1411
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1402
1412
|
* @param messageId The message's identifier.
|
|
1403
1413
|
* @returns The edited message.
|
|
@@ -1408,7 +1418,7 @@ export class Client extends ClientAbstract {
|
|
|
1408
1418
|
/**
|
|
1409
1419
|
* Edit an inline message's reply markup.
|
|
1410
1420
|
*
|
|
1411
|
-
* @method
|
|
1421
|
+
* @method ms
|
|
1412
1422
|
* @param inlineMessageId The inline message's identifier.
|
|
1413
1423
|
*/
|
|
1414
1424
|
async editInlineMessageReplyMarkup(inlineMessageId, params) {
|
|
@@ -1417,7 +1427,7 @@ export class Client extends ClientAbstract {
|
|
|
1417
1427
|
/**
|
|
1418
1428
|
* Retrieve multiple messages.
|
|
1419
1429
|
*
|
|
1420
|
-
* @method
|
|
1430
|
+
* @method ms
|
|
1421
1431
|
* @param chatId The identifier of the chat to retrieve the messages from.
|
|
1422
1432
|
* @param messageIds The identifiers of the messages to retrieve.
|
|
1423
1433
|
* @example ```ts
|
|
@@ -1431,7 +1441,7 @@ export class Client extends ClientAbstract {
|
|
|
1431
1441
|
/**
|
|
1432
1442
|
* Retrieve a single message.
|
|
1433
1443
|
*
|
|
1434
|
-
* @method
|
|
1444
|
+
* @method ms
|
|
1435
1445
|
* @param chatId The identifier of the chat to retrieve the message from.
|
|
1436
1446
|
* @param messageId The identifier of the message to retrieve.
|
|
1437
1447
|
* @example ```ts
|
|
@@ -1445,7 +1455,7 @@ export class Client extends ClientAbstract {
|
|
|
1445
1455
|
/**
|
|
1446
1456
|
* Download a file.
|
|
1447
1457
|
*
|
|
1448
|
-
* @method
|
|
1458
|
+
* @method fs
|
|
1449
1459
|
* @param fileId The identifier of the file to download.
|
|
1450
1460
|
* @example ```ts
|
|
1451
1461
|
* for await (const chunk of client.download(fileId, { chunkSize: 256 * 1024 })) {
|
|
@@ -1462,7 +1472,7 @@ export class Client extends ClientAbstract {
|
|
|
1462
1472
|
/**
|
|
1463
1473
|
* Forward multiple messages.
|
|
1464
1474
|
*
|
|
1465
|
-
* @method
|
|
1475
|
+
* @method ms
|
|
1466
1476
|
* @param from The identifier of the chat to forward the messages from.
|
|
1467
1477
|
* @param to The identifier of the chat to forward the messages to.
|
|
1468
1478
|
* @param messageIds The identifiers of the messages to forward.
|
|
@@ -1474,7 +1484,7 @@ export class Client extends ClientAbstract {
|
|
|
1474
1484
|
/**
|
|
1475
1485
|
* Forward a single message.
|
|
1476
1486
|
*
|
|
1477
|
-
* @method
|
|
1487
|
+
* @method ms
|
|
1478
1488
|
* @param from The identifier of the chat to forward the message from.
|
|
1479
1489
|
* @param to The identifier of the chat to forward the message to.
|
|
1480
1490
|
* @param messageId The identifier of the message to forward.
|
|
@@ -1486,7 +1496,7 @@ export class Client extends ClientAbstract {
|
|
|
1486
1496
|
/**
|
|
1487
1497
|
* Get information on the currently authorized user.
|
|
1488
1498
|
*
|
|
1489
|
-
* @method
|
|
1499
|
+
* @method ac
|
|
1490
1500
|
*/
|
|
1491
1501
|
async getMe() {
|
|
1492
1502
|
const users = await this.api.users.getUsers({ id: [new types.InputUserSelf()] });
|
|
@@ -1500,7 +1510,7 @@ export class Client extends ClientAbstract {
|
|
|
1500
1510
|
/**
|
|
1501
1511
|
* Answer a callback query. Bot-only.
|
|
1502
1512
|
*
|
|
1503
|
-
* @method
|
|
1513
|
+
* @method cq
|
|
1504
1514
|
* @param id ID of the callback query to answer.
|
|
1505
1515
|
*/
|
|
1506
1516
|
async answerCallbackQuery(id, params) {
|
|
@@ -1509,7 +1519,7 @@ export class Client extends ClientAbstract {
|
|
|
1509
1519
|
/**
|
|
1510
1520
|
* Send a poll.
|
|
1511
1521
|
*
|
|
1512
|
-
* @method
|
|
1522
|
+
* @method ms
|
|
1513
1523
|
* @param chatId The chat to send the poll to.
|
|
1514
1524
|
* @param question The poll's question.
|
|
1515
1525
|
* @param options The poll's options.
|
|
@@ -1521,7 +1531,7 @@ export class Client extends ClientAbstract {
|
|
|
1521
1531
|
/**
|
|
1522
1532
|
* Send a chat action.
|
|
1523
1533
|
*
|
|
1524
|
-
* @method
|
|
1534
|
+
* @method ms
|
|
1525
1535
|
* @param chatId The chat to send the chat action to.
|
|
1526
1536
|
* @param action The chat action.
|
|
1527
1537
|
* @param messageThreadId The thread to send the chat action to.
|
|
@@ -1532,7 +1542,7 @@ export class Client extends ClientAbstract {
|
|
|
1532
1542
|
/**
|
|
1533
1543
|
* Upload a file.
|
|
1534
1544
|
*
|
|
1535
|
-
* @method
|
|
1545
|
+
* @method fs
|
|
1536
1546
|
* @param contents The contents of the file.
|
|
1537
1547
|
*/
|
|
1538
1548
|
async upload(contents, params) {
|
|
@@ -1541,7 +1551,7 @@ export class Client extends ClientAbstract {
|
|
|
1541
1551
|
/**
|
|
1542
1552
|
* Set the bot's commands in the given scope and/or language. Bot-only.
|
|
1543
1553
|
*
|
|
1544
|
-
* @method
|
|
1554
|
+
* @method bs
|
|
1545
1555
|
* @param commands The commands to set.
|
|
1546
1556
|
*/
|
|
1547
1557
|
async setMyCommands(commands, params) {
|
|
@@ -1549,6 +1559,8 @@ export class Client extends ClientAbstract {
|
|
|
1549
1559
|
}
|
|
1550
1560
|
/**
|
|
1551
1561
|
* Get the bot's commands in the given scope and/or language. Bot-only.
|
|
1562
|
+
*
|
|
1563
|
+
* @method bs
|
|
1552
1564
|
*/
|
|
1553
1565
|
async getMyCommands(params) {
|
|
1554
1566
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyCommands(params);
|
|
@@ -1556,7 +1568,7 @@ export class Client extends ClientAbstract {
|
|
|
1556
1568
|
/**
|
|
1557
1569
|
* Answer an inline query. Bot-only.
|
|
1558
1570
|
*
|
|
1559
|
-
* @method
|
|
1571
|
+
* @method iq
|
|
1560
1572
|
* @param id The ID of the inline query to answer.
|
|
1561
1573
|
* @param results The results to answer with.
|
|
1562
1574
|
*/
|
|
@@ -1566,7 +1578,7 @@ export class Client extends ClientAbstract {
|
|
|
1566
1578
|
/**
|
|
1567
1579
|
* Set the bot's description in the given language. Bot-only.
|
|
1568
1580
|
*
|
|
1569
|
-
* @method
|
|
1581
|
+
* @method bs
|
|
1570
1582
|
*/
|
|
1571
1583
|
async setMyDescription(params) {
|
|
1572
1584
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyDescription(params);
|
|
@@ -1574,7 +1586,7 @@ export class Client extends ClientAbstract {
|
|
|
1574
1586
|
/**
|
|
1575
1587
|
* Set the bot's name in the given language. Bot-only.
|
|
1576
1588
|
*
|
|
1577
|
-
* @method
|
|
1589
|
+
* @method bs
|
|
1578
1590
|
*/
|
|
1579
1591
|
async setMyName(params) {
|
|
1580
1592
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyName(params);
|
|
@@ -1582,7 +1594,7 @@ export class Client extends ClientAbstract {
|
|
|
1582
1594
|
/**
|
|
1583
1595
|
* Set the bot's short description in the given language. Bot-only.
|
|
1584
1596
|
*
|
|
1585
|
-
* @method
|
|
1597
|
+
* @method bs
|
|
1586
1598
|
*/
|
|
1587
1599
|
async setMyShortDescription(params) {
|
|
1588
1600
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyShortDescription(params);
|
|
@@ -1590,7 +1602,7 @@ export class Client extends ClientAbstract {
|
|
|
1590
1602
|
/**
|
|
1591
1603
|
* Get the bot's description in the given language. Bot-only.
|
|
1592
1604
|
*
|
|
1593
|
-
* @method
|
|
1605
|
+
* @method bs
|
|
1594
1606
|
*/
|
|
1595
1607
|
async getMyDescription(params) {
|
|
1596
1608
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyDescription(params);
|
|
@@ -1598,7 +1610,7 @@ export class Client extends ClientAbstract {
|
|
|
1598
1610
|
/**
|
|
1599
1611
|
* Set the bot's name in the given language. Bot-only.
|
|
1600
1612
|
*
|
|
1601
|
-
* @method
|
|
1613
|
+
* @method bs
|
|
1602
1614
|
*/
|
|
1603
1615
|
async getMyName(params) {
|
|
1604
1616
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyName(params);
|
|
@@ -1606,7 +1618,7 @@ export class Client extends ClientAbstract {
|
|
|
1606
1618
|
/**
|
|
1607
1619
|
* Get the bot's short description in the given language. Bot-only.
|
|
1608
1620
|
*
|
|
1609
|
-
* @method
|
|
1621
|
+
* @method bs
|
|
1610
1622
|
*/
|
|
1611
1623
|
async getMyShortDescription(params) {
|
|
1612
1624
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyShortDescription(params);
|
|
@@ -1614,9 +1626,9 @@ export class Client extends ClientAbstract {
|
|
|
1614
1626
|
/**
|
|
1615
1627
|
* Delete multiple messages.
|
|
1616
1628
|
*
|
|
1617
|
-
* @method
|
|
1629
|
+
* @method ms
|
|
1618
1630
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1619
|
-
* @param messageIds The
|
|
1631
|
+
* @param messageIds The identifiers of the messages to delete.
|
|
1620
1632
|
*/
|
|
1621
1633
|
async deleteMessages(chatId, messageIds, params) {
|
|
1622
1634
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").deleteMessages(chatId, messageIds, params);
|
|
@@ -1624,7 +1636,7 @@ export class Client extends ClientAbstract {
|
|
|
1624
1636
|
/**
|
|
1625
1637
|
* Delete a single message.
|
|
1626
1638
|
*
|
|
1627
|
-
* @method
|
|
1639
|
+
* @method ms
|
|
1628
1640
|
* @param chatId The identifier of the chat that contains the message.
|
|
1629
1641
|
* @param messageId The identifier of the message to delete.
|
|
1630
1642
|
*/
|
|
@@ -1634,7 +1646,7 @@ export class Client extends ClientAbstract {
|
|
|
1634
1646
|
/**
|
|
1635
1647
|
* Send a photo.
|
|
1636
1648
|
*
|
|
1637
|
-
* @method
|
|
1649
|
+
* @method ms
|
|
1638
1650
|
* @param chatId The chat to send the photo to.
|
|
1639
1651
|
* @param photo The photo to send.
|
|
1640
1652
|
*/
|
|
@@ -1644,7 +1656,7 @@ export class Client extends ClientAbstract {
|
|
|
1644
1656
|
/**
|
|
1645
1657
|
* Send a document.
|
|
1646
1658
|
*
|
|
1647
|
-
* @method
|
|
1659
|
+
* @method ms
|
|
1648
1660
|
* @param chatId The chat to send the document to.
|
|
1649
1661
|
* @param document The document to send.
|
|
1650
1662
|
*/
|
|
@@ -1654,7 +1666,7 @@ export class Client extends ClientAbstract {
|
|
|
1654
1666
|
/**
|
|
1655
1667
|
* Send a video.
|
|
1656
1668
|
*
|
|
1657
|
-
* @method
|
|
1669
|
+
* @method ms
|
|
1658
1670
|
* @param chatId The chat to send the video to.
|
|
1659
1671
|
* @param video The video to send.
|
|
1660
1672
|
*/
|
|
@@ -1664,7 +1676,7 @@ export class Client extends ClientAbstract {
|
|
|
1664
1676
|
/**
|
|
1665
1677
|
* Send an animation.
|
|
1666
1678
|
*
|
|
1667
|
-
* @method
|
|
1679
|
+
* @method ms
|
|
1668
1680
|
* @param chatId The chat to send the animation to.
|
|
1669
1681
|
* @param animation The animation to send.
|
|
1670
1682
|
*/
|
|
@@ -1674,7 +1686,7 @@ export class Client extends ClientAbstract {
|
|
|
1674
1686
|
/**
|
|
1675
1687
|
* Send a voice message.
|
|
1676
1688
|
*
|
|
1677
|
-
* @method
|
|
1689
|
+
* @method ms
|
|
1678
1690
|
* @param chatId The chat to send the voice message to.
|
|
1679
1691
|
* @param voice The voice to send.
|
|
1680
1692
|
*/
|
|
@@ -1684,7 +1696,7 @@ export class Client extends ClientAbstract {
|
|
|
1684
1696
|
/**
|
|
1685
1697
|
* Send an audio file.
|
|
1686
1698
|
*
|
|
1687
|
-
* @method
|
|
1699
|
+
* @method ms
|
|
1688
1700
|
* @param chatId The chat to send the audio file to.
|
|
1689
1701
|
* @param audio The audio to send.
|
|
1690
1702
|
*/
|
|
@@ -1694,7 +1706,7 @@ export class Client extends ClientAbstract {
|
|
|
1694
1706
|
/**
|
|
1695
1707
|
* Send a video note.
|
|
1696
1708
|
*
|
|
1697
|
-
* @method
|
|
1709
|
+
* @method ms
|
|
1698
1710
|
* @param chatId The chat to send the video note to.
|
|
1699
1711
|
* @param videoNote The video note to send.
|
|
1700
1712
|
*/
|
|
@@ -1704,7 +1716,7 @@ export class Client extends ClientAbstract {
|
|
|
1704
1716
|
/**
|
|
1705
1717
|
* Send a location.
|
|
1706
1718
|
*
|
|
1707
|
-
* @method
|
|
1719
|
+
* @method ms
|
|
1708
1720
|
* @param chatId The chat to send the location to.
|
|
1709
1721
|
* @param latitude The location's latitude.
|
|
1710
1722
|
* @param longitude The location's longitude.
|
|
@@ -1715,7 +1727,7 @@ export class Client extends ClientAbstract {
|
|
|
1715
1727
|
/**
|
|
1716
1728
|
* Send a contact.
|
|
1717
1729
|
*
|
|
1718
|
-
* @method
|
|
1730
|
+
* @method ms
|
|
1719
1731
|
* @param chatId The chat to send the contact to.
|
|
1720
1732
|
* @param firstName The contact's first name.
|
|
1721
1733
|
* @param number The contact's phone number.
|
|
@@ -1726,7 +1738,7 @@ export class Client extends ClientAbstract {
|
|
|
1726
1738
|
/**
|
|
1727
1739
|
* Send a dice.
|
|
1728
1740
|
*
|
|
1729
|
-
* @method
|
|
1741
|
+
* @method ms
|
|
1730
1742
|
* @param chatId The chat to send the dice to.
|
|
1731
1743
|
*/
|
|
1732
1744
|
async sendDice(chatId, params) {
|
|
@@ -1735,7 +1747,7 @@ export class Client extends ClientAbstract {
|
|
|
1735
1747
|
/**
|
|
1736
1748
|
* Send a venue.
|
|
1737
1749
|
*
|
|
1738
|
-
* @method
|
|
1750
|
+
* @method ms
|
|
1739
1751
|
* @param chatId The chat to send the venue to.
|
|
1740
1752
|
* @param latitude The latitude of the venue.
|
|
1741
1753
|
* @param longitude The longitude of the venue.
|
|
@@ -1748,7 +1760,7 @@ export class Client extends ClientAbstract {
|
|
|
1748
1760
|
/**
|
|
1749
1761
|
* Get network statistics. This might not always be available.
|
|
1750
1762
|
*
|
|
1751
|
-
* @method
|
|
1763
|
+
* @method mc
|
|
1752
1764
|
*/
|
|
1753
1765
|
async getNetworkStatistics() {
|
|
1754
1766
|
return await __classPrivateFieldGet(this, _Client_networkStatisticsManager, "f").getNetworkStatistics();
|
|
@@ -1756,7 +1768,7 @@ export class Client extends ClientAbstract {
|
|
|
1756
1768
|
/**
|
|
1757
1769
|
* Get chats from a chat list. User-only.
|
|
1758
1770
|
*
|
|
1759
|
-
* @method
|
|
1771
|
+
* @method ch
|
|
1760
1772
|
*/
|
|
1761
1773
|
async getChats(params) {
|
|
1762
1774
|
return await __classPrivateFieldGet(this, _Client_chatListManager, "f").getChats(params?.from, params?.after, params?.limit);
|
|
@@ -1764,7 +1776,7 @@ export class Client extends ClientAbstract {
|
|
|
1764
1776
|
/**
|
|
1765
1777
|
* Get a chat.
|
|
1766
1778
|
*
|
|
1767
|
-
* @method
|
|
1779
|
+
* @method ch
|
|
1768
1780
|
*/
|
|
1769
1781
|
async getChat(chatId) {
|
|
1770
1782
|
return await __classPrivateFieldGet(this, _Client_chatListManager, "f").getChat(chatId);
|
|
@@ -1772,7 +1784,7 @@ export class Client extends ClientAbstract {
|
|
|
1772
1784
|
/**
|
|
1773
1785
|
* Get chat history. User-only.
|
|
1774
1786
|
*
|
|
1775
|
-
* @method
|
|
1787
|
+
* @method ch
|
|
1776
1788
|
* @param chatId The identifier of the chat to get its history.
|
|
1777
1789
|
*/
|
|
1778
1790
|
async getHistory(chatId, params) {
|
|
@@ -1781,7 +1793,7 @@ export class Client extends ClientAbstract {
|
|
|
1781
1793
|
/**
|
|
1782
1794
|
* Get custom emoji documents for download.
|
|
1783
1795
|
*
|
|
1784
|
-
* @method
|
|
1796
|
+
* @method fs
|
|
1785
1797
|
* @param id Identifier of one or more of custom emojis.
|
|
1786
1798
|
*/
|
|
1787
1799
|
async getCustomEmojiDocuments(id) {
|
|
@@ -1790,7 +1802,7 @@ export class Client extends ClientAbstract {
|
|
|
1790
1802
|
/**
|
|
1791
1803
|
* Set a chat's available reactions.
|
|
1792
1804
|
*
|
|
1793
|
-
* @method
|
|
1805
|
+
* @method ch
|
|
1794
1806
|
* @param chatId The identifier of the chat.
|
|
1795
1807
|
* @param availableReactions The new available reactions.
|
|
1796
1808
|
*/
|
|
@@ -1800,7 +1812,7 @@ export class Client extends ClientAbstract {
|
|
|
1800
1812
|
/**
|
|
1801
1813
|
* Change reactions made to a message.
|
|
1802
1814
|
*
|
|
1803
|
-
* @method
|
|
1815
|
+
* @method re
|
|
1804
1816
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1805
1817
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1806
1818
|
* @param reactions The new reactions.
|
|
@@ -1811,7 +1823,7 @@ export class Client extends ClientAbstract {
|
|
|
1811
1823
|
/**
|
|
1812
1824
|
* Make a reaction to a message.
|
|
1813
1825
|
*
|
|
1814
|
-
* @method
|
|
1826
|
+
* @method re
|
|
1815
1827
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1816
1828
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1817
1829
|
* @param reaction The reaction to add.
|
|
@@ -1822,7 +1834,7 @@ export class Client extends ClientAbstract {
|
|
|
1822
1834
|
/**
|
|
1823
1835
|
* Undo a reaction made to a message.
|
|
1824
1836
|
*
|
|
1825
|
-
* @method
|
|
1837
|
+
* @method re
|
|
1826
1838
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1827
1839
|
* @param messageId The identifier of the message which the reaction was made to.
|
|
1828
1840
|
* @param reaction The reaction to remove.
|
|
@@ -1833,7 +1845,7 @@ export class Client extends ClientAbstract {
|
|
|
1833
1845
|
/**
|
|
1834
1846
|
* Set a chat's photo.
|
|
1835
1847
|
*
|
|
1836
|
-
* @method
|
|
1848
|
+
* @method ch
|
|
1837
1849
|
* @param chatId The identifier of the chat.
|
|
1838
1850
|
* @param photo A photo to set as the chat's photo.
|
|
1839
1851
|
*/
|
|
@@ -1843,7 +1855,7 @@ export class Client extends ClientAbstract {
|
|
|
1843
1855
|
/**
|
|
1844
1856
|
* Delete a chat's photo.
|
|
1845
1857
|
*
|
|
1846
|
-
* @method
|
|
1858
|
+
* @method ch
|
|
1847
1859
|
* @param chatId The identifier of the chat.
|
|
1848
1860
|
*/
|
|
1849
1861
|
async deleteChatPhoto(chatId) {
|
|
@@ -1852,7 +1864,7 @@ export class Client extends ClientAbstract {
|
|
|
1852
1864
|
/**
|
|
1853
1865
|
* Delete all messages sent by a specific member of a chat.
|
|
1854
1866
|
*
|
|
1855
|
-
* @method
|
|
1867
|
+
* @method ms
|
|
1856
1868
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1857
1869
|
* @param memberId The identifier of the member.
|
|
1858
1870
|
*/
|
|
@@ -1862,7 +1874,7 @@ export class Client extends ClientAbstract {
|
|
|
1862
1874
|
/**
|
|
1863
1875
|
* Pin a message in a chat.
|
|
1864
1876
|
*
|
|
1865
|
-
* @method
|
|
1877
|
+
* @method ms
|
|
1866
1878
|
* @param chatId The identifier of the chat that contains the message.
|
|
1867
1879
|
* @param messageId The message's identifier.
|
|
1868
1880
|
*/
|
|
@@ -1872,7 +1884,7 @@ export class Client extends ClientAbstract {
|
|
|
1872
1884
|
/**
|
|
1873
1885
|
* Unpin a pinned message.
|
|
1874
1886
|
*
|
|
1875
|
-
* @method
|
|
1887
|
+
* @method ms
|
|
1876
1888
|
* @param chatId The identifier of the chat that contains the message.
|
|
1877
1889
|
* @param messageId The message's identifier.
|
|
1878
1890
|
*/
|
|
@@ -1882,7 +1894,7 @@ export class Client extends ClientAbstract {
|
|
|
1882
1894
|
/**
|
|
1883
1895
|
* Unpin all pinned messages.
|
|
1884
1896
|
*
|
|
1885
|
-
* @method
|
|
1897
|
+
* @method ms
|
|
1886
1898
|
* @param chatId The identifier of the chat.
|
|
1887
1899
|
*/
|
|
1888
1900
|
async unpinMessages(chatId) {
|
|
@@ -1891,7 +1903,7 @@ export class Client extends ClientAbstract {
|
|
|
1891
1903
|
/**
|
|
1892
1904
|
* Ban a member from a chat.
|
|
1893
1905
|
*
|
|
1894
|
-
* @method
|
|
1906
|
+
* @method ch
|
|
1895
1907
|
* @param chatId The identifier of the chat.
|
|
1896
1908
|
* @param memberId The identifier of the member.
|
|
1897
1909
|
*/
|
|
@@ -1901,7 +1913,7 @@ export class Client extends ClientAbstract {
|
|
|
1901
1913
|
/**
|
|
1902
1914
|
* Unban a member from a chat.
|
|
1903
1915
|
*
|
|
1904
|
-
* @method
|
|
1916
|
+
* @method ch
|
|
1905
1917
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1906
1918
|
* @param memberId The identifier of the member.
|
|
1907
1919
|
*/
|
|
@@ -1911,7 +1923,7 @@ export class Client extends ClientAbstract {
|
|
|
1911
1923
|
/**
|
|
1912
1924
|
* Kick a member from a chat. Same as a banChatMember call followed by unbanChatMember.
|
|
1913
1925
|
*
|
|
1914
|
-
* @method
|
|
1926
|
+
* @method ch
|
|
1915
1927
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1916
1928
|
* @param memberId The identifier of the member.
|
|
1917
1929
|
*/
|
|
@@ -1922,7 +1934,7 @@ export class Client extends ClientAbstract {
|
|
|
1922
1934
|
/**
|
|
1923
1935
|
* Set the rights of a chat member.
|
|
1924
1936
|
*
|
|
1925
|
-
* @method
|
|
1937
|
+
* @method ch
|
|
1926
1938
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1927
1939
|
* @param memberId The identifier of a member.
|
|
1928
1940
|
*/
|
|
@@ -1932,12 +1944,180 @@ export class Client extends ClientAbstract {
|
|
|
1932
1944
|
/**
|
|
1933
1945
|
* Get the administrators of a chat.
|
|
1934
1946
|
*
|
|
1935
|
-
* @method
|
|
1947
|
+
* @method ch
|
|
1936
1948
|
* @param chatId The identifier of the chat.
|
|
1937
1949
|
*/
|
|
1938
1950
|
async getChatAdministrators(chatId) {
|
|
1939
1951
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").getChatAdministrators(chatId);
|
|
1940
1952
|
}
|
|
1953
|
+
/**
|
|
1954
|
+
* Create a story. User-only.
|
|
1955
|
+
*
|
|
1956
|
+
* @method st
|
|
1957
|
+
* @param content The content of the story.
|
|
1958
|
+
* @returns The created story.
|
|
1959
|
+
*/
|
|
1960
|
+
async createStory(chatId, content, params) {
|
|
1961
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").createStory(chatId, content, params);
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* Retrieve multiple stories. User-only.
|
|
1965
|
+
*
|
|
1966
|
+
* @method st
|
|
1967
|
+
* @param chatId The identifier of the chat to retrieve the stories from.
|
|
1968
|
+
* @param storyIds The identifiers of the stories to retrieve.
|
|
1969
|
+
*/
|
|
1970
|
+
async getStories(chatId, storyIds) {
|
|
1971
|
+
if (!storyIds.length) {
|
|
1972
|
+
return [];
|
|
1973
|
+
}
|
|
1974
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStories(chatId, storyIds);
|
|
1975
|
+
}
|
|
1976
|
+
/**
|
|
1977
|
+
* Retrieve a single story. User-only.
|
|
1978
|
+
*
|
|
1979
|
+
* @method st
|
|
1980
|
+
* @param chatId The identifier of the chat to retrieve the story from.
|
|
1981
|
+
* @param storyId The identifier of the story to retrieve.
|
|
1982
|
+
*/
|
|
1983
|
+
async getStory(chatId, storyId) {
|
|
1984
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStory(chatId, storyId);
|
|
1985
|
+
}
|
|
1986
|
+
/**
|
|
1987
|
+
* Delete multiple stories. User-only.
|
|
1988
|
+
*
|
|
1989
|
+
* @method st
|
|
1990
|
+
* @param chatId The identifier of the chat to delete the stories from.
|
|
1991
|
+
* @param storyIds The identifiers of the stories to delete.
|
|
1992
|
+
*/
|
|
1993
|
+
async deleteStories(chatId, storyIds) {
|
|
1994
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").deleteStories(chatId, storyIds);
|
|
1995
|
+
}
|
|
1996
|
+
/**
|
|
1997
|
+
* Delete a single story. User-only.
|
|
1998
|
+
*
|
|
1999
|
+
* @method st
|
|
2000
|
+
* @param chatId The identifier of the chat to delete the story from.
|
|
2001
|
+
* @param storyId The identifier of the story to delete.
|
|
2002
|
+
*/
|
|
2003
|
+
async deleteStory(chatId, storyId) {
|
|
2004
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").deleteStory(chatId, storyId);
|
|
2005
|
+
}
|
|
2006
|
+
/**
|
|
2007
|
+
* Add multiple stories to highlights. User-only.
|
|
2008
|
+
*
|
|
2009
|
+
* @method st
|
|
2010
|
+
* @param chatId The identifier of the chat that has the stories.
|
|
2011
|
+
* @param storyIds The identifiers of the stories to add to highlights.
|
|
2012
|
+
*/
|
|
2013
|
+
async addStoriesToHighlights(chatId, storyIds) {
|
|
2014
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").addStoriesToHighlights(chatId, storyIds);
|
|
2015
|
+
}
|
|
2016
|
+
/**
|
|
2017
|
+
* Add a single story to highlights. User-only.
|
|
2018
|
+
*
|
|
2019
|
+
* @method st
|
|
2020
|
+
* @param chatId The identifier of the chat that has the story.
|
|
2021
|
+
* @param storyId The identifier of the story to add to highlights.
|
|
2022
|
+
*/
|
|
2023
|
+
async addStoryToHighlights(chatId, storyId) {
|
|
2024
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").addStoryToHighlights(chatId, storyId);
|
|
2025
|
+
}
|
|
2026
|
+
/**
|
|
2027
|
+
* Remove multiple stories from highlights. User-only.
|
|
2028
|
+
*
|
|
2029
|
+
* @method st
|
|
2030
|
+
* @param chatId The identifier of the chat that has the stories.
|
|
2031
|
+
* @param storyIds The identifiers of the stories to remove from highlights.
|
|
2032
|
+
*/
|
|
2033
|
+
async removeStoriesFromHighlights(chatId, storyIds) {
|
|
2034
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").removeStoriesFromHighlights(chatId, storyIds);
|
|
2035
|
+
}
|
|
2036
|
+
/**
|
|
2037
|
+
* Remove a single story from highlights. User-only.
|
|
2038
|
+
*
|
|
2039
|
+
* @method st
|
|
2040
|
+
* @param chatId The identifier of the chat that has the story.
|
|
2041
|
+
* @param storyId The identifier of the story to remove from highlights.
|
|
2042
|
+
*/
|
|
2043
|
+
async removeStoryFromHighlights(chatId, storyId) {
|
|
2044
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").removeStoryFromHighlights(chatId, storyId);
|
|
2045
|
+
}
|
|
2046
|
+
/**
|
|
2047
|
+
* Enable join requests in a chat. User-only.
|
|
2048
|
+
*
|
|
2049
|
+
* @method ch
|
|
2050
|
+
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
2051
|
+
*/
|
|
2052
|
+
async enableJoinRequests(chatId) {
|
|
2053
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").enableJoinRequests(chatId);
|
|
2054
|
+
}
|
|
2055
|
+
/**
|
|
2056
|
+
* Disable join requests in a chat. User-only.
|
|
2057
|
+
*
|
|
2058
|
+
* @method ch
|
|
2059
|
+
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
2060
|
+
*/
|
|
2061
|
+
async disableJoinRequests(chatId) {
|
|
2062
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").disableJoinRequests(chatId);
|
|
2063
|
+
}
|
|
2064
|
+
/**
|
|
2065
|
+
* Show a username in the current account, a bot account, sa upergroup, or a channel's profile. User-only.
|
|
2066
|
+
*
|
|
2067
|
+
* @method ac
|
|
2068
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2069
|
+
* @param username The username to show.
|
|
2070
|
+
*/
|
|
2071
|
+
async showUsername(id, username) {
|
|
2072
|
+
await __classPrivateFieldGet(this, _Client_accountManager, "f").showUsername(id, username);
|
|
2073
|
+
}
|
|
2074
|
+
/**
|
|
2075
|
+
* Hide a username from the current account, a bot account, a supergroup, or a channel's profile. User-only.
|
|
2076
|
+
*
|
|
2077
|
+
* @method ac
|
|
2078
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2079
|
+
* @param username The username to hide.
|
|
2080
|
+
*/
|
|
2081
|
+
async hideUsername(id, username) {
|
|
2082
|
+
await __classPrivateFieldGet(this, _Client_accountManager, "f").hideUsername(id, username);
|
|
2083
|
+
}
|
|
2084
|
+
/**
|
|
2085
|
+
* Reorder the usernames of the current account, a bot account, a supergroup, or a channel's profile. User-only.
|
|
2086
|
+
*
|
|
2087
|
+
* @method ac
|
|
2088
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2089
|
+
* @param order The new order to use.
|
|
2090
|
+
*/
|
|
2091
|
+
async reorderUsernames(id, order) {
|
|
2092
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").reorderUsernames(id, order);
|
|
2093
|
+
}
|
|
2094
|
+
/**
|
|
2095
|
+
* Hide all usernames from the a supergroup or a channel's profile. User-only.
|
|
2096
|
+
*
|
|
2097
|
+
* @method ac
|
|
2098
|
+
* @param id A supergroup ID or a channel ID.
|
|
2099
|
+
*/
|
|
2100
|
+
async hideUsernames(id) {
|
|
2101
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").hideUsernames(id);
|
|
2102
|
+
}
|
|
2103
|
+
/**
|
|
2104
|
+
* Get inactive chats. User-only.
|
|
2105
|
+
*
|
|
2106
|
+
* @method ch
|
|
2107
|
+
*/
|
|
2108
|
+
async getInactiveChats() {
|
|
2109
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").getInactiveChats();
|
|
2110
|
+
}
|
|
2111
|
+
/**
|
|
2112
|
+
* Search the messages of a chat.
|
|
2113
|
+
*
|
|
2114
|
+
* @method ms
|
|
2115
|
+
* @param chatId The identifier of the chat to search the messages in.
|
|
2116
|
+
* @param query The message search query.
|
|
2117
|
+
*/
|
|
2118
|
+
async searchMessages(chatId, query, params) {
|
|
2119
|
+
return await __classPrivateFieldGet(this, _Client_messageManager, "f").searchMessages(chatId, query, params);
|
|
2120
|
+
}
|
|
1941
2121
|
}
|
|
1942
2122
|
_Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
1943
2123
|
await __classPrivateFieldGet(this, _Client_handle, "f").call(this, await __classPrivateFieldGet(this, _Client_constructContext, "f").call(this, update), resolve);
|
|
@@ -1991,6 +2171,12 @@ _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
|
1991
2171
|
if (ChatListManager.canHandleUpdate(update)) {
|
|
1992
2172
|
await __classPrivateFieldGet(this, _Client_chatListManager, "f").handleUpdate(update);
|
|
1993
2173
|
}
|
|
2174
|
+
if (StoryManager.canHandleUpdate(update)) {
|
|
2175
|
+
const upd = await __classPrivateFieldGet(this, _Client_storyManager, "f").handleUpdate(update);
|
|
2176
|
+
if (upd) {
|
|
2177
|
+
promises.push(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleCtxUpdate).call(this, upd));
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
1994
2180
|
return () => Promise.all(promises);
|
|
1995
2181
|
}, _Client_getMe = async function _Client_getMe() {
|
|
1996
2182
|
if (__classPrivateFieldGet(this, _Client_lastGetMe, "f") != null) {
|