@mtkruto/node 0.1.131 → 0.1.133
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 +5 -0
- package/esm/3_types.js +5 -0
- package/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +2 -2
- package/esm/client/0_utilities.d.ts +3 -3
- package/esm/client/0_utilities.js +3 -5
- package/esm/client/3_types.d.ts +69 -459
- package/esm/client/4_composer.d.ts +4 -4
- package/esm/client/4_composer.js +13 -1
- package/esm/client/5_client.d.ts +56 -36
- package/esm/client/5_client.js +235 -196
- 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/tl/2_types.d.ts +313 -24
- package/esm/tl/2_types.js +982 -46
- package/esm/tl/3_functions.d.ts +95 -32
- package/esm/tl/3_functions.js +227 -66
- package/esm/types/0_chat_photo.d.ts +22 -21
- package/esm/types/0_giveaway_parameters.d.ts +9 -0
- package/esm/types/0_giveaway_parameters.js +9 -0
- package/esm/types/0_message_entity.d.ts +93 -74
- package/esm/types/0_reaction.d.ts +14 -0
- package/esm/types/0_reaction.js +16 -0
- package/esm/types/1_bot_command_scope.d.ts +32 -27
- package/esm/types/1_chat_p.d.ts +76 -68
- package/esm/types/1_giveaway.d.ts +8 -0
- package/esm/types/1_giveaway.js +7 -0
- package/esm/types/1_keyboard_button.d.ts +62 -56
- package/esm/types/1_keyboard_button.js +3 -0
- package/esm/types/1_message_reaction.d.ts +14 -0
- package/esm/types/1_message_reaction.js +22 -0
- package/esm/types/1_reply_quote.d.ts +8 -0
- package/esm/types/1_reply_quote.js +11 -0
- package/esm/types/1_user.d.ts +2 -2
- package/esm/types/2_inline_keyboard_button.d.ts +44 -37
- package/esm/types/3_message.d.ts +171 -112
- package/esm/types/3_message.js +221 -120
- package/esm/types/4_chat.d.ts +32 -29
- 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 +5 -0
- package/script/3_types.js +5 -0
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +2 -2
- package/script/client/0_utilities.d.ts +3 -3
- package/script/client/0_utilities.js +3 -5
- package/script/client/3_types.d.ts +69 -459
- package/script/client/4_composer.d.ts +4 -4
- package/script/client/4_composer.js +13 -1
- package/script/client/5_client.d.ts +56 -36
- package/script/client/5_client.js +234 -195
- 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/tl/2_types.d.ts +313 -24
- package/script/tl/2_types.js +1169 -217
- package/script/tl/3_functions.d.ts +95 -32
- package/script/tl/3_functions.js +241 -77
- package/script/types/0_chat_photo.d.ts +22 -21
- package/script/types/0_giveaway_parameters.d.ts +9 -0
- package/script/types/0_giveaway_parameters.js +13 -0
- package/script/types/0_message_entity.d.ts +93 -74
- package/script/types/0_reaction.d.ts +14 -0
- package/script/types/0_reaction.js +21 -0
- package/script/types/1_bot_command_scope.d.ts +32 -27
- package/script/types/1_chat_p.d.ts +76 -68
- package/script/types/1_giveaway.d.ts +8 -0
- package/script/types/1_giveaway.js +11 -0
- package/script/types/1_keyboard_button.d.ts +62 -56
- package/script/types/1_keyboard_button.js +3 -0
- package/script/types/1_message_reaction.d.ts +14 -0
- package/script/types/1_message_reaction.js +26 -0
- package/script/types/1_reply_quote.d.ts +8 -0
- package/script/types/1_reply_quote.js +15 -0
- package/script/types/1_user.d.ts +2 -2
- package/script/types/2_inline_keyboard_button.d.ts +44 -37
- package/script/types/3_message.d.ts +171 -112
- package/script/types/3_message.js +223 -121
- package/script/types/4_chat.d.ts +32 -29
- 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
package/esm/client/3_types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { FileSource } from "./0_utilities.js";
|
|
1
2
|
import { MaybePromise } from "../1_utilities.js";
|
|
2
3
|
import { functions, types } from "../2_tl.js";
|
|
3
|
-
import { BotCommandScope, CallbackQuery, Chat, ChatID, ChosenInlineResult, ForceReply, InlineKeyboardMarkup, InlineQuery, InlineQueryResultButton, Message, MessageEntity, ReplyKeyboardMarkup, ReplyKeyboardRemove } from "../3_types.js";
|
|
4
|
+
import { BotCommandScope, CallbackQuery, Chat, ChatID, ChosenInlineResult, ForceReply, InlineKeyboardMarkup, InlineQuery, InlineQueryResultButton, Message, MessageEntity, MessageReaction, ReplyKeyboardMarkup, ReplyKeyboardRemove, ReplyQuote } from "../3_types.js";
|
|
4
5
|
import { ClientPlainParams } from "./2_client_plain.js";
|
|
5
6
|
import { ParseMode } from "../3_types.js";
|
|
6
7
|
export interface ClientParams extends ClientPlainParams {
|
|
@@ -64,19 +65,7 @@ export interface AuthorizeUserParams<S = string> {
|
|
|
64
65
|
code: S | (() => MaybePromise<S>);
|
|
65
66
|
password: S | ((hint: string | null) => MaybePromise<S>);
|
|
66
67
|
}
|
|
67
|
-
export interface
|
|
68
|
-
/**
|
|
69
|
-
* The parse mode to use. If not provided, the default parse mode will be used.
|
|
70
|
-
*/
|
|
71
|
-
parseMode?: ParseMode;
|
|
72
|
-
/**
|
|
73
|
-
* The message's entities.
|
|
74
|
-
*/
|
|
75
|
-
entities?: MessageEntity[];
|
|
76
|
-
/**
|
|
77
|
-
* Whether to disable web page previews in the message that is to be sent.
|
|
78
|
-
*/
|
|
79
|
-
disableWebPagePreview?: boolean;
|
|
68
|
+
export interface _SendCommon {
|
|
80
69
|
/**
|
|
81
70
|
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
82
71
|
*/
|
|
@@ -89,6 +78,10 @@ export interface SendMessageParams {
|
|
|
89
78
|
* The identifier of a message to reply to.
|
|
90
79
|
*/
|
|
91
80
|
replyToMessageId?: number;
|
|
81
|
+
/**
|
|
82
|
+
* A specific part of the replying message's text to quote.
|
|
83
|
+
*/
|
|
84
|
+
replyQuote?: ReplyQuote;
|
|
92
85
|
/**
|
|
93
86
|
* The identifier of a thread to send the message to.
|
|
94
87
|
*/
|
|
@@ -102,7 +95,7 @@ export interface SendMessageParams {
|
|
|
102
95
|
*/
|
|
103
96
|
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
104
97
|
}
|
|
105
|
-
export interface
|
|
98
|
+
export interface SendMessageParams extends _SendCommon {
|
|
106
99
|
/**
|
|
107
100
|
* The parse mode to use. If not provided, the default parse mode will be used.
|
|
108
101
|
*/
|
|
@@ -112,28 +105,29 @@ export interface EditMessageParams {
|
|
|
112
105
|
*/
|
|
113
106
|
entities?: MessageEntity[];
|
|
114
107
|
/**
|
|
115
|
-
* Whether to disable web page previews in the message that is to be
|
|
108
|
+
* Whether to disable web page previews in the message that is to be sent.
|
|
116
109
|
*/
|
|
117
110
|
disableWebPagePreview?: boolean;
|
|
111
|
+
}
|
|
112
|
+
export interface EditMessageParams {
|
|
118
113
|
/**
|
|
119
|
-
* The
|
|
114
|
+
* The parse mode to use. If not provided, the default parse mode will be used.
|
|
120
115
|
*/
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
export interface ForwardMessagesParams {
|
|
124
|
-
messageThreadId?: number;
|
|
116
|
+
parseMode?: ParseMode;
|
|
125
117
|
/**
|
|
126
|
-
*
|
|
118
|
+
* The message's entities.
|
|
127
119
|
*/
|
|
128
|
-
|
|
120
|
+
entities?: MessageEntity[];
|
|
129
121
|
/**
|
|
130
|
-
* Whether to
|
|
122
|
+
* Whether to disable web page previews in the message that is to be edited.
|
|
131
123
|
*/
|
|
132
|
-
|
|
124
|
+
disableWebPagePreview?: boolean;
|
|
133
125
|
/**
|
|
134
|
-
* The
|
|
126
|
+
* The reply markup of the message. Bot-only.
|
|
135
127
|
*/
|
|
136
|
-
|
|
128
|
+
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
129
|
+
}
|
|
130
|
+
export interface ForwardMessagesParams extends Omit<_SendCommon, "replyToMessageId" | "replyMarkup"> {
|
|
137
131
|
/**
|
|
138
132
|
* Whether to not include the original sender of the message that is going to be forwarded.
|
|
139
133
|
*/
|
|
@@ -143,7 +137,7 @@ export interface ForwardMessagesParams {
|
|
|
143
137
|
*/
|
|
144
138
|
dropCaption?: boolean;
|
|
145
139
|
}
|
|
146
|
-
export interface SendPollParams {
|
|
140
|
+
export interface SendPollParams extends _SendCommon {
|
|
147
141
|
/**
|
|
148
142
|
* Whether the poll should be anonymous.
|
|
149
143
|
*/
|
|
@@ -184,35 +178,21 @@ export interface SendPollParams {
|
|
|
184
178
|
* Whether the poll should be closed as soon as it is sent, allowing no answers.
|
|
185
179
|
*/
|
|
186
180
|
isClosed?: boolean;
|
|
187
|
-
/**
|
|
188
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
189
|
-
*/
|
|
190
|
-
disableNotification?: boolean;
|
|
191
|
-
/**
|
|
192
|
-
* The identifier of a message to reply to.
|
|
193
|
-
*/
|
|
194
|
-
replyToMessageId?: number;
|
|
195
|
-
/**
|
|
196
|
-
* The identifier of a thread to send the message to.
|
|
197
|
-
*/
|
|
198
|
-
messageThreadId?: number;
|
|
199
|
-
/**
|
|
200
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
201
|
-
*/
|
|
202
|
-
sendAs?: ChatID;
|
|
203
|
-
/**
|
|
204
|
-
* The reply markup of the message. Bot-only.
|
|
205
|
-
*/
|
|
206
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
207
|
-
/**
|
|
208
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
209
|
-
*/
|
|
210
|
-
protectContent?: boolean;
|
|
211
181
|
}
|
|
212
182
|
export interface DownloadParams {
|
|
213
183
|
/** Size of each download chunk in bytes. */
|
|
214
184
|
chunkSize?: number;
|
|
215
185
|
}
|
|
186
|
+
export interface _UploadCommon {
|
|
187
|
+
/** The file name to assign if applicable. */
|
|
188
|
+
fileName?: string;
|
|
189
|
+
/** The mime type to assign if applicable. */
|
|
190
|
+
mimeType?: string;
|
|
191
|
+
/** Size of each upload chunk in bytes. */
|
|
192
|
+
chunkSize?: number;
|
|
193
|
+
/** Upload abort signal. */
|
|
194
|
+
signal?: AbortSignal | null;
|
|
195
|
+
}
|
|
216
196
|
export interface UploadParams {
|
|
217
197
|
/** The file name to assign. */
|
|
218
198
|
fileName?: string;
|
|
@@ -241,14 +221,8 @@ export interface DeleteMessageParams {
|
|
|
241
221
|
/** Whether to delete the message only for this side. */
|
|
242
222
|
onlyForMe?: boolean;
|
|
243
223
|
}
|
|
244
|
-
export interface
|
|
245
|
-
/** The
|
|
246
|
-
fileName?: string;
|
|
247
|
-
/** Size of each upload chunk in bytes. */
|
|
248
|
-
chunkSize?: number;
|
|
249
|
-
/** Upload abort signal. */
|
|
250
|
-
signal?: AbortSignal | null;
|
|
251
|
-
/** The caption of the photo. */
|
|
224
|
+
export interface _CaptionCommon {
|
|
225
|
+
/** The caption to attach. */
|
|
252
226
|
caption?: string;
|
|
253
227
|
/**
|
|
254
228
|
* The caption's entities.
|
|
@@ -258,443 +232,70 @@ export interface SendPhotoParams {
|
|
|
258
232
|
* The parse mode to use for the caption. If not provided, the default parse mode will be used.
|
|
259
233
|
*/
|
|
260
234
|
parseMode?: ParseMode;
|
|
261
|
-
/**
|
|
262
|
-
* Whether to mark the photo as a spoiler.
|
|
263
|
-
*/
|
|
264
|
-
hasSpoiler?: boolean;
|
|
265
|
-
/**
|
|
266
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
267
|
-
*/
|
|
268
|
-
disableNotification?: boolean;
|
|
269
|
-
/**
|
|
270
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
271
|
-
*/
|
|
272
|
-
protectContent?: boolean;
|
|
273
|
-
/**
|
|
274
|
-
* The identifier of a message to reply to.
|
|
275
|
-
*/
|
|
276
|
-
replyToMessageId?: number;
|
|
277
|
-
/**
|
|
278
|
-
* The identifier of a thread to send the message to.
|
|
279
|
-
*/
|
|
280
|
-
messageThreadId?: number;
|
|
281
|
-
/**
|
|
282
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
283
|
-
*/
|
|
284
|
-
sendAs?: ChatID;
|
|
285
|
-
/**
|
|
286
|
-
* The reply markup of the message. Bot-only.
|
|
287
|
-
*/
|
|
288
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
289
235
|
}
|
|
290
|
-
export interface
|
|
291
|
-
/** The file name to assign. */
|
|
292
|
-
fileName?: string;
|
|
293
|
-
/** The mime type to assign. */
|
|
294
|
-
mimeType?: string;
|
|
295
|
-
/** Size of each upload chunk in bytes. */
|
|
296
|
-
chunkSize?: number;
|
|
297
|
-
/** Upload abort signal. */
|
|
298
|
-
signal?: AbortSignal | null;
|
|
299
|
-
/** The caption of the document. */
|
|
300
|
-
caption?: string;
|
|
236
|
+
export interface _SpoilCommon {
|
|
301
237
|
/**
|
|
302
|
-
*
|
|
303
|
-
*/
|
|
304
|
-
captionEntities?: MessageEntity[];
|
|
305
|
-
/**
|
|
306
|
-
* The parse mode to use for the caption. If not provided, the default parse mode will be used.
|
|
307
|
-
*/
|
|
308
|
-
parseMode?: ParseMode;
|
|
309
|
-
/**
|
|
310
|
-
* Whether to mark the document as a spoiler.
|
|
238
|
+
* Whether to mark the media as a spoiler.
|
|
311
239
|
*/
|
|
312
240
|
hasSpoiler?: boolean;
|
|
313
|
-
/**
|
|
314
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
315
|
-
*/
|
|
316
|
-
disableNotification?: boolean;
|
|
317
|
-
/**
|
|
318
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
319
|
-
*/
|
|
320
|
-
protectContent?: boolean;
|
|
321
|
-
/**
|
|
322
|
-
* The identifier of a message to reply to.
|
|
323
|
-
*/
|
|
324
|
-
replyToMessageId?: number;
|
|
325
|
-
/**
|
|
326
|
-
* The identifier of a thread to send the message to.
|
|
327
|
-
*/
|
|
328
|
-
messageThreadId?: number;
|
|
329
|
-
/**
|
|
330
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
331
|
-
*/
|
|
332
|
-
sendAs?: ChatID;
|
|
333
|
-
/**
|
|
334
|
-
* The reply markup of the message. Bot-only.
|
|
335
|
-
*/
|
|
336
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
337
241
|
}
|
|
338
|
-
export interface
|
|
242
|
+
export interface SendPhotoParams extends _CaptionCommon, _SpoilCommon, _UploadCommon, _SendCommon {
|
|
243
|
+
}
|
|
244
|
+
export interface _ThumbnailCommon {
|
|
245
|
+
/** A thumbnail to assign. Cannot be a URL. */
|
|
246
|
+
thumbnail?: FileSource;
|
|
247
|
+
}
|
|
248
|
+
export interface SendDocumentParams extends _CaptionCommon, _ThumbnailCommon, _SpoilCommon, _UploadCommon, _SendCommon {
|
|
249
|
+
}
|
|
250
|
+
export interface SendVideoParams extends _CaptionCommon, _ThumbnailCommon, _SpoilCommon, _UploadCommon, _SendCommon {
|
|
339
251
|
/** The duration of the video in seconds. */
|
|
340
252
|
duration?: number;
|
|
253
|
+
/** The width of the photo in pixels. */
|
|
341
254
|
width?: number;
|
|
255
|
+
/** The height of the photo in pixels. */
|
|
342
256
|
height?: number;
|
|
343
257
|
supportsStreaming?: boolean;
|
|
344
|
-
/** The file name to assign if applicable. */
|
|
345
|
-
fileName?: string;
|
|
346
|
-
/** The mime type to assign. */
|
|
347
|
-
mimeType?: string;
|
|
348
|
-
/** Size of each upload chunk in bytes. */
|
|
349
|
-
chunkSize?: number;
|
|
350
|
-
/** Upload abort signal. */
|
|
351
|
-
signal?: AbortSignal | null;
|
|
352
|
-
/** The caption of the document. */
|
|
353
|
-
caption?: string;
|
|
354
|
-
/**
|
|
355
|
-
* The caption's entities.
|
|
356
|
-
*/
|
|
357
|
-
captionEntities?: MessageEntity[];
|
|
358
|
-
/**
|
|
359
|
-
* The parse mode to use for the caption. If not provided, the default parse mode will be used.
|
|
360
|
-
*/
|
|
361
|
-
parseMode?: ParseMode;
|
|
362
|
-
/**
|
|
363
|
-
* Whether to mark the video as a spoiler.
|
|
364
|
-
*/
|
|
365
|
-
hasSpoiler?: boolean;
|
|
366
|
-
/**
|
|
367
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
368
|
-
*/
|
|
369
|
-
disableNotification?: boolean;
|
|
370
|
-
/**
|
|
371
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
372
|
-
*/
|
|
373
|
-
protectContent?: boolean;
|
|
374
|
-
/**
|
|
375
|
-
* The identifier of a message to reply to.
|
|
376
|
-
*/
|
|
377
|
-
replyToMessageId?: number;
|
|
378
|
-
/**
|
|
379
|
-
* The identifier of a thread to send the message to.
|
|
380
|
-
*/
|
|
381
|
-
messageThreadId?: number;
|
|
382
|
-
/**
|
|
383
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
384
|
-
*/
|
|
385
|
-
sendAs?: ChatID;
|
|
386
|
-
/**
|
|
387
|
-
* The reply markup of the message. Bot-only.
|
|
388
|
-
*/
|
|
389
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
390
258
|
}
|
|
391
|
-
export interface SendAnimationParams {
|
|
259
|
+
export interface SendAnimationParams extends _CaptionCommon, _ThumbnailCommon, _SpoilCommon, _UploadCommon, _SendCommon {
|
|
392
260
|
/** The duration of the animation in seconds. */
|
|
393
261
|
duration?: number;
|
|
394
262
|
width?: number;
|
|
395
263
|
height?: number;
|
|
396
|
-
/** The file name to assign if applicable. */
|
|
397
|
-
fileName?: string;
|
|
398
|
-
/** The mime type to assign. */
|
|
399
|
-
mimeType?: string;
|
|
400
|
-
/** Size of each upload chunk in bytes. */
|
|
401
|
-
chunkSize?: number;
|
|
402
|
-
/** Upload abort signal. */
|
|
403
|
-
signal?: AbortSignal | null;
|
|
404
|
-
/** The caption of the document. */
|
|
405
|
-
caption?: string;
|
|
406
|
-
/**
|
|
407
|
-
* The caption's entities.
|
|
408
|
-
*/
|
|
409
|
-
captionEntities?: MessageEntity[];
|
|
410
|
-
/**
|
|
411
|
-
* The parse mode to use for the caption. If not provided, the default parse mode will be used.
|
|
412
|
-
*/
|
|
413
|
-
parseMode?: ParseMode;
|
|
414
|
-
/**
|
|
415
|
-
* Whether to mark the animation as a spoiler.
|
|
416
|
-
*/
|
|
417
|
-
hasSpoiler?: boolean;
|
|
418
|
-
/**
|
|
419
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
420
|
-
*/
|
|
421
|
-
disableNotification?: boolean;
|
|
422
|
-
/**
|
|
423
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
424
|
-
*/
|
|
425
|
-
protectContent?: boolean;
|
|
426
|
-
/**
|
|
427
|
-
* The identifier of a message to reply to.
|
|
428
|
-
*/
|
|
429
|
-
replyToMessageId?: number;
|
|
430
|
-
/**
|
|
431
|
-
* The identifier of a thread to send the message to.
|
|
432
|
-
*/
|
|
433
|
-
messageThreadId?: number;
|
|
434
|
-
/**
|
|
435
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
436
|
-
*/
|
|
437
|
-
sendAs?: ChatID;
|
|
438
|
-
/**
|
|
439
|
-
* The reply markup of the message. Bot-only.
|
|
440
|
-
*/
|
|
441
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
442
264
|
}
|
|
443
|
-
export interface SendVoiceParams {
|
|
265
|
+
export interface SendVoiceParams extends _CaptionCommon, _ThumbnailCommon, _UploadCommon, _SendCommon {
|
|
444
266
|
/** The duration of the voice message in seconds. */
|
|
445
267
|
duration?: number;
|
|
446
|
-
/** The file name to assign if applicable. */
|
|
447
|
-
fileName?: string;
|
|
448
|
-
/** The mime type to assign. */
|
|
449
|
-
mimeType?: string;
|
|
450
|
-
/** Size of each upload chunk in bytes. */
|
|
451
|
-
chunkSize?: number;
|
|
452
|
-
/** Upload abort signal. */
|
|
453
|
-
signal?: AbortSignal | null;
|
|
454
|
-
/** The caption of the document. */
|
|
455
|
-
caption?: string;
|
|
456
|
-
/**
|
|
457
|
-
* The caption's entities.
|
|
458
|
-
*/
|
|
459
|
-
captionEntities?: MessageEntity[];
|
|
460
|
-
/**
|
|
461
|
-
* The parse mode to use for the caption. If not provided, the default parse mode will be used.
|
|
462
|
-
*/
|
|
463
|
-
parseMode?: ParseMode;
|
|
464
|
-
/**
|
|
465
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
466
|
-
*/
|
|
467
|
-
disableNotification?: boolean;
|
|
468
|
-
/**
|
|
469
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
470
|
-
*/
|
|
471
|
-
protectContent?: boolean;
|
|
472
|
-
/**
|
|
473
|
-
* The identifier of a message to reply to.
|
|
474
|
-
*/
|
|
475
|
-
replyToMessageId?: number;
|
|
476
|
-
/**
|
|
477
|
-
* The identifier of a thread to send the message to.
|
|
478
|
-
*/
|
|
479
|
-
messageThreadId?: number;
|
|
480
|
-
/**
|
|
481
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
482
|
-
*/
|
|
483
|
-
sendAs?: ChatID;
|
|
484
|
-
/**
|
|
485
|
-
* The reply markup of the message. Bot-only.
|
|
486
|
-
*/
|
|
487
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
488
268
|
}
|
|
489
|
-
export interface SendAudioParams {
|
|
269
|
+
export interface SendAudioParams extends _CaptionCommon, _ThumbnailCommon, _UploadCommon, _SendCommon {
|
|
490
270
|
/** The duration of the audio file in seconds. */
|
|
491
271
|
duration?: number;
|
|
492
272
|
performer?: string;
|
|
493
273
|
title?: string;
|
|
494
|
-
/** The file name to assign if applicable. */
|
|
495
|
-
fileName?: string;
|
|
496
|
-
/** The mime type to assign. */
|
|
497
|
-
mimeType?: string;
|
|
498
|
-
/** Size of each upload chunk in bytes. */
|
|
499
|
-
chunkSize?: number;
|
|
500
|
-
/** Upload abort signal. */
|
|
501
|
-
signal?: AbortSignal | null;
|
|
502
|
-
/** The caption of the document. */
|
|
503
|
-
caption?: string;
|
|
504
|
-
/**
|
|
505
|
-
* The caption's entities.
|
|
506
|
-
*/
|
|
507
|
-
captionEntities?: MessageEntity[];
|
|
508
|
-
/**
|
|
509
|
-
* The parse mode to use for the caption. If not provided, the default parse mode will be used.
|
|
510
|
-
*/
|
|
511
|
-
parseMode?: ParseMode;
|
|
512
|
-
/**
|
|
513
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
514
|
-
*/
|
|
515
|
-
disableNotification?: boolean;
|
|
516
|
-
/**
|
|
517
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
518
|
-
*/
|
|
519
|
-
protectContent?: boolean;
|
|
520
|
-
/**
|
|
521
|
-
* The identifier of a message to reply to.
|
|
522
|
-
*/
|
|
523
|
-
replyToMessageId?: number;
|
|
524
|
-
/**
|
|
525
|
-
* The identifier of a thread to send the message to.
|
|
526
|
-
*/
|
|
527
|
-
messageThreadId?: number;
|
|
528
|
-
/**
|
|
529
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
530
|
-
*/
|
|
531
|
-
sendAs?: ChatID;
|
|
532
|
-
/**
|
|
533
|
-
* The reply markup of the message. Bot-only.
|
|
534
|
-
*/
|
|
535
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
536
274
|
}
|
|
537
|
-
export interface SendVideoNoteParams {
|
|
275
|
+
export interface SendVideoNoteParams extends _CaptionCommon, _ThumbnailCommon, _UploadCommon, _SendCommon {
|
|
538
276
|
/** The duration of the video note in seconds. */
|
|
539
277
|
duration?: number;
|
|
540
278
|
length?: number;
|
|
541
|
-
|
|
542
|
-
fileName?: string;
|
|
543
|
-
/** The mime type to assign. */
|
|
544
|
-
mimeType?: string;
|
|
545
|
-
/** Size of each upload chunk in bytes. */
|
|
546
|
-
chunkSize?: number;
|
|
547
|
-
/** Upload abort signal. */
|
|
548
|
-
signal?: AbortSignal | null;
|
|
549
|
-
/** The caption of the document. */
|
|
550
|
-
caption?: string;
|
|
551
|
-
/**
|
|
552
|
-
* The caption's entities.
|
|
553
|
-
*/
|
|
554
|
-
captionEntities?: MessageEntity[];
|
|
555
|
-
/**
|
|
556
|
-
* The parse mode to use for the caption. If not provided, the default parse mode will be used.
|
|
557
|
-
*/
|
|
558
|
-
parseMode?: ParseMode;
|
|
559
|
-
/**
|
|
560
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
561
|
-
*/
|
|
562
|
-
disableNotification?: boolean;
|
|
563
|
-
/**
|
|
564
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
565
|
-
*/
|
|
566
|
-
protectContent?: boolean;
|
|
567
|
-
/**
|
|
568
|
-
* The identifier of a message to reply to.
|
|
569
|
-
*/
|
|
570
|
-
replyToMessageId?: number;
|
|
571
|
-
/**
|
|
572
|
-
* The identifier of a thread to send the message to.
|
|
573
|
-
*/
|
|
574
|
-
messageThreadId?: number;
|
|
575
|
-
/**
|
|
576
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
577
|
-
*/
|
|
578
|
-
sendAs?: ChatID;
|
|
579
|
-
/**
|
|
580
|
-
* The reply markup of the message. Bot-only.
|
|
581
|
-
*/
|
|
582
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
279
|
+
thumbnail?: FileSource;
|
|
583
280
|
}
|
|
584
|
-
export interface SendLocationParams {
|
|
281
|
+
export interface SendLocationParams extends _SendCommon {
|
|
585
282
|
horizontalAccuracy?: number;
|
|
586
283
|
livePeriod?: number;
|
|
587
284
|
heading?: number;
|
|
588
285
|
proximityAlertRadius?: number;
|
|
589
|
-
/**
|
|
590
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
591
|
-
*/
|
|
592
|
-
disableNotification?: boolean;
|
|
593
|
-
/**
|
|
594
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
595
|
-
*/
|
|
596
|
-
protectContent?: boolean;
|
|
597
|
-
/**
|
|
598
|
-
* The identifier of a message to reply to.
|
|
599
|
-
*/
|
|
600
|
-
replyToMessageId?: number;
|
|
601
|
-
/**
|
|
602
|
-
* The identifier of a thread to send the message to.
|
|
603
|
-
*/
|
|
604
|
-
messageThreadId?: number;
|
|
605
|
-
/**
|
|
606
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
607
|
-
*/
|
|
608
|
-
sendAs?: ChatID;
|
|
609
|
-
/**
|
|
610
|
-
* The reply markup of the message. Bot-only.
|
|
611
|
-
*/
|
|
612
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
613
286
|
}
|
|
614
|
-
export interface SendVenueParams {
|
|
287
|
+
export interface SendVenueParams extends _SendCommon {
|
|
615
288
|
foursquareId?: string;
|
|
616
289
|
foursquareType?: string;
|
|
617
|
-
/**
|
|
618
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
619
|
-
*/
|
|
620
|
-
disableNotification?: boolean;
|
|
621
|
-
/**
|
|
622
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
623
|
-
*/
|
|
624
|
-
protectContent?: boolean;
|
|
625
|
-
/**
|
|
626
|
-
* The identifier of a message to reply to.
|
|
627
|
-
*/
|
|
628
|
-
replyToMessageId?: number;
|
|
629
|
-
/**
|
|
630
|
-
* The identifier of a thread to send the message to.
|
|
631
|
-
*/
|
|
632
|
-
messageThreadId?: number;
|
|
633
|
-
/**
|
|
634
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
635
|
-
*/
|
|
636
|
-
sendAs?: ChatID;
|
|
637
|
-
/**
|
|
638
|
-
* The reply markup of the message. Bot-only.
|
|
639
|
-
*/
|
|
640
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
641
290
|
}
|
|
642
|
-
export interface SendContactParams {
|
|
291
|
+
export interface SendContactParams extends _SendCommon {
|
|
643
292
|
/** The contact's last name. */
|
|
644
293
|
lastName?: string;
|
|
645
294
|
/** Additional information in the vCard format. */
|
|
646
295
|
vcard?: string;
|
|
647
|
-
/**
|
|
648
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
649
|
-
*/
|
|
650
|
-
disableNotification?: boolean;
|
|
651
|
-
/**
|
|
652
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
653
|
-
*/
|
|
654
|
-
protectContent?: boolean;
|
|
655
|
-
/**
|
|
656
|
-
* The identifier of a message to reply to.
|
|
657
|
-
*/
|
|
658
|
-
replyToMessageId?: number;
|
|
659
|
-
/**
|
|
660
|
-
* The identifier of a thread to send the message to.
|
|
661
|
-
*/
|
|
662
|
-
messageThreadId?: number;
|
|
663
|
-
/**
|
|
664
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
665
|
-
*/
|
|
666
|
-
sendAs?: ChatID;
|
|
667
|
-
/**
|
|
668
|
-
* The reply markup of the message. Bot-only.
|
|
669
|
-
*/
|
|
670
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
671
296
|
}
|
|
672
|
-
export interface SendDiceParams {
|
|
297
|
+
export interface SendDiceParams extends _SendCommon {
|
|
673
298
|
emoji?: "🎲" | "🎯" | "🏀" | "⚽" | "🎳" | "🎰";
|
|
674
|
-
/**
|
|
675
|
-
* Whether to send the message in a silent way without making a sound on the recipients' clients.
|
|
676
|
-
*/
|
|
677
|
-
disableNotification?: boolean;
|
|
678
|
-
/**
|
|
679
|
-
* Whether to protect the contents of the message from copying and forwarding.
|
|
680
|
-
*/
|
|
681
|
-
protectContent?: boolean;
|
|
682
|
-
/**
|
|
683
|
-
* The identifier of a message to reply to.
|
|
684
|
-
*/
|
|
685
|
-
replyToMessageId?: number;
|
|
686
|
-
/**
|
|
687
|
-
* The identifier of a thread to send the message to.
|
|
688
|
-
*/
|
|
689
|
-
messageThreadId?: number;
|
|
690
|
-
/**
|
|
691
|
-
* The identifier of the chat to send the message on behalf of. User-only.
|
|
692
|
-
*/
|
|
693
|
-
sendAs?: ChatID;
|
|
694
|
-
/**
|
|
695
|
-
* The reply markup of the message. Bot-only.
|
|
696
|
-
*/
|
|
697
|
-
replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
698
299
|
}
|
|
699
300
|
export type ConnectionState = "notConnected" | "updating" | "ready";
|
|
700
301
|
export type AuthorizationState = {
|
|
@@ -710,7 +311,11 @@ export interface GetHistoryParams {
|
|
|
710
311
|
/** The maximum number of results to return. Must be in the range of 1-100. Defaults to 100. */
|
|
711
312
|
limit?: number;
|
|
712
313
|
}
|
|
713
|
-
export
|
|
314
|
+
export interface AddReactionParams {
|
|
315
|
+
big?: boolean;
|
|
316
|
+
addToRecents?: boolean;
|
|
317
|
+
}
|
|
318
|
+
export type MessageUpdates = "message" | "editedMessage";
|
|
714
319
|
export interface Update {
|
|
715
320
|
message?: Message;
|
|
716
321
|
editedMessage?: Message;
|
|
@@ -725,6 +330,11 @@ export interface Update {
|
|
|
725
330
|
deletedChat?: {
|
|
726
331
|
chatId: number;
|
|
727
332
|
};
|
|
333
|
+
reactions?: {
|
|
334
|
+
chatId: number;
|
|
335
|
+
messageId: number;
|
|
336
|
+
reactions: MessageReaction[];
|
|
337
|
+
};
|
|
728
338
|
}
|
|
729
339
|
export type NextFn<T = void> = () => Promise<T>;
|
|
730
340
|
export interface Handler<C> {
|
|
@@ -739,10 +349,10 @@ export interface InvokeErrorHandler<C> {
|
|
|
739
349
|
}, next: NextFn<boolean>): MaybePromise<boolean>;
|
|
740
350
|
}
|
|
741
351
|
type Update_ = Update;
|
|
742
|
-
export type FilterUpdate<
|
|
743
|
-
[Type_ in Type]-?: TypeType & {
|
|
352
|
+
export type FilterUpdate<U extends Update_, Type extends keyof Update_, Field extends string, TypeType = NonNullable<Update_[Type]>> = Omit<U, keyof Update_> & Omit<Update_, Type> & {
|
|
353
|
+
[Type_ in Type]-?: Field extends keyof TypeType ? TypeType & {
|
|
744
354
|
[Field_ in Field]-?: Field extends keyof TypeType ? NonNullable<TypeType[Field]> : never;
|
|
745
|
-
}
|
|
355
|
+
} : NonNullable<TypeType>;
|
|
746
356
|
};
|
|
747
357
|
export interface NetworkStatisticsEntry {
|
|
748
358
|
sent: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { User } from "../3_types.js";
|
|
2
|
-
import {
|
|
1
|
+
import { MessageTypes, User } from "../3_types.js";
|
|
2
|
+
import { FilterUpdate, MessageUpdates, Update as Update_ } from "./3_types.js";
|
|
3
3
|
interface Update extends Update_ {
|
|
4
4
|
me: undefined extends this["connectionState"] ? undefined extends this["authorizationState"] ? User : (User | undefined) : (User | undefined);
|
|
5
5
|
}
|
|
@@ -22,10 +22,10 @@ export declare class Composer<C extends Update> implements MiddlewareObj<C> {
|
|
|
22
22
|
branch(predicate: (ctx: C) => MaybePromise<boolean>, trueHandler_: Middleware<C>, falseHandler_: Middleware<C>): Composer<C>;
|
|
23
23
|
filter<D extends C>(predicate: (ctx: C) => ctx is D, ...middleware: Middleware<D>[]): Composer<D>;
|
|
24
24
|
filter(predicate: (ctx: C) => MaybePromise<boolean>, ...middleware: Middleware<C>[]): Composer<C>;
|
|
25
|
-
on<T extends keyof Update_, F extends string>(filter: T extends
|
|
25
|
+
on<T extends keyof Update_, F extends string, K extends keyof MessageTypes | null = null>(filter: T extends MessageUpdates ? T | [T, K, ...F[]] : T, ...middleawre: Middleware<FilterUpdate<C, T, F, K extends keyof MessageTypes ? MessageTypes[K] : C[T]>>[]): Composer<FilterUpdate<C, T, F, K extends keyof MessageTypes ? MessageTypes[K] : C[T]>>;
|
|
26
26
|
command(commands: string | RegExp | (string | RegExp)[] | {
|
|
27
27
|
names: string | RegExp | (string | RegExp)[];
|
|
28
28
|
prefixes: string | string[];
|
|
29
|
-
}, ...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]): Composer<FilterUpdate<C, "message", "
|
|
29
|
+
}, ...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]): Composer<FilterUpdate<C, "message", string, import("../3_types.js").MessageText>>;
|
|
30
30
|
}
|
|
31
31
|
export {};
|