@mtkruto/node 0.1.130 → 0.1.132
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 +2 -0
- package/esm/3_types.js +2 -0
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_utilities.d.ts +1 -1
- package/esm/client/3_types.d.ts +99 -134
- package/esm/client/5_client.d.ts +118 -4
- package/esm/client/5_client.js +379 -42
- package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.d.ts +0 -13
- package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.js +0 -13
- package/esm/deps/deno.land/std@0.210.0/path/common.d.ts +13 -0
- package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.js +1 -1
- package/{script/deps/deno.land/std@0.209.0 → esm/deps/deno.land/std@0.210.0}/path/mod.d.ts +2 -2
- package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/mod.js +3 -1
- package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.d.ts +1 -1
- package/esm/types/0_reaction.d.ts +11 -0
- package/esm/types/0_reaction.js +1 -0
- package/esm/types/1_reply_quote.d.ts +8 -0
- package/esm/types/1_reply_quote.js +11 -0
- package/esm/types/3_message.d.ts +2 -0
- package/esm/types/3_message.js +4 -0
- 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 +2 -0
- package/script/3_types.js +2 -0
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_utilities.d.ts +1 -1
- package/script/client/3_types.d.ts +99 -134
- package/script/client/5_client.d.ts +118 -4
- package/script/client/5_client.js +379 -42
- package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.d.ts +0 -13
- package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.js +1 -14
- package/script/deps/deno.land/std@0.210.0/path/common.d.ts +13 -0
- package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.js +1 -1
- package/{esm/deps/deno.land/std@0.209.0 → script/deps/deno.land/std@0.210.0}/path/mod.d.ts +2 -2
- package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/mod.js +3 -1
- package/script/deps/deno.land/std@0.210.0/path/separator.d.ts +2 -0
- package/script/types/0_reaction.d.ts +11 -0
- package/script/types/0_reaction.js +2 -0
- package/script/types/1_reply_quote.d.ts +8 -0
- package/script/types/1_reply_quote.js +15 -0
- package/script/types/3_message.d.ts +2 -0
- package/script/types/3_message.js +4 -0
- package/script/deps/deno.land/std@0.209.0/path/posix/common.d.ts +0 -13
- package/script/deps/deno.land/std@0.209.0/path/separator.d.ts +0 -2
- package/script/deps/deno.land/std@0.209.0/path/windows/common.d.ts +0 -13
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0/path → std@0.210.0/path/posix}/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0/path/posix → std@0.210.0/path/windows}/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.js +0 -0
- /package/{esm/deps/deno.land/std@0.209.0/path/windows → script/deps/deno.land/std@0.210.0/path/posix}/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0/path → std@0.210.0/path/windows}/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.209.0 → std@0.210.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, _a, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_updateState, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_storageInited, _Client_setAuth, _Client_authKeyWasCreated, _Client_connectMutex, _Client_assertUser, _Client_assertBot, _Client_fetchState, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortSignal, _Client_pingInterval, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_processChats, _Client_processUsers, _Client_handleUpdateQueue, _Client_processUpdatesQueue, _Client_checkGap, _Client_checkChannelGap, _Client_lastUpdates, _Client_processUpdates, _Client_setUpdateStateDate, _Client_setUpdatePts, _Client_getLocalState, _Client_recoverUpdateGap, _Client_recoverChannelUpdateGap, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_updatesToMessages, _Client_resolveSendAs, _Client_parseText, _Client_getMessagesInner, _Client_downloadInner, _Client_lastGetMe, _Client_getMe, _Client_handleUpdate, _Client_usernameResolver, _Client_constructReplyMarkup, _Client_assertMsgHas, _Client_handle, _Client_setMyInfo, _Client_getMyInfo, _Client_resolveFileId, _Client_sendMedia, _Client_sendChatUpdate, _Client_reassignChatLastMessage, _Client_chats, _Client_archivedChats, _Client_chatsLoadedFromStorage, _Client_tryGetChatId, _Client_getChatAnywhere, _Client_getChatList, _Client_loadChatsFromStorage, _Client_getLoadedChats, _Client_pinnedChats, _Client_pinnedArchiveChats, _Client_storageHadPinnedChats, _Client_pinnedChatsLoaded, _Client_loadPinnedChats, _Client_fetchPinnedChats, _Client_getPinnedChats, _Client_updateOrAddChat, _Client_removeChat, _Client_updatePinnedChats, _Client_fetchChats;
|
|
13
|
+
var _Client_instances, _a, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_updateState, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_storageInited, _Client_setAuth, _Client_authKeyWasCreated, _Client_connectMutex, _Client_assertUser, _Client_assertBot, _Client_fetchState, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortSignal, _Client_pingInterval, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_processChats, _Client_processUsers, _Client_handleUpdateQueue, _Client_processUpdatesQueue, _Client_checkGap, _Client_checkChannelGap, _Client_lastUpdates, _Client_processUpdates, _Client_setUpdateStateDate, _Client_setUpdatePts, _Client_getLocalState, _Client_recoverUpdateGap, _Client_recoverChannelUpdateGap, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_updatesToMessages, _Client_resolveSendAs, _Client_constructReplyTo, _Client_parseText, _Client_getMessagesInner, _Client_downloadInner, _Client_lastGetMe, _Client_getMe, _Client_handleUpdate, _Client_usernameResolver, _Client_constructReplyMarkup, _Client_assertMsgHas, _Client_handle, _Client_setMyInfo, _Client_getMyInfo, _Client_resolveFileId, _Client_sendMedia, _Client_sendDocumentInner, _Client_sendChatUpdate, _Client_reassignChatLastMessage, _Client_chats, _Client_archivedChats, _Client_chatsLoadedFromStorage, _Client_tryGetChatId, _Client_getChatAnywhere, _Client_getChatList, _Client_loadChatsFromStorage, _Client_getLoadedChats, _Client_pinnedChats, _Client_pinnedArchiveChats, _Client_storageHadPinnedChats, _Client_pinnedChatsLoaded, _Client_loadPinnedChats, _Client_fetchPinnedChats, _Client_getPinnedChats, _Client_updateOrAddChat, _Client_removeChat, _Client_updatePinnedChats, _Client_fetchChats;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Client = exports.ConnectionError = exports.restartAuth = exports.skipInvoke = exports.handleMigrationError = void 0;
|
|
16
16
|
const _0_deps_js_1 = require("../0_deps.js");
|
|
@@ -231,6 +231,51 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
231
231
|
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
232
232
|
return this.sendDocument(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
|
|
233
233
|
},
|
|
234
|
+
replyContact: (firstName, number, params) => {
|
|
235
|
+
const effectiveMessage = mustGetMsg();
|
|
236
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
237
|
+
return this.sendContact(effectiveMessage.chat.id, firstName, number, { ...params, replyToMessageId });
|
|
238
|
+
},
|
|
239
|
+
replyLocation: (latitude, longitude, params) => {
|
|
240
|
+
const effectiveMessage = mustGetMsg();
|
|
241
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
242
|
+
return this.sendLocation(effectiveMessage.chat.id, latitude, longitude, { ...params, replyToMessageId });
|
|
243
|
+
},
|
|
244
|
+
replyDice: (params) => {
|
|
245
|
+
const effectiveMessage = mustGetMsg();
|
|
246
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
247
|
+
return this.sendDice(effectiveMessage.chat.id, { ...params, replyToMessageId });
|
|
248
|
+
},
|
|
249
|
+
replyVenue: (latitude, longitude, title, address, params) => {
|
|
250
|
+
const effectiveMessage = mustGetMsg();
|
|
251
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
252
|
+
return this.sendVenue(effectiveMessage.chat.id, latitude, longitude, title, address, { ...params, replyToMessageId });
|
|
253
|
+
},
|
|
254
|
+
replyVideo: (document, params) => {
|
|
255
|
+
const effectiveMessage = mustGetMsg();
|
|
256
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
257
|
+
return this.sendDocument(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
|
|
258
|
+
},
|
|
259
|
+
replyAnimation: (document, params) => {
|
|
260
|
+
const effectiveMessage = mustGetMsg();
|
|
261
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
262
|
+
return this.sendAnimation(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
|
|
263
|
+
},
|
|
264
|
+
replyVoice: (document, params) => {
|
|
265
|
+
const effectiveMessage = mustGetMsg();
|
|
266
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
267
|
+
return this.sendVoice(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
|
|
268
|
+
},
|
|
269
|
+
replyAudio: (document, params) => {
|
|
270
|
+
const effectiveMessage = mustGetMsg();
|
|
271
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
272
|
+
return this.sendAudio(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
|
|
273
|
+
},
|
|
274
|
+
replyVideoNote: (videoNote, params) => {
|
|
275
|
+
const effectiveMessage = mustGetMsg();
|
|
276
|
+
const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
|
|
277
|
+
return this.sendVideoNote(effectiveMessage.chat.id, videoNote, { ...params, replyToMessageId });
|
|
278
|
+
},
|
|
234
279
|
delete: () => {
|
|
235
280
|
const effectiveMessage = mustGetMsg();
|
|
236
281
|
return this.deleteMessage(effectiveMessage.chat.id, effectiveMessage.id);
|
|
@@ -285,6 +330,14 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
285
330
|
const effectiveMessage = mustGetMsg();
|
|
286
331
|
return this.deleteMessages(effectiveMessage.chat.id, messageIds, params);
|
|
287
332
|
},
|
|
333
|
+
setAvailableReactions: (availableReactions) => {
|
|
334
|
+
const effectiveMessage = mustGetMsg();
|
|
335
|
+
return this.setAvailableReactions(effectiveMessage.chat.id, availableReactions);
|
|
336
|
+
},
|
|
337
|
+
addReaction: (messageId, reaction, params) => {
|
|
338
|
+
const effectiveMessage = mustGetMsg();
|
|
339
|
+
return this.addReaction(effectiveMessage.chat.id, messageId, reaction, params);
|
|
340
|
+
},
|
|
288
341
|
get toJSON() {
|
|
289
342
|
return () => update;
|
|
290
343
|
},
|
|
@@ -1464,8 +1517,6 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
1464
1517
|
const noWebpage = params?.disableWebPagePreview ? true : undefined;
|
|
1465
1518
|
const silent = params?.disableNotification ? true : undefined;
|
|
1466
1519
|
const noforwards = params?.protectContent ? true : undefined;
|
|
1467
|
-
const replyToMsgId = params?.replyToMessageId;
|
|
1468
|
-
const topMsgId = params?.messageThreadId;
|
|
1469
1520
|
const sendAs = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_resolveSendAs).call(this, params);
|
|
1470
1521
|
const result = await this.api.messages.sendMessage({
|
|
1471
1522
|
peer,
|
|
@@ -1474,7 +1525,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
1474
1525
|
no_webpage: noWebpage,
|
|
1475
1526
|
silent,
|
|
1476
1527
|
noforwards,
|
|
1477
|
-
reply_to:
|
|
1528
|
+
reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
|
|
1478
1529
|
send_as: sendAs,
|
|
1479
1530
|
entities,
|
|
1480
1531
|
reply_markup: replyMarkup,
|
|
@@ -1546,6 +1597,10 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
1546
1597
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_assertUser).call(this, "sendAs");
|
|
1547
1598
|
return sendAs ? await this.getInputPeer(sendAs) : undefined;
|
|
1548
1599
|
}
|
|
1600
|
+
}, _Client_constructReplyTo = function _Client_constructReplyTo(params) {
|
|
1601
|
+
const topMsgId = params?.messageThreadId;
|
|
1602
|
+
const replyToMsgId = params?.replyToMessageId;
|
|
1603
|
+
return replyToMsgId !== undefined ? new _2_tl_js_1.types.InputReplyToMessage({ reply_to_msg_id: replyToMsgId, top_msg_id: topMsgId, quote_text: params?.replyQuote?.text, quote_entities: params?.replyQuote?.entities.map(_3_types_js_1.messageEntityToTlObject), quote_offset: params?.replyQuote?.offset }) : undefined;
|
|
1549
1604
|
}, _Client_parseText = function _Client_parseText(text, params) {
|
|
1550
1605
|
const entities_ = params?.entities ?? [];
|
|
1551
1606
|
const parseMode = params?.parseMode ?? this.parseMode;
|
|
@@ -1663,7 +1718,12 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
1663
1718
|
break;
|
|
1664
1719
|
}
|
|
1665
1720
|
case _3_types_js_1.FileType.Document:
|
|
1666
|
-
case _3_types_js_1.FileType.Sticker:
|
|
1721
|
+
case _3_types_js_1.FileType.Sticker:
|
|
1722
|
+
case _3_types_js_1.FileType.VideoNote:
|
|
1723
|
+
case _3_types_js_1.FileType.Video:
|
|
1724
|
+
case _3_types_js_1.FileType.Audio:
|
|
1725
|
+
case _3_types_js_1.FileType.Voice:
|
|
1726
|
+
case _3_types_js_1.FileType.Animation: {
|
|
1667
1727
|
if (fileId_.params.mediaId == undefined || fileId_.params.accessHash == undefined || fileId_.params.fileReference == undefined || fileId_.params.thumbnailSize == undefined) {
|
|
1668
1728
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
1669
1729
|
}
|
|
@@ -1845,8 +1905,6 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
1845
1905
|
const randomId = (0, _1_utilities_js_1.getRandomId)();
|
|
1846
1906
|
const silent = params?.disableNotification ? true : undefined;
|
|
1847
1907
|
const noforwards = params?.protectContent ? true : undefined;
|
|
1848
|
-
const replyToMsgId = params?.replyToMessageId;
|
|
1849
|
-
const topMsgId = params?.messageThreadId;
|
|
1850
1908
|
const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
|
|
1851
1909
|
const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
|
|
1852
1910
|
const explanation = params?.explanation;
|
|
@@ -1877,7 +1935,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
1877
1935
|
silent,
|
|
1878
1936
|
noforwards,
|
|
1879
1937
|
reply_markup: replyMarkup,
|
|
1880
|
-
reply_to:
|
|
1938
|
+
reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
|
|
1881
1939
|
send_as: sendAs,
|
|
1882
1940
|
media,
|
|
1883
1941
|
message: "",
|
|
@@ -2273,37 +2331,247 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
2273
2331
|
* @param document The document to send.
|
|
2274
2332
|
*/
|
|
2275
2333
|
async sendDocument(chatId, document, params) {
|
|
2276
|
-
|
|
2277
|
-
const spoiler = params?.hasSpoiler ? true : undefined;
|
|
2278
|
-
if (typeof document === "string") {
|
|
2279
|
-
const fileId = __classPrivateFieldGet(this, _Client_instances, "m", _Client_resolveFileId).call(this, document, _3_types_js_1.FileType.Document);
|
|
2280
|
-
if (fileId != null) {
|
|
2281
|
-
media = new _2_tl_js_1.types.InputMediaDocument({
|
|
2282
|
-
id: new _2_tl_js_1.types.InputDocument(fileId),
|
|
2283
|
-
spoiler,
|
|
2284
|
-
});
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
if (media == null) {
|
|
2288
|
-
if (typeof document === "string" && (0, _0_utilities_js_1.isHttpUrl)(document)) {
|
|
2289
|
-
media = new _2_tl_js_1.types.InputMediaDocumentExternal({ url: document, spoiler });
|
|
2290
|
-
}
|
|
2291
|
-
else {
|
|
2292
|
-
const [contents, fileName_] = await (0, _0_utilities_js_1.getFileContents)(document);
|
|
2293
|
-
const fileName = params?.fileName ?? fileName_;
|
|
2294
|
-
const mimeType = params?.mimeType ?? (0, _0_deps_js_1.contentType)(fileName.split(".").slice(-1)[0]) ?? "application/octet-stream";
|
|
2295
|
-
const file = await this.upload(contents, { fileName, chunkSize: params?.chunkSize, signal: params?.signal });
|
|
2296
|
-
media = new _2_tl_js_1.types.InputMediaUploadedDocument({
|
|
2297
|
-
file,
|
|
2298
|
-
spoiler,
|
|
2299
|
-
attributes: [new _2_tl_js_1.types.DocumentAttributeFilename({ file_name: fileName })],
|
|
2300
|
-
mime_type: mimeType,
|
|
2301
|
-
});
|
|
2302
|
-
}
|
|
2303
|
-
}
|
|
2304
|
-
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendMedia).call(this, chatId, media, params);
|
|
2334
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, document, params, _3_types_js_1.FileType.Document, []);
|
|
2305
2335
|
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "document");
|
|
2306
2336
|
}
|
|
2337
|
+
/**
|
|
2338
|
+
* Send a video.
|
|
2339
|
+
*
|
|
2340
|
+
* @method
|
|
2341
|
+
* @param chatId The chat to send the video to.
|
|
2342
|
+
* @param video The video to send.
|
|
2343
|
+
*/
|
|
2344
|
+
async sendVideo(chatId, video, params) {
|
|
2345
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, video, params, _3_types_js_1.FileType.Video, [
|
|
2346
|
+
new _2_tl_js_1.types.DocumentAttributeVideo({
|
|
2347
|
+
supports_streaming: params?.supportsStreaming ? true : undefined,
|
|
2348
|
+
w: params?.width ?? 0,
|
|
2349
|
+
h: params?.height ?? 0,
|
|
2350
|
+
duration: params?.duration ?? 0,
|
|
2351
|
+
}),
|
|
2352
|
+
]);
|
|
2353
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "video");
|
|
2354
|
+
}
|
|
2355
|
+
/**
|
|
2356
|
+
* Send an animation.
|
|
2357
|
+
*
|
|
2358
|
+
* @method
|
|
2359
|
+
* @param chatId The chat to send the animation to.
|
|
2360
|
+
* @param animation The animation to send.
|
|
2361
|
+
*/
|
|
2362
|
+
async sendAnimation(chatId, animation, params) {
|
|
2363
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, animation, params, _3_types_js_1.FileType.Animation, [
|
|
2364
|
+
new _2_tl_js_1.types.DocumentAttributeAnimated(),
|
|
2365
|
+
new _2_tl_js_1.types.DocumentAttributeVideo({
|
|
2366
|
+
supports_streaming: true,
|
|
2367
|
+
w: params?.width ?? 0,
|
|
2368
|
+
h: params?.height ?? 0,
|
|
2369
|
+
duration: params?.duration ?? 0,
|
|
2370
|
+
}),
|
|
2371
|
+
]);
|
|
2372
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "animation");
|
|
2373
|
+
}
|
|
2374
|
+
/**
|
|
2375
|
+
* Send a voice message.
|
|
2376
|
+
*
|
|
2377
|
+
* @method
|
|
2378
|
+
* @param chatId The chat to send the voice message to.
|
|
2379
|
+
* @param voice The voice to send.
|
|
2380
|
+
*/
|
|
2381
|
+
async sendVoice(chatId, voice, params) {
|
|
2382
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, voice, params, _3_types_js_1.FileType.Voice, [
|
|
2383
|
+
new _2_tl_js_1.types.DocumentAttributeAudio({
|
|
2384
|
+
voice: true,
|
|
2385
|
+
duration: params?.duration ?? 0,
|
|
2386
|
+
}),
|
|
2387
|
+
]);
|
|
2388
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "voice");
|
|
2389
|
+
}
|
|
2390
|
+
/**
|
|
2391
|
+
* Send an audio file.
|
|
2392
|
+
*
|
|
2393
|
+
* @method
|
|
2394
|
+
* @param chatId The chat to send the audio file to.
|
|
2395
|
+
* @param audio The audio to send.
|
|
2396
|
+
*/
|
|
2397
|
+
async sendAudio(chatId, audio, params) {
|
|
2398
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, audio, params, _3_types_js_1.FileType.Audio, [
|
|
2399
|
+
new _2_tl_js_1.types.DocumentAttributeAudio({
|
|
2400
|
+
duration: params?.duration ?? 0,
|
|
2401
|
+
performer: params?.performer,
|
|
2402
|
+
title: params?.title,
|
|
2403
|
+
}),
|
|
2404
|
+
]);
|
|
2405
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "audio");
|
|
2406
|
+
}
|
|
2407
|
+
/**
|
|
2408
|
+
* Send a video note.
|
|
2409
|
+
*
|
|
2410
|
+
* @method
|
|
2411
|
+
* @param chatId The chat to send the video note to.
|
|
2412
|
+
* @param videoNote The video note to send.
|
|
2413
|
+
*/
|
|
2414
|
+
async sendVideoNote(chatId, audio, params) {
|
|
2415
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, audio, params, _3_types_js_1.FileType.VideoNote, [
|
|
2416
|
+
new _2_tl_js_1.types.DocumentAttributeVideo({
|
|
2417
|
+
round_message: true,
|
|
2418
|
+
w: params?.length ?? 0,
|
|
2419
|
+
h: params?.length ?? 0,
|
|
2420
|
+
duration: params?.duration ?? 0,
|
|
2421
|
+
}),
|
|
2422
|
+
], false);
|
|
2423
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "videoNote");
|
|
2424
|
+
}
|
|
2425
|
+
/**
|
|
2426
|
+
* Send a location.
|
|
2427
|
+
*
|
|
2428
|
+
* @method
|
|
2429
|
+
* @param chatId The chat to send the location to.
|
|
2430
|
+
* @param latitude The location's latitude.
|
|
2431
|
+
* @param longitude The location's longitude.
|
|
2432
|
+
*/
|
|
2433
|
+
async sendLocation(chatId, latitude, longitude, params) {
|
|
2434
|
+
const peer = await this.getInputPeer(chatId);
|
|
2435
|
+
const randomId = (0, _1_utilities_js_1.getRandomId)();
|
|
2436
|
+
const silent = params?.disableNotification ? true : undefined;
|
|
2437
|
+
const noforwards = params?.protectContent ? true : undefined;
|
|
2438
|
+
const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
|
|
2439
|
+
const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
|
|
2440
|
+
const result = await this.api.messages.sendMedia({
|
|
2441
|
+
peer,
|
|
2442
|
+
random_id: randomId,
|
|
2443
|
+
silent,
|
|
2444
|
+
noforwards,
|
|
2445
|
+
reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
|
|
2446
|
+
send_as: sendAs,
|
|
2447
|
+
reply_markup: replyMarkup,
|
|
2448
|
+
media: params?.livePeriod !== undefined
|
|
2449
|
+
? new _2_tl_js_1.types.InputMediaGeoLive({
|
|
2450
|
+
geo_point: new _2_tl_js_1.types.InputGeoPoint({
|
|
2451
|
+
lat: latitude,
|
|
2452
|
+
long: longitude,
|
|
2453
|
+
accuracy_radius: params?.horizontalAccuracy,
|
|
2454
|
+
}),
|
|
2455
|
+
heading: params?.heading,
|
|
2456
|
+
period: params.livePeriod,
|
|
2457
|
+
proximity_notification_radius: params?.proximityAlertRadius,
|
|
2458
|
+
})
|
|
2459
|
+
: new _2_tl_js_1.types.InputMediaGeoPoint({
|
|
2460
|
+
geo_point: new _2_tl_js_1.types.InputGeoPoint({
|
|
2461
|
+
lat: latitude,
|
|
2462
|
+
long: longitude,
|
|
2463
|
+
accuracy_radius: params?.horizontalAccuracy,
|
|
2464
|
+
}),
|
|
2465
|
+
}),
|
|
2466
|
+
message: "",
|
|
2467
|
+
});
|
|
2468
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
2469
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "location");
|
|
2470
|
+
}
|
|
2471
|
+
/**
|
|
2472
|
+
* Send a contact.
|
|
2473
|
+
*
|
|
2474
|
+
* @method
|
|
2475
|
+
* @param chatId The chat to send the contact to.
|
|
2476
|
+
* @param firstName The contact's first name.
|
|
2477
|
+
* @param number The contact's phone number.
|
|
2478
|
+
*/
|
|
2479
|
+
async sendContact(chatId, firstName, number, params) {
|
|
2480
|
+
const peer = await this.getInputPeer(chatId);
|
|
2481
|
+
const randomId = (0, _1_utilities_js_1.getRandomId)();
|
|
2482
|
+
const silent = params?.disableNotification ? true : undefined;
|
|
2483
|
+
const noforwards = params?.protectContent ? true : undefined;
|
|
2484
|
+
const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
|
|
2485
|
+
const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
|
|
2486
|
+
const result = await this.api.messages.sendMedia({
|
|
2487
|
+
peer,
|
|
2488
|
+
random_id: randomId,
|
|
2489
|
+
silent,
|
|
2490
|
+
noforwards,
|
|
2491
|
+
reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
|
|
2492
|
+
send_as: sendAs,
|
|
2493
|
+
reply_markup: replyMarkup,
|
|
2494
|
+
media: new _2_tl_js_1.types.InputMediaContact({
|
|
2495
|
+
phone_number: number,
|
|
2496
|
+
first_name: firstName,
|
|
2497
|
+
last_name: params?.lastName ?? "",
|
|
2498
|
+
vcard: params?.vcard ?? "",
|
|
2499
|
+
}),
|
|
2500
|
+
message: "",
|
|
2501
|
+
});
|
|
2502
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
2503
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "contact");
|
|
2504
|
+
}
|
|
2505
|
+
/**
|
|
2506
|
+
* Send a dice.
|
|
2507
|
+
*
|
|
2508
|
+
* @method
|
|
2509
|
+
* @param chatId The chat to send the dice to.
|
|
2510
|
+
*/
|
|
2511
|
+
async sendDice(chatId, params) {
|
|
2512
|
+
const peer = await this.getInputPeer(chatId);
|
|
2513
|
+
const randomId = (0, _1_utilities_js_1.getRandomId)();
|
|
2514
|
+
const silent = params?.disableNotification ? true : undefined;
|
|
2515
|
+
const noforwards = params?.protectContent ? true : undefined;
|
|
2516
|
+
const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
|
|
2517
|
+
const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
|
|
2518
|
+
const result = await this.api.messages.sendMedia({
|
|
2519
|
+
peer,
|
|
2520
|
+
random_id: randomId,
|
|
2521
|
+
silent,
|
|
2522
|
+
noforwards,
|
|
2523
|
+
reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
|
|
2524
|
+
send_as: sendAs,
|
|
2525
|
+
reply_markup: replyMarkup,
|
|
2526
|
+
media: new _2_tl_js_1.types.InputMediaDice({
|
|
2527
|
+
emoticon: params?.emoji ?? "🎲",
|
|
2528
|
+
}),
|
|
2529
|
+
message: "",
|
|
2530
|
+
});
|
|
2531
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
2532
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "dice");
|
|
2533
|
+
}
|
|
2534
|
+
/**
|
|
2535
|
+
* Send a venue.
|
|
2536
|
+
*
|
|
2537
|
+
* @method
|
|
2538
|
+
* @param chatId The chat to send the venue to.
|
|
2539
|
+
* @param latitude The latitude of the venue.
|
|
2540
|
+
* @param longitude The longitude of the venue.
|
|
2541
|
+
* @param title The title of the venue.
|
|
2542
|
+
* @param address The written address of the venue.
|
|
2543
|
+
*/
|
|
2544
|
+
async sendVenue(chatId, latitude, longitude, title, address, params) {
|
|
2545
|
+
const peer = await this.getInputPeer(chatId);
|
|
2546
|
+
const randomId = (0, _1_utilities_js_1.getRandomId)();
|
|
2547
|
+
const silent = params?.disableNotification ? true : undefined;
|
|
2548
|
+
const noforwards = params?.protectContent ? true : undefined;
|
|
2549
|
+
const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
|
|
2550
|
+
const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
|
|
2551
|
+
const result = await this.api.messages.sendMedia({
|
|
2552
|
+
peer,
|
|
2553
|
+
random_id: randomId,
|
|
2554
|
+
silent,
|
|
2555
|
+
noforwards,
|
|
2556
|
+
reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
|
|
2557
|
+
send_as: sendAs,
|
|
2558
|
+
reply_markup: replyMarkup,
|
|
2559
|
+
media: new _2_tl_js_1.types.InputMediaVenue({
|
|
2560
|
+
geo_point: new _2_tl_js_1.types.InputGeoPoint({
|
|
2561
|
+
lat: latitude,
|
|
2562
|
+
long: longitude,
|
|
2563
|
+
}),
|
|
2564
|
+
title,
|
|
2565
|
+
address,
|
|
2566
|
+
venue_id: params?.foursquareId ?? "",
|
|
2567
|
+
venue_type: params?.foursquareType ?? "",
|
|
2568
|
+
provider: "foursquare",
|
|
2569
|
+
}),
|
|
2570
|
+
message: "",
|
|
2571
|
+
});
|
|
2572
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
2573
|
+
return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "dice");
|
|
2574
|
+
}
|
|
2307
2575
|
/**
|
|
2308
2576
|
* Get network statistics. This might not always be available.
|
|
2309
2577
|
*
|
|
@@ -2327,7 +2595,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
2327
2595
|
return { messages, cdn };
|
|
2328
2596
|
}
|
|
2329
2597
|
/**
|
|
2330
|
-
* Get chats from a chat list.
|
|
2598
|
+
* Get chats from a chat list. User-only.
|
|
2331
2599
|
*
|
|
2332
2600
|
* @method
|
|
2333
2601
|
*/
|
|
@@ -2430,7 +2698,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
2430
2698
|
}
|
|
2431
2699
|
}
|
|
2432
2700
|
/**
|
|
2433
|
-
* Get chat history.
|
|
2701
|
+
* Get chat history. User-only.
|
|
2434
2702
|
*
|
|
2435
2703
|
* @param chatId The identifier of the chat to get its history.
|
|
2436
2704
|
* @method
|
|
@@ -2525,6 +2793,37 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
|
|
|
2525
2793
|
}
|
|
2526
2794
|
return documents;
|
|
2527
2795
|
}
|
|
2796
|
+
/**
|
|
2797
|
+
* Set a chat's available reactions.
|
|
2798
|
+
*
|
|
2799
|
+
* @param chatId The identifier of the chat.
|
|
2800
|
+
* @param availableReactions The new available reactions.
|
|
2801
|
+
* @method
|
|
2802
|
+
*/
|
|
2803
|
+
async setAvailableReactions(chatId, availableReactions) {
|
|
2804
|
+
// TODO: sync with storage
|
|
2805
|
+
await this.api.messages.setChatAvailableReactions({
|
|
2806
|
+
peer: await this.getInputPeer(chatId),
|
|
2807
|
+
available_reactions: availableReactions == "none" ? new _2_tl_js_1.types.ChatReactionsNone() : availableReactions == "all" ? new _2_tl_js_1.types.ChatReactionsAll() : Array.isArray(availableReactions) ? new _2_tl_js_1.types.ChatReactionsSome({ reactions: availableReactions.map((v) => v.type == "emoji" ? new _2_tl_js_1.types.ReactionEmoji({ emoticon: v.emoji }) : new _2_tl_js_1.types.ReactionCustomEmoji({ document_id: BigInt(v.id) })) }) : (0, _1_utilities_js_1.UNREACHABLE)(),
|
|
2808
|
+
});
|
|
2809
|
+
}
|
|
2810
|
+
/**
|
|
2811
|
+
* Add a reaction to a message.
|
|
2812
|
+
*
|
|
2813
|
+
* @param chatId The identifier of the chat which the message belongs to.
|
|
2814
|
+
* @param messageId The identifier of the message to add the reaction to.
|
|
2815
|
+
* @param reaction The reaction to add.
|
|
2816
|
+
*/
|
|
2817
|
+
async addReaction(chatId, messageId, reaction, params) {
|
|
2818
|
+
// TODO: check storage and skip if already there
|
|
2819
|
+
await this.api.messages.sendReaction({
|
|
2820
|
+
peer: await this.getInputPeer(chatId),
|
|
2821
|
+
msg_id: messageId,
|
|
2822
|
+
reaction: [reaction.type == "emoji" ? new _2_tl_js_1.types.ReactionEmoji({ emoticon: reaction.emoji }) : new _2_tl_js_1.types.ReactionCustomEmoji({ document_id: BigInt(reaction.id) })],
|
|
2823
|
+
big: params?.big ? true : undefined,
|
|
2824
|
+
add_to_recent: params?.addToRecents ? true : undefined,
|
|
2825
|
+
});
|
|
2826
|
+
}
|
|
2528
2827
|
}
|
|
2529
2828
|
exports.Client = Client;
|
|
2530
2829
|
_a = Client, _Client_getMe = async function _Client_getMe() {
|
|
@@ -2727,8 +3026,6 @@ async function _Client_setMyInfo(info) {
|
|
|
2727
3026
|
const randomId = (0, _1_utilities_js_1.getRandomId)();
|
|
2728
3027
|
const silent = params?.disableNotification ? true : undefined;
|
|
2729
3028
|
const noforwards = params?.protectContent ? true : undefined;
|
|
2730
|
-
const replyToMsgId = params?.replyToMessageId;
|
|
2731
|
-
const topMsgId = params?.messageThreadId;
|
|
2732
3029
|
const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
|
|
2733
3030
|
const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
|
|
2734
3031
|
const caption_ = params?.caption;
|
|
@@ -2741,13 +3038,53 @@ async function _Client_setMyInfo(info) {
|
|
|
2741
3038
|
silent,
|
|
2742
3039
|
noforwards,
|
|
2743
3040
|
reply_markup: replyMarkup,
|
|
2744
|
-
reply_to:
|
|
3041
|
+
reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
|
|
2745
3042
|
send_as: sendAs,
|
|
2746
3043
|
media,
|
|
2747
3044
|
message: caption ?? "",
|
|
2748
3045
|
entities: captionEntities,
|
|
2749
3046
|
});
|
|
2750
3047
|
return await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
|
|
3048
|
+
}, _Client_sendDocumentInner = async function _Client_sendDocumentInner(chatId, document, params, fileType, otherAttribs, urlSupported = false) {
|
|
3049
|
+
let media = null;
|
|
3050
|
+
const spoiler = params?.hasSpoiler ? true : undefined;
|
|
3051
|
+
if (typeof document === "string") {
|
|
3052
|
+
const fileId = __classPrivateFieldGet(this, _Client_instances, "m", _Client_resolveFileId).call(this, document, fileType);
|
|
3053
|
+
if (fileId != null) {
|
|
3054
|
+
media = new _2_tl_js_1.types.InputMediaDocument({
|
|
3055
|
+
id: new _2_tl_js_1.types.InputDocument(fileId),
|
|
3056
|
+
spoiler,
|
|
3057
|
+
});
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
3060
|
+
if (media == null) {
|
|
3061
|
+
if (typeof document === "string" && (0, _0_utilities_js_1.isHttpUrl)(document)) {
|
|
3062
|
+
if (!urlSupported) {
|
|
3063
|
+
throw new Error("URL not supported");
|
|
3064
|
+
}
|
|
3065
|
+
media = new _2_tl_js_1.types.InputMediaDocumentExternal({ url: document, spoiler });
|
|
3066
|
+
}
|
|
3067
|
+
else {
|
|
3068
|
+
const [contents, fileName_] = await (0, _0_utilities_js_1.getFileContents)(document);
|
|
3069
|
+
const fileName = params?.fileName ?? fileName_;
|
|
3070
|
+
const mimeType = params?.mimeType ?? (0, _0_deps_js_1.contentType)(fileName.split(".").slice(-1)[0]) ?? "application/octet-stream";
|
|
3071
|
+
const file = await this.upload(contents, { fileName, chunkSize: params?.chunkSize, signal: params?.signal });
|
|
3072
|
+
let thumb = undefined;
|
|
3073
|
+
if (params?.thumbnail) {
|
|
3074
|
+
const [thumbContents, fileName__] = await (0, _0_utilities_js_1.getFileContents)(params.thumbnail);
|
|
3075
|
+
thumb = await this.upload(thumbContents, { fileName: fileName__, chunkSize: params?.chunkSize, signal: params?.signal });
|
|
3076
|
+
}
|
|
3077
|
+
media = new _2_tl_js_1.types.InputMediaUploadedDocument({
|
|
3078
|
+
file,
|
|
3079
|
+
thumb,
|
|
3080
|
+
spoiler,
|
|
3081
|
+
attributes: [new _2_tl_js_1.types.DocumentAttributeFilename({ file_name: fileName }), ...otherAttribs],
|
|
3082
|
+
mime_type: mimeType,
|
|
3083
|
+
});
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendMedia).call(this, chatId, media, params);
|
|
3087
|
+
return message;
|
|
2751
3088
|
}, _Client_sendChatUpdate = async function _Client_sendChatUpdate(chatId, added) {
|
|
2752
3089
|
try {
|
|
2753
3090
|
await __classPrivateFieldGet(this, _Client_instances, "m", _Client_assertUser).call(this, "");
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
|
|
3
|
-
* Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation
|
|
4
|
-
*
|
|
5
|
-
* @deprecated (will be removed in 0.210.0) Use {@linkcode encodeBase64} instead.
|
|
6
|
-
*/
|
|
7
|
-
export declare const encode: typeof encodeBase64;
|
|
8
|
-
/**
|
|
9
|
-
* Decodes a given RFC4648 base64 encoded string
|
|
10
|
-
*
|
|
11
|
-
* @deprecated (will be removed in 0.210.0) Use {@linkcode decodeBase64} instead.
|
|
12
|
-
*/
|
|
13
|
-
export declare const decode: typeof decodeBase64;
|
|
14
1
|
/**
|
|
15
2
|
* Converts data into a base64-encoded string.
|
|
16
3
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.decodeBase64 = exports.encodeBase64 =
|
|
5
|
+
exports.decodeBase64 = exports.encodeBase64 = void 0;
|
|
6
6
|
const _util_js_1 = require("./_util.js");
|
|
7
7
|
/**
|
|
8
8
|
* Utilities for
|
|
@@ -79,19 +79,6 @@ const base64abc = [
|
|
|
79
79
|
"+",
|
|
80
80
|
"/",
|
|
81
81
|
];
|
|
82
|
-
/**
|
|
83
|
-
* CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
|
|
84
|
-
* Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation
|
|
85
|
-
*
|
|
86
|
-
* @deprecated (will be removed in 0.210.0) Use {@linkcode encodeBase64} instead.
|
|
87
|
-
*/
|
|
88
|
-
exports.encode = encodeBase64;
|
|
89
|
-
/**
|
|
90
|
-
* Decodes a given RFC4648 base64 encoded string
|
|
91
|
-
*
|
|
92
|
-
* @deprecated (will be removed in 0.210.0) Use {@linkcode decodeBase64} instead.
|
|
93
|
-
*/
|
|
94
|
-
exports.decode = decodeBase64;
|
|
95
82
|
/**
|
|
96
83
|
* Converts data into a base64-encoded string.
|
|
97
84
|
*
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Determines the common path from a set of paths, using an optional separator,
|
|
2
|
+
* which defaults to the OS default separator.
|
|
3
|
+
*
|
|
4
|
+
* ```ts
|
|
5
|
+
* import { common } from "https://deno.land/std@$STD_VERSION/path/mod.ts";
|
|
6
|
+
* const p = common([
|
|
7
|
+
* "./deno/std/path/mod.ts",
|
|
8
|
+
* "./deno/std/fs/mod.ts",
|
|
9
|
+
* ]);
|
|
10
|
+
* console.log(p); // "./deno/std/"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare function common(paths: string[], sep?: "\\" | "/"): string;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.extname = void 0;
|
|
6
6
|
const _os_js_1 = require("./_os.js");
|
|
7
7
|
const extname_js_1 = require("./posix/extname.js");
|
|
8
|
-
const extname_js_2 = require("./
|
|
8
|
+
const extname_js_2 = require("./windows/extname.js");
|
|
9
9
|
/**
|
|
10
10
|
* Return the extension of the `path` with leading period.
|
|
11
11
|
* @param path with extension
|
|
@@ -4,8 +4,8 @@ import * as _posix from "./posix/mod.js";
|
|
|
4
4
|
export declare const win32: typeof _windows;
|
|
5
5
|
/** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/posix/mod.ts} instead. */
|
|
6
6
|
export declare const posix: typeof _posix;
|
|
7
|
-
export declare const sep:
|
|
8
|
-
export declare const delimiter:
|
|
7
|
+
export declare const sep: "/" | "\\";
|
|
8
|
+
export declare const delimiter: ":" | ";";
|
|
9
9
|
export * from "./basename.js";
|
|
10
10
|
export * from "./dirname.js";
|
|
11
11
|
export * from "./extname.js";
|
|
@@ -69,7 +69,9 @@ exports.win32 = _windows;
|
|
|
69
69
|
/** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/posix/mod.ts} instead. */
|
|
70
70
|
exports.posix = _posix;
|
|
71
71
|
exports.sep = _os_js_1.isWindows ? _windows.sep : _posix.sep;
|
|
72
|
-
exports.delimiter = _os_js_1.isWindows
|
|
72
|
+
exports.delimiter = _os_js_1.isWindows
|
|
73
|
+
? _windows.delimiter
|
|
74
|
+
: _posix.delimiter;
|
|
73
75
|
__exportStar(require("./basename.js"), exports);
|
|
74
76
|
__exportStar(require("./dirname.js"), exports);
|
|
75
77
|
__exportStar(require("./extname.js"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { enums } from "../2_tl.js";
|
|
2
|
+
import { MessageEntity } from "./0_message_entity.js";
|
|
3
|
+
export interface ReplyQuote {
|
|
4
|
+
offset: number;
|
|
5
|
+
text: string;
|
|
6
|
+
entities: MessageEntity[];
|
|
7
|
+
}
|
|
8
|
+
export declare function constructReplyQuote(quoteText: string | undefined, quoteOffset: number | undefined, quoteEntities: enums.MessageEntity[] | undefined): ReplyQuote;
|