@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
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_parseMode, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_storeMessages, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_setAuth, _Client_storageInited, _Client_initStorage, _Client_connectMutex, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortController, _Client_pingInterval, _Client_lastUpdates, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_getUserAccessHash, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_handleCtxUpdate, _Client_queueHandleCtxUpdate, _Client_handleUpdate, _Client_lastGetMe, _Client_getMe, _Client_handle;
|
|
13
|
+
var _Client_instances, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_guaranteeUpdateDelivery, _Client_updateManager, _Client_networkStatisticsManager, _Client_botInfoManager, _Client_fileManager, _Client_reactionManager, _Client_messageManager, _Client_storyManager, _Client_callbackQueryManager, _Client_inlineQueryManager, _Client_chatListManager, _Client_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;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Client = exports.restartAuth = exports.skipInvoke = exports.handleMigrationError = void 0;
|
|
16
16
|
const _0_deps_js_1 = require("../0_deps.js");
|
|
@@ -26,6 +26,7 @@ const _0_message_js_1 = require("./0_message.js");
|
|
|
26
26
|
const _0_password_js_1 = require("./0_password.js");
|
|
27
27
|
const _0_types_js_1 = require("./0_types.js");
|
|
28
28
|
const _0_utilities_js_1 = require("./0_utilities.js");
|
|
29
|
+
const _1_account_manager_js_1 = require("./1_account_manager.js");
|
|
29
30
|
const _1_bot_info_manager_js_1 = require("./1_bot_info_manager.js");
|
|
30
31
|
const _1_composer_js_1 = require("./1_composer.js");
|
|
31
32
|
const _1_file_manager_js_1 = require("./1_file_manager.js");
|
|
@@ -37,6 +38,7 @@ const _2_message_manager_js_1 = require("./2_message_manager.js");
|
|
|
37
38
|
const _3_callback_query_manager_js_1 = require("./3_callback_query_manager.js");
|
|
38
39
|
const _3_chat_list_manager_js_1 = require("./3_chat_list_manager.js");
|
|
39
40
|
const _3_inline_query_manager_js_1 = require("./3_inline_query_manager.js");
|
|
41
|
+
const _3_story_manager_js_1 = require("./3_story_manager.js");
|
|
40
42
|
const d = (0, _0_deps_js_1.debug)("Client");
|
|
41
43
|
const dAuth = (0, _0_deps_js_1.debug)("Client/authorize");
|
|
42
44
|
const dRecv = (0, _0_deps_js_1.debug)("Client/receiveLoop");
|
|
@@ -83,9 +85,11 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
83
85
|
_Client_fileManager.set(this, void 0);
|
|
84
86
|
_Client_reactionManager.set(this, void 0);
|
|
85
87
|
_Client_messageManager.set(this, void 0);
|
|
88
|
+
_Client_storyManager.set(this, void 0);
|
|
86
89
|
_Client_callbackQueryManager.set(this, void 0);
|
|
87
90
|
_Client_inlineQueryManager.set(this, void 0);
|
|
88
91
|
_Client_chatListManager.set(this, void 0);
|
|
92
|
+
_Client_accountManager.set(this, void 0);
|
|
89
93
|
Object.defineProperty(this, "storage", {
|
|
90
94
|
enumerable: true,
|
|
91
95
|
configurable: true,
|
|
@@ -557,6 +561,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
557
561
|
resetConnectionState: () => this.stateChangeHandler(this.connected),
|
|
558
562
|
getSelfId: __classPrivateFieldGet(this, _Client_instances, "m", _Client_getSelfId).bind(this),
|
|
559
563
|
getInputPeer: this.getInputPeer.bind(this),
|
|
564
|
+
getInputChannel: this.getInputChannel.bind(this),
|
|
560
565
|
getEntity: this[getEntity].bind(this),
|
|
561
566
|
handleUpdate: __classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).bind(this),
|
|
562
567
|
parseMode: __classPrivateFieldGet(this, _Client_parseMode, "f"),
|
|
@@ -614,8 +619,10 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
614
619
|
__classPrivateFieldSet(this, _Client_reactionManager, new _1_reaction_manager_js_1.ReactionManager(c), "f");
|
|
615
620
|
__classPrivateFieldSet(this, _Client_messageManager, new _2_message_manager_js_1.MessageManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f") }), "f");
|
|
616
621
|
__classPrivateFieldSet(this, _Client_callbackQueryManager, new _3_callback_query_manager_js_1.CallbackQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
622
|
+
__classPrivateFieldSet(this, _Client_storyManager, new _3_story_manager_js_1.StoryManager({ ...c, fileManager: __classPrivateFieldGet(this, _Client_fileManager, "f"), messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
617
623
|
__classPrivateFieldSet(this, _Client_inlineQueryManager, new _3_inline_query_manager_js_1.InlineQueryManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
618
624
|
__classPrivateFieldSet(this, _Client_chatListManager, new _3_chat_list_manager_js_1.ChatListManager({ ...c, messageManager: __classPrivateFieldGet(this, _Client_messageManager, "f") }), "f");
|
|
625
|
+
__classPrivateFieldSet(this, _Client_accountManager, new _1_account_manager_js_1.AccountManager(c), "f");
|
|
619
626
|
__classPrivateFieldGet(this, _Client_updateManager, "f").setUpdateHandler(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleUpdate).bind(this));
|
|
620
627
|
const transportProvider = this.transportProvider;
|
|
621
628
|
this.transportProvider = (params) => {
|
|
@@ -730,7 +737,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
730
737
|
release();
|
|
731
738
|
}
|
|
732
739
|
}
|
|
733
|
-
async [(_Client_auth = new WeakMap(), _Client_sessionId = new WeakMap(), _Client_state = new WeakMap(), _Client_promises = new WeakMap(), _Client_toAcknowledge = new WeakMap(), _Client_guaranteeUpdateDelivery = new WeakMap(), _Client_updateManager = new WeakMap(), _Client_networkStatisticsManager = new WeakMap(), _Client_botInfoManager = new WeakMap(), _Client_fileManager = new WeakMap(), _Client_reactionManager = new WeakMap(), _Client_messageManager = new WeakMap(), _Client_callbackQueryManager = new WeakMap(), _Client_inlineQueryManager = new WeakMap(), _Client_chatListManager = new WeakMap(), _Client_parseMode = new WeakMap(), _Client_publicKeys = new WeakMap(), _Client_autoStart = new WeakMap(), _Client_ignoreOutgoing = new WeakMap(), _Client_prefixes = new WeakMap(), _Client_storeMessages = new WeakMap(), _Client_namespaceProxies = new WeakMap(), _Client_constructContext = new WeakMap(), _Client_lastPropagatedConnectionState = new WeakMap(), _Client_storageInited = new WeakMap(), _Client_connectMutex = new WeakMap(), _Client_connectionInited = new WeakMap(), _Client_lastPropagatedAuthorizationState = new WeakMap(), _Client_selfId = new WeakMap(), _Client_pingLoopAbortController = new WeakMap(), _Client_pingInterval = new WeakMap(), _Client_lastUpdates = new WeakMap(), _Client_pingLoopStarted = new WeakMap(), _Client_autoStarted = new WeakMap(), _Client_lastMsgId = new WeakMap(), _Client_handleInvokeError = new WeakMap(), _Client_lastGetMe = new WeakMap(), _Client_handle = new WeakMap(), _Client_instances = new WeakSet(), _Client_propagateConnectionState = function _Client_propagateConnectionState(connectionState) {
|
|
740
|
+
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) {
|
|
734
741
|
__classPrivateFieldGet(this, _Client_instances, "m", _Client_queueHandleCtxUpdate).call(this, { connectionState });
|
|
735
742
|
__classPrivateFieldSet(this, _Client_lastPropagatedConnectionState, connectionState, "f");
|
|
736
743
|
}, _Client_setAuth = async function _Client_setAuth(key) {
|
|
@@ -951,6 +958,9 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
951
958
|
return this.invoke(function_, true);
|
|
952
959
|
}
|
|
953
960
|
async getInputPeer(id) {
|
|
961
|
+
if (id === "me") {
|
|
962
|
+
return new _2_tl_js_1.types.InputPeerSelf();
|
|
963
|
+
}
|
|
954
964
|
const inputPeer = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_getInputPeerInner).call(this, id);
|
|
955
965
|
if ((inputPeer instanceof _2_tl_js_1.types.InputPeerUser || inputPeer instanceof _2_tl_js_1.types.InputPeerChannel && inputPeer.access_hash == 0n) && await this.storage.getAccountType() == "bot") {
|
|
956
966
|
if ("channel_id" in inputPeer) {
|
|
@@ -1368,7 +1378,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1368
1378
|
/**
|
|
1369
1379
|
* Send a text message.
|
|
1370
1380
|
*
|
|
1371
|
-
* @method
|
|
1381
|
+
* @method ms
|
|
1372
1382
|
* @param chatId The chat to send the message to.
|
|
1373
1383
|
* @param text The message's text.
|
|
1374
1384
|
* @returns The sent text message.
|
|
@@ -1379,7 +1389,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1379
1389
|
/**
|
|
1380
1390
|
* Edit a message's text.
|
|
1381
1391
|
*
|
|
1382
|
-
* @method
|
|
1392
|
+
* @method ms
|
|
1383
1393
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1384
1394
|
* @param messageId The message's identifier.
|
|
1385
1395
|
* @param text The new text of the message.
|
|
@@ -1391,7 +1401,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1391
1401
|
/**
|
|
1392
1402
|
* Edit an inline message's text.
|
|
1393
1403
|
*
|
|
1394
|
-
* @method
|
|
1404
|
+
* @method ms
|
|
1395
1405
|
* @param inlineMessageId The inline message's identifier.
|
|
1396
1406
|
* @param text The new text of the message.
|
|
1397
1407
|
*/
|
|
@@ -1401,7 +1411,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1401
1411
|
/**
|
|
1402
1412
|
* Edit a message's reply markup.
|
|
1403
1413
|
*
|
|
1404
|
-
* @method
|
|
1414
|
+
* @method ms
|
|
1405
1415
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1406
1416
|
* @param messageId The message's identifier.
|
|
1407
1417
|
* @returns The edited message.
|
|
@@ -1412,7 +1422,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1412
1422
|
/**
|
|
1413
1423
|
* Edit an inline message's reply markup.
|
|
1414
1424
|
*
|
|
1415
|
-
* @method
|
|
1425
|
+
* @method ms
|
|
1416
1426
|
* @param inlineMessageId The inline message's identifier.
|
|
1417
1427
|
*/
|
|
1418
1428
|
async editInlineMessageReplyMarkup(inlineMessageId, params) {
|
|
@@ -1421,7 +1431,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1421
1431
|
/**
|
|
1422
1432
|
* Retrieve multiple messages.
|
|
1423
1433
|
*
|
|
1424
|
-
* @method
|
|
1434
|
+
* @method ms
|
|
1425
1435
|
* @param chatId The identifier of the chat to retrieve the messages from.
|
|
1426
1436
|
* @param messageIds The identifiers of the messages to retrieve.
|
|
1427
1437
|
* @example ```ts
|
|
@@ -1435,7 +1445,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1435
1445
|
/**
|
|
1436
1446
|
* Retrieve a single message.
|
|
1437
1447
|
*
|
|
1438
|
-
* @method
|
|
1448
|
+
* @method ms
|
|
1439
1449
|
* @param chatId The identifier of the chat to retrieve the message from.
|
|
1440
1450
|
* @param messageId The identifier of the message to retrieve.
|
|
1441
1451
|
* @example ```ts
|
|
@@ -1449,7 +1459,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1449
1459
|
/**
|
|
1450
1460
|
* Download a file.
|
|
1451
1461
|
*
|
|
1452
|
-
* @method
|
|
1462
|
+
* @method fs
|
|
1453
1463
|
* @param fileId The identifier of the file to download.
|
|
1454
1464
|
* @example ```ts
|
|
1455
1465
|
* for await (const chunk of client.download(fileId, { chunkSize: 256 * 1024 })) {
|
|
@@ -1466,7 +1476,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1466
1476
|
/**
|
|
1467
1477
|
* Forward multiple messages.
|
|
1468
1478
|
*
|
|
1469
|
-
* @method
|
|
1479
|
+
* @method ms
|
|
1470
1480
|
* @param from The identifier of the chat to forward the messages from.
|
|
1471
1481
|
* @param to The identifier of the chat to forward the messages to.
|
|
1472
1482
|
* @param messageIds The identifiers of the messages to forward.
|
|
@@ -1478,7 +1488,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1478
1488
|
/**
|
|
1479
1489
|
* Forward a single message.
|
|
1480
1490
|
*
|
|
1481
|
-
* @method
|
|
1491
|
+
* @method ms
|
|
1482
1492
|
* @param from The identifier of the chat to forward the message from.
|
|
1483
1493
|
* @param to The identifier of the chat to forward the message to.
|
|
1484
1494
|
* @param messageId The identifier of the message to forward.
|
|
@@ -1490,7 +1500,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1490
1500
|
/**
|
|
1491
1501
|
* Get information on the currently authorized user.
|
|
1492
1502
|
*
|
|
1493
|
-
* @method
|
|
1503
|
+
* @method ac
|
|
1494
1504
|
*/
|
|
1495
1505
|
async getMe() {
|
|
1496
1506
|
const users = await this.api.users.getUsers({ id: [new _2_tl_js_1.types.InputUserSelf()] });
|
|
@@ -1504,7 +1514,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1504
1514
|
/**
|
|
1505
1515
|
* Answer a callback query. Bot-only.
|
|
1506
1516
|
*
|
|
1507
|
-
* @method
|
|
1517
|
+
* @method cq
|
|
1508
1518
|
* @param id ID of the callback query to answer.
|
|
1509
1519
|
*/
|
|
1510
1520
|
async answerCallbackQuery(id, params) {
|
|
@@ -1513,7 +1523,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1513
1523
|
/**
|
|
1514
1524
|
* Send a poll.
|
|
1515
1525
|
*
|
|
1516
|
-
* @method
|
|
1526
|
+
* @method ms
|
|
1517
1527
|
* @param chatId The chat to send the poll to.
|
|
1518
1528
|
* @param question The poll's question.
|
|
1519
1529
|
* @param options The poll's options.
|
|
@@ -1525,7 +1535,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1525
1535
|
/**
|
|
1526
1536
|
* Send a chat action.
|
|
1527
1537
|
*
|
|
1528
|
-
* @method
|
|
1538
|
+
* @method ms
|
|
1529
1539
|
* @param chatId The chat to send the chat action to.
|
|
1530
1540
|
* @param action The chat action.
|
|
1531
1541
|
* @param messageThreadId The thread to send the chat action to.
|
|
@@ -1536,7 +1546,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1536
1546
|
/**
|
|
1537
1547
|
* Upload a file.
|
|
1538
1548
|
*
|
|
1539
|
-
* @method
|
|
1549
|
+
* @method fs
|
|
1540
1550
|
* @param contents The contents of the file.
|
|
1541
1551
|
*/
|
|
1542
1552
|
async upload(contents, params) {
|
|
@@ -1545,7 +1555,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1545
1555
|
/**
|
|
1546
1556
|
* Set the bot's commands in the given scope and/or language. Bot-only.
|
|
1547
1557
|
*
|
|
1548
|
-
* @method
|
|
1558
|
+
* @method bs
|
|
1549
1559
|
* @param commands The commands to set.
|
|
1550
1560
|
*/
|
|
1551
1561
|
async setMyCommands(commands, params) {
|
|
@@ -1553,6 +1563,8 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1553
1563
|
}
|
|
1554
1564
|
/**
|
|
1555
1565
|
* Get the bot's commands in the given scope and/or language. Bot-only.
|
|
1566
|
+
*
|
|
1567
|
+
* @method bs
|
|
1556
1568
|
*/
|
|
1557
1569
|
async getMyCommands(params) {
|
|
1558
1570
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyCommands(params);
|
|
@@ -1560,7 +1572,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1560
1572
|
/**
|
|
1561
1573
|
* Answer an inline query. Bot-only.
|
|
1562
1574
|
*
|
|
1563
|
-
* @method
|
|
1575
|
+
* @method iq
|
|
1564
1576
|
* @param id The ID of the inline query to answer.
|
|
1565
1577
|
* @param results The results to answer with.
|
|
1566
1578
|
*/
|
|
@@ -1570,7 +1582,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1570
1582
|
/**
|
|
1571
1583
|
* Set the bot's description in the given language. Bot-only.
|
|
1572
1584
|
*
|
|
1573
|
-
* @method
|
|
1585
|
+
* @method bs
|
|
1574
1586
|
*/
|
|
1575
1587
|
async setMyDescription(params) {
|
|
1576
1588
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyDescription(params);
|
|
@@ -1578,7 +1590,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1578
1590
|
/**
|
|
1579
1591
|
* Set the bot's name in the given language. Bot-only.
|
|
1580
1592
|
*
|
|
1581
|
-
* @method
|
|
1593
|
+
* @method bs
|
|
1582
1594
|
*/
|
|
1583
1595
|
async setMyName(params) {
|
|
1584
1596
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyName(params);
|
|
@@ -1586,7 +1598,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1586
1598
|
/**
|
|
1587
1599
|
* Set the bot's short description in the given language. Bot-only.
|
|
1588
1600
|
*
|
|
1589
|
-
* @method
|
|
1601
|
+
* @method bs
|
|
1590
1602
|
*/
|
|
1591
1603
|
async setMyShortDescription(params) {
|
|
1592
1604
|
await __classPrivateFieldGet(this, _Client_botInfoManager, "f").setMyShortDescription(params);
|
|
@@ -1594,7 +1606,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1594
1606
|
/**
|
|
1595
1607
|
* Get the bot's description in the given language. Bot-only.
|
|
1596
1608
|
*
|
|
1597
|
-
* @method
|
|
1609
|
+
* @method bs
|
|
1598
1610
|
*/
|
|
1599
1611
|
async getMyDescription(params) {
|
|
1600
1612
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyDescription(params);
|
|
@@ -1602,7 +1614,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1602
1614
|
/**
|
|
1603
1615
|
* Set the bot's name in the given language. Bot-only.
|
|
1604
1616
|
*
|
|
1605
|
-
* @method
|
|
1617
|
+
* @method bs
|
|
1606
1618
|
*/
|
|
1607
1619
|
async getMyName(params) {
|
|
1608
1620
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyName(params);
|
|
@@ -1610,7 +1622,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1610
1622
|
/**
|
|
1611
1623
|
* Get the bot's short description in the given language. Bot-only.
|
|
1612
1624
|
*
|
|
1613
|
-
* @method
|
|
1625
|
+
* @method bs
|
|
1614
1626
|
*/
|
|
1615
1627
|
async getMyShortDescription(params) {
|
|
1616
1628
|
return await __classPrivateFieldGet(this, _Client_botInfoManager, "f").getMyShortDescription(params);
|
|
@@ -1618,9 +1630,9 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1618
1630
|
/**
|
|
1619
1631
|
* Delete multiple messages.
|
|
1620
1632
|
*
|
|
1621
|
-
* @method
|
|
1633
|
+
* @method ms
|
|
1622
1634
|
* @param chatId The identifier of the chat that contains the messages.
|
|
1623
|
-
* @param messageIds The
|
|
1635
|
+
* @param messageIds The identifiers of the messages to delete.
|
|
1624
1636
|
*/
|
|
1625
1637
|
async deleteMessages(chatId, messageIds, params) {
|
|
1626
1638
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").deleteMessages(chatId, messageIds, params);
|
|
@@ -1628,7 +1640,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1628
1640
|
/**
|
|
1629
1641
|
* Delete a single message.
|
|
1630
1642
|
*
|
|
1631
|
-
* @method
|
|
1643
|
+
* @method ms
|
|
1632
1644
|
* @param chatId The identifier of the chat that contains the message.
|
|
1633
1645
|
* @param messageId The identifier of the message to delete.
|
|
1634
1646
|
*/
|
|
@@ -1638,7 +1650,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1638
1650
|
/**
|
|
1639
1651
|
* Send a photo.
|
|
1640
1652
|
*
|
|
1641
|
-
* @method
|
|
1653
|
+
* @method ms
|
|
1642
1654
|
* @param chatId The chat to send the photo to.
|
|
1643
1655
|
* @param photo The photo to send.
|
|
1644
1656
|
*/
|
|
@@ -1648,7 +1660,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1648
1660
|
/**
|
|
1649
1661
|
* Send a document.
|
|
1650
1662
|
*
|
|
1651
|
-
* @method
|
|
1663
|
+
* @method ms
|
|
1652
1664
|
* @param chatId The chat to send the document to.
|
|
1653
1665
|
* @param document The document to send.
|
|
1654
1666
|
*/
|
|
@@ -1658,7 +1670,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1658
1670
|
/**
|
|
1659
1671
|
* Send a video.
|
|
1660
1672
|
*
|
|
1661
|
-
* @method
|
|
1673
|
+
* @method ms
|
|
1662
1674
|
* @param chatId The chat to send the video to.
|
|
1663
1675
|
* @param video The video to send.
|
|
1664
1676
|
*/
|
|
@@ -1668,7 +1680,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1668
1680
|
/**
|
|
1669
1681
|
* Send an animation.
|
|
1670
1682
|
*
|
|
1671
|
-
* @method
|
|
1683
|
+
* @method ms
|
|
1672
1684
|
* @param chatId The chat to send the animation to.
|
|
1673
1685
|
* @param animation The animation to send.
|
|
1674
1686
|
*/
|
|
@@ -1678,7 +1690,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1678
1690
|
/**
|
|
1679
1691
|
* Send a voice message.
|
|
1680
1692
|
*
|
|
1681
|
-
* @method
|
|
1693
|
+
* @method ms
|
|
1682
1694
|
* @param chatId The chat to send the voice message to.
|
|
1683
1695
|
* @param voice The voice to send.
|
|
1684
1696
|
*/
|
|
@@ -1688,7 +1700,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1688
1700
|
/**
|
|
1689
1701
|
* Send an audio file.
|
|
1690
1702
|
*
|
|
1691
|
-
* @method
|
|
1703
|
+
* @method ms
|
|
1692
1704
|
* @param chatId The chat to send the audio file to.
|
|
1693
1705
|
* @param audio The audio to send.
|
|
1694
1706
|
*/
|
|
@@ -1698,7 +1710,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1698
1710
|
/**
|
|
1699
1711
|
* Send a video note.
|
|
1700
1712
|
*
|
|
1701
|
-
* @method
|
|
1713
|
+
* @method ms
|
|
1702
1714
|
* @param chatId The chat to send the video note to.
|
|
1703
1715
|
* @param videoNote The video note to send.
|
|
1704
1716
|
*/
|
|
@@ -1708,7 +1720,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1708
1720
|
/**
|
|
1709
1721
|
* Send a location.
|
|
1710
1722
|
*
|
|
1711
|
-
* @method
|
|
1723
|
+
* @method ms
|
|
1712
1724
|
* @param chatId The chat to send the location to.
|
|
1713
1725
|
* @param latitude The location's latitude.
|
|
1714
1726
|
* @param longitude The location's longitude.
|
|
@@ -1719,7 +1731,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1719
1731
|
/**
|
|
1720
1732
|
* Send a contact.
|
|
1721
1733
|
*
|
|
1722
|
-
* @method
|
|
1734
|
+
* @method ms
|
|
1723
1735
|
* @param chatId The chat to send the contact to.
|
|
1724
1736
|
* @param firstName The contact's first name.
|
|
1725
1737
|
* @param number The contact's phone number.
|
|
@@ -1730,7 +1742,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1730
1742
|
/**
|
|
1731
1743
|
* Send a dice.
|
|
1732
1744
|
*
|
|
1733
|
-
* @method
|
|
1745
|
+
* @method ms
|
|
1734
1746
|
* @param chatId The chat to send the dice to.
|
|
1735
1747
|
*/
|
|
1736
1748
|
async sendDice(chatId, params) {
|
|
@@ -1739,7 +1751,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1739
1751
|
/**
|
|
1740
1752
|
* Send a venue.
|
|
1741
1753
|
*
|
|
1742
|
-
* @method
|
|
1754
|
+
* @method ms
|
|
1743
1755
|
* @param chatId The chat to send the venue to.
|
|
1744
1756
|
* @param latitude The latitude of the venue.
|
|
1745
1757
|
* @param longitude The longitude of the venue.
|
|
@@ -1752,7 +1764,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1752
1764
|
/**
|
|
1753
1765
|
* Get network statistics. This might not always be available.
|
|
1754
1766
|
*
|
|
1755
|
-
* @method
|
|
1767
|
+
* @method mc
|
|
1756
1768
|
*/
|
|
1757
1769
|
async getNetworkStatistics() {
|
|
1758
1770
|
return await __classPrivateFieldGet(this, _Client_networkStatisticsManager, "f").getNetworkStatistics();
|
|
@@ -1760,7 +1772,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1760
1772
|
/**
|
|
1761
1773
|
* Get chats from a chat list. User-only.
|
|
1762
1774
|
*
|
|
1763
|
-
* @method
|
|
1775
|
+
* @method ch
|
|
1764
1776
|
*/
|
|
1765
1777
|
async getChats(params) {
|
|
1766
1778
|
return await __classPrivateFieldGet(this, _Client_chatListManager, "f").getChats(params?.from, params?.after, params?.limit);
|
|
@@ -1768,7 +1780,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1768
1780
|
/**
|
|
1769
1781
|
* Get a chat.
|
|
1770
1782
|
*
|
|
1771
|
-
* @method
|
|
1783
|
+
* @method ch
|
|
1772
1784
|
*/
|
|
1773
1785
|
async getChat(chatId) {
|
|
1774
1786
|
return await __classPrivateFieldGet(this, _Client_chatListManager, "f").getChat(chatId);
|
|
@@ -1776,7 +1788,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1776
1788
|
/**
|
|
1777
1789
|
* Get chat history. User-only.
|
|
1778
1790
|
*
|
|
1779
|
-
* @method
|
|
1791
|
+
* @method ch
|
|
1780
1792
|
* @param chatId The identifier of the chat to get its history.
|
|
1781
1793
|
*/
|
|
1782
1794
|
async getHistory(chatId, params) {
|
|
@@ -1785,7 +1797,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1785
1797
|
/**
|
|
1786
1798
|
* Get custom emoji documents for download.
|
|
1787
1799
|
*
|
|
1788
|
-
* @method
|
|
1800
|
+
* @method fs
|
|
1789
1801
|
* @param id Identifier of one or more of custom emojis.
|
|
1790
1802
|
*/
|
|
1791
1803
|
async getCustomEmojiDocuments(id) {
|
|
@@ -1794,7 +1806,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1794
1806
|
/**
|
|
1795
1807
|
* Set a chat's available reactions.
|
|
1796
1808
|
*
|
|
1797
|
-
* @method
|
|
1809
|
+
* @method ch
|
|
1798
1810
|
* @param chatId The identifier of the chat.
|
|
1799
1811
|
* @param availableReactions The new available reactions.
|
|
1800
1812
|
*/
|
|
@@ -1804,7 +1816,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1804
1816
|
/**
|
|
1805
1817
|
* Change reactions made to a message.
|
|
1806
1818
|
*
|
|
1807
|
-
* @method
|
|
1819
|
+
* @method re
|
|
1808
1820
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1809
1821
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1810
1822
|
* @param reactions The new reactions.
|
|
@@ -1815,7 +1827,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1815
1827
|
/**
|
|
1816
1828
|
* Make a reaction to a message.
|
|
1817
1829
|
*
|
|
1818
|
-
* @method
|
|
1830
|
+
* @method re
|
|
1819
1831
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1820
1832
|
* @param messageId The identifier of the message to add the reaction to.
|
|
1821
1833
|
* @param reaction The reaction to add.
|
|
@@ -1826,7 +1838,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1826
1838
|
/**
|
|
1827
1839
|
* Undo a reaction made to a message.
|
|
1828
1840
|
*
|
|
1829
|
-
* @method
|
|
1841
|
+
* @method re
|
|
1830
1842
|
* @param chatId The identifier of the chat which the message belongs to.
|
|
1831
1843
|
* @param messageId The identifier of the message which the reaction was made to.
|
|
1832
1844
|
* @param reaction The reaction to remove.
|
|
@@ -1837,7 +1849,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1837
1849
|
/**
|
|
1838
1850
|
* Set a chat's photo.
|
|
1839
1851
|
*
|
|
1840
|
-
* @method
|
|
1852
|
+
* @method ch
|
|
1841
1853
|
* @param chatId The identifier of the chat.
|
|
1842
1854
|
* @param photo A photo to set as the chat's photo.
|
|
1843
1855
|
*/
|
|
@@ -1847,7 +1859,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1847
1859
|
/**
|
|
1848
1860
|
* Delete a chat's photo.
|
|
1849
1861
|
*
|
|
1850
|
-
* @method
|
|
1862
|
+
* @method ch
|
|
1851
1863
|
* @param chatId The identifier of the chat.
|
|
1852
1864
|
*/
|
|
1853
1865
|
async deleteChatPhoto(chatId) {
|
|
@@ -1856,7 +1868,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1856
1868
|
/**
|
|
1857
1869
|
* Delete all messages sent by a specific member of a chat.
|
|
1858
1870
|
*
|
|
1859
|
-
* @method
|
|
1871
|
+
* @method ms
|
|
1860
1872
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1861
1873
|
* @param memberId The identifier of the member.
|
|
1862
1874
|
*/
|
|
@@ -1866,7 +1878,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1866
1878
|
/**
|
|
1867
1879
|
* Pin a message in a chat.
|
|
1868
1880
|
*
|
|
1869
|
-
* @method
|
|
1881
|
+
* @method ms
|
|
1870
1882
|
* @param chatId The identifier of the chat that contains the message.
|
|
1871
1883
|
* @param messageId The message's identifier.
|
|
1872
1884
|
*/
|
|
@@ -1876,7 +1888,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1876
1888
|
/**
|
|
1877
1889
|
* Unpin a pinned message.
|
|
1878
1890
|
*
|
|
1879
|
-
* @method
|
|
1891
|
+
* @method ms
|
|
1880
1892
|
* @param chatId The identifier of the chat that contains the message.
|
|
1881
1893
|
* @param messageId The message's identifier.
|
|
1882
1894
|
*/
|
|
@@ -1886,7 +1898,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1886
1898
|
/**
|
|
1887
1899
|
* Unpin all pinned messages.
|
|
1888
1900
|
*
|
|
1889
|
-
* @method
|
|
1901
|
+
* @method ms
|
|
1890
1902
|
* @param chatId The identifier of the chat.
|
|
1891
1903
|
*/
|
|
1892
1904
|
async unpinMessages(chatId) {
|
|
@@ -1895,7 +1907,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1895
1907
|
/**
|
|
1896
1908
|
* Ban a member from a chat.
|
|
1897
1909
|
*
|
|
1898
|
-
* @method
|
|
1910
|
+
* @method ch
|
|
1899
1911
|
* @param chatId The identifier of the chat.
|
|
1900
1912
|
* @param memberId The identifier of the member.
|
|
1901
1913
|
*/
|
|
@@ -1905,7 +1917,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1905
1917
|
/**
|
|
1906
1918
|
* Unban a member from a chat.
|
|
1907
1919
|
*
|
|
1908
|
-
* @method
|
|
1920
|
+
* @method ch
|
|
1909
1921
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1910
1922
|
* @param memberId The identifier of the member.
|
|
1911
1923
|
*/
|
|
@@ -1915,7 +1927,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1915
1927
|
/**
|
|
1916
1928
|
* Kick a member from a chat. Same as a banChatMember call followed by unbanChatMember.
|
|
1917
1929
|
*
|
|
1918
|
-
* @method
|
|
1930
|
+
* @method ch
|
|
1919
1931
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1920
1932
|
* @param memberId The identifier of the member.
|
|
1921
1933
|
*/
|
|
@@ -1926,7 +1938,7 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1926
1938
|
/**
|
|
1927
1939
|
* Set the rights of a chat member.
|
|
1928
1940
|
*
|
|
1929
|
-
* @method
|
|
1941
|
+
* @method ch
|
|
1930
1942
|
* @param chatId The identifier of the chat. Must be a supergroup.
|
|
1931
1943
|
* @param memberId The identifier of a member.
|
|
1932
1944
|
*/
|
|
@@ -1936,12 +1948,180 @@ class Client extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
1936
1948
|
/**
|
|
1937
1949
|
* Get the administrators of a chat.
|
|
1938
1950
|
*
|
|
1939
|
-
* @method
|
|
1951
|
+
* @method ch
|
|
1940
1952
|
* @param chatId The identifier of the chat.
|
|
1941
1953
|
*/
|
|
1942
1954
|
async getChatAdministrators(chatId) {
|
|
1943
1955
|
return await __classPrivateFieldGet(this, _Client_messageManager, "f").getChatAdministrators(chatId);
|
|
1944
1956
|
}
|
|
1957
|
+
/**
|
|
1958
|
+
* Create a story. User-only.
|
|
1959
|
+
*
|
|
1960
|
+
* @method st
|
|
1961
|
+
* @param content The content of the story.
|
|
1962
|
+
* @returns The created story.
|
|
1963
|
+
*/
|
|
1964
|
+
async createStory(chatId, content, params) {
|
|
1965
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").createStory(chatId, content, params);
|
|
1966
|
+
}
|
|
1967
|
+
/**
|
|
1968
|
+
* Retrieve multiple stories. User-only.
|
|
1969
|
+
*
|
|
1970
|
+
* @method st
|
|
1971
|
+
* @param chatId The identifier of the chat to retrieve the stories from.
|
|
1972
|
+
* @param storyIds The identifiers of the stories to retrieve.
|
|
1973
|
+
*/
|
|
1974
|
+
async getStories(chatId, storyIds) {
|
|
1975
|
+
if (!storyIds.length) {
|
|
1976
|
+
return [];
|
|
1977
|
+
}
|
|
1978
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStories(chatId, storyIds);
|
|
1979
|
+
}
|
|
1980
|
+
/**
|
|
1981
|
+
* Retrieve a single story. User-only.
|
|
1982
|
+
*
|
|
1983
|
+
* @method st
|
|
1984
|
+
* @param chatId The identifier of the chat to retrieve the story from.
|
|
1985
|
+
* @param storyId The identifier of the story to retrieve.
|
|
1986
|
+
*/
|
|
1987
|
+
async getStory(chatId, storyId) {
|
|
1988
|
+
return await __classPrivateFieldGet(this, _Client_storyManager, "f").getStory(chatId, storyId);
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* Delete multiple stories. User-only.
|
|
1992
|
+
*
|
|
1993
|
+
* @method st
|
|
1994
|
+
* @param chatId The identifier of the chat to delete the stories from.
|
|
1995
|
+
* @param storyIds The identifiers of the stories to delete.
|
|
1996
|
+
*/
|
|
1997
|
+
async deleteStories(chatId, storyIds) {
|
|
1998
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").deleteStories(chatId, storyIds);
|
|
1999
|
+
}
|
|
2000
|
+
/**
|
|
2001
|
+
* Delete a single story. User-only.
|
|
2002
|
+
*
|
|
2003
|
+
* @method st
|
|
2004
|
+
* @param chatId The identifier of the chat to delete the story from.
|
|
2005
|
+
* @param storyId The identifier of the story to delete.
|
|
2006
|
+
*/
|
|
2007
|
+
async deleteStory(chatId, storyId) {
|
|
2008
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").deleteStory(chatId, storyId);
|
|
2009
|
+
}
|
|
2010
|
+
/**
|
|
2011
|
+
* Add multiple stories to highlights. User-only.
|
|
2012
|
+
*
|
|
2013
|
+
* @method st
|
|
2014
|
+
* @param chatId The identifier of the chat that has the stories.
|
|
2015
|
+
* @param storyIds The identifiers of the stories to add to highlights.
|
|
2016
|
+
*/
|
|
2017
|
+
async addStoriesToHighlights(chatId, storyIds) {
|
|
2018
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").addStoriesToHighlights(chatId, storyIds);
|
|
2019
|
+
}
|
|
2020
|
+
/**
|
|
2021
|
+
* Add a single story to highlights. User-only.
|
|
2022
|
+
*
|
|
2023
|
+
* @method st
|
|
2024
|
+
* @param chatId The identifier of the chat that has the story.
|
|
2025
|
+
* @param storyId The identifier of the story to add to highlights.
|
|
2026
|
+
*/
|
|
2027
|
+
async addStoryToHighlights(chatId, storyId) {
|
|
2028
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").addStoryToHighlights(chatId, storyId);
|
|
2029
|
+
}
|
|
2030
|
+
/**
|
|
2031
|
+
* Remove multiple stories from highlights. User-only.
|
|
2032
|
+
*
|
|
2033
|
+
* @method st
|
|
2034
|
+
* @param chatId The identifier of the chat that has the stories.
|
|
2035
|
+
* @param storyIds The identifiers of the stories to remove from highlights.
|
|
2036
|
+
*/
|
|
2037
|
+
async removeStoriesFromHighlights(chatId, storyIds) {
|
|
2038
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").removeStoriesFromHighlights(chatId, storyIds);
|
|
2039
|
+
}
|
|
2040
|
+
/**
|
|
2041
|
+
* Remove a single story from highlights. User-only.
|
|
2042
|
+
*
|
|
2043
|
+
* @method st
|
|
2044
|
+
* @param chatId The identifier of the chat that has the story.
|
|
2045
|
+
* @param storyId The identifier of the story to remove from highlights.
|
|
2046
|
+
*/
|
|
2047
|
+
async removeStoryFromHighlights(chatId, storyId) {
|
|
2048
|
+
await __classPrivateFieldGet(this, _Client_storyManager, "f").removeStoryFromHighlights(chatId, storyId);
|
|
2049
|
+
}
|
|
2050
|
+
/**
|
|
2051
|
+
* Enable join requests in a chat. User-only.
|
|
2052
|
+
*
|
|
2053
|
+
* @method ch
|
|
2054
|
+
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
2055
|
+
*/
|
|
2056
|
+
async enableJoinRequests(chatId) {
|
|
2057
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").enableJoinRequests(chatId);
|
|
2058
|
+
}
|
|
2059
|
+
/**
|
|
2060
|
+
* Disable join requests in a chat. User-only.
|
|
2061
|
+
*
|
|
2062
|
+
* @method ch
|
|
2063
|
+
* @param chatId The identifier of the chat. Must be a channel or a supergroup.
|
|
2064
|
+
*/
|
|
2065
|
+
async disableJoinRequests(chatId) {
|
|
2066
|
+
await __classPrivateFieldGet(this, _Client_messageManager, "f").disableJoinRequests(chatId);
|
|
2067
|
+
}
|
|
2068
|
+
/**
|
|
2069
|
+
* Show a username in the current account, a bot account, sa upergroup, or a channel's profile. User-only.
|
|
2070
|
+
*
|
|
2071
|
+
* @method ac
|
|
2072
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2073
|
+
* @param username The username to show.
|
|
2074
|
+
*/
|
|
2075
|
+
async showUsername(id, username) {
|
|
2076
|
+
await __classPrivateFieldGet(this, _Client_accountManager, "f").showUsername(id, username);
|
|
2077
|
+
}
|
|
2078
|
+
/**
|
|
2079
|
+
* Hide a username from the current account, a bot account, a supergroup, or a channel's profile. User-only.
|
|
2080
|
+
*
|
|
2081
|
+
* @method ac
|
|
2082
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2083
|
+
* @param username The username to hide.
|
|
2084
|
+
*/
|
|
2085
|
+
async hideUsername(id, username) {
|
|
2086
|
+
await __classPrivateFieldGet(this, _Client_accountManager, "f").hideUsername(id, username);
|
|
2087
|
+
}
|
|
2088
|
+
/**
|
|
2089
|
+
* Reorder the usernames of the current account, a bot account, a supergroup, or a channel's profile. User-only.
|
|
2090
|
+
*
|
|
2091
|
+
* @method ac
|
|
2092
|
+
* @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
|
|
2093
|
+
* @param order The new order to use.
|
|
2094
|
+
*/
|
|
2095
|
+
async reorderUsernames(id, order) {
|
|
2096
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").reorderUsernames(id, order);
|
|
2097
|
+
}
|
|
2098
|
+
/**
|
|
2099
|
+
* Hide all usernames from the a supergroup or a channel's profile. User-only.
|
|
2100
|
+
*
|
|
2101
|
+
* @method ac
|
|
2102
|
+
* @param id A supergroup ID or a channel ID.
|
|
2103
|
+
*/
|
|
2104
|
+
async hideUsernames(id) {
|
|
2105
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").hideUsernames(id);
|
|
2106
|
+
}
|
|
2107
|
+
/**
|
|
2108
|
+
* Get inactive chats. User-only.
|
|
2109
|
+
*
|
|
2110
|
+
* @method ch
|
|
2111
|
+
*/
|
|
2112
|
+
async getInactiveChats() {
|
|
2113
|
+
return await __classPrivateFieldGet(this, _Client_accountManager, "f").getInactiveChats();
|
|
2114
|
+
}
|
|
2115
|
+
/**
|
|
2116
|
+
* Search the messages of a chat.
|
|
2117
|
+
*
|
|
2118
|
+
* @method ms
|
|
2119
|
+
* @param chatId The identifier of the chat to search the messages in.
|
|
2120
|
+
* @param query The message search query.
|
|
2121
|
+
*/
|
|
2122
|
+
async searchMessages(chatId, query, params) {
|
|
2123
|
+
return await __classPrivateFieldGet(this, _Client_messageManager, "f").searchMessages(chatId, query, params);
|
|
2124
|
+
}
|
|
1945
2125
|
}
|
|
1946
2126
|
exports.Client = Client;
|
|
1947
2127
|
_Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
@@ -1996,6 +2176,12 @@ _Client_handleCtxUpdate = async function _Client_handleCtxUpdate(update) {
|
|
|
1996
2176
|
if (_3_chat_list_manager_js_1.ChatListManager.canHandleUpdate(update)) {
|
|
1997
2177
|
await __classPrivateFieldGet(this, _Client_chatListManager, "f").handleUpdate(update);
|
|
1998
2178
|
}
|
|
2179
|
+
if (_3_story_manager_js_1.StoryManager.canHandleUpdate(update)) {
|
|
2180
|
+
const upd = await __classPrivateFieldGet(this, _Client_storyManager, "f").handleUpdate(update);
|
|
2181
|
+
if (upd) {
|
|
2182
|
+
promises.push(__classPrivateFieldGet(this, _Client_instances, "m", _Client_handleCtxUpdate).call(this, upd));
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
1999
2185
|
return () => Promise.all(promises);
|
|
2000
2186
|
}, _Client_getMe = async function _Client_getMe() {
|
|
2001
2187
|
if (__classPrivateFieldGet(this, _Client_lastGetMe, "f") != null) {
|