@mtkruto/node 0.1.303 → 0.1.500
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 +6 -5
- package/esm/0_deps.js +7 -6
- package/esm/1_utilities.d.ts +2 -0
- package/esm/1_utilities.js +2 -0
- package/esm/3_types.d.ts +6 -1
- package/esm/3_types.js +6 -1
- package/esm/client/0_markdown.d.ts +19 -0
- package/esm/client/0_markdown.js +19 -1
- package/esm/client/0_message.js +11 -11
- package/esm/client/0_params.d.ts +12 -1
- package/esm/client/0_password.js +14 -6
- package/esm/client/0_types.d.ts +18 -7
- package/esm/client/0_utilities.d.ts +19 -2
- package/esm/client/0_utilities.js +2 -45
- package/esm/client/1_client_plain.js +6 -6
- package/esm/client/1_file_manager.d.ts +3 -21
- package/esm/client/1_file_manager.js +244 -104
- package/esm/client/2_message_manager.d.ts +4 -1
- package/esm/client/2_message_manager.js +166 -23
- package/esm/client/3_callback_query_manager.d.ts +2 -1
- package/esm/client/3_callback_query_manager.js +33 -5
- package/esm/client/3_inline_query_manager.d.ts +3 -2
- package/esm/client/3_inline_query_manager.js +20 -4
- package/esm/client/3_story_manager.js +4 -6
- package/esm/client/4_client.d.ts +41 -4
- package/esm/client/4_client.js +120 -49
- package/esm/connection/1_connection_web_socket.js +3 -3
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_almost_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_array_includes.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_exists.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_false.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater_or_equal.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_instance_of.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_is_error.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less_or_equal.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_match.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_instance_of.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_match.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_strict_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_object_match.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_rejects.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_strict_equals.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_string_includes.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_throws.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assertion_error.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/equal.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/fail.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/mod.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unimplemented.js +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unreachable.js +1 -0
- package/esm/deps/deno.land/std@0.223.0/bytes/concat.d.ts +13 -0
- package/esm/deps/deno.land/std@0.223.0/bytes/concat.js +27 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/base64.d.ts +8 -2
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/base64.js +19 -2
- package/{script/deps/deno.land/std@0.221.0 → esm/deps/deno.land/std@0.223.0}/media_types/_util.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_util.js +1 -1
- package/{script/deps/deno.land/x/tgcrypto@0.4.0 → esm/deps/deno.land/x/tgcrypto@0.4.1}/mod.d.ts +14 -2
- package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/mod.js +56 -42
- package/esm/storage/0_storage.d.ts +10 -0
- package/esm/storage/0_storage.js +42 -0
- package/esm/tl/0_tl_raw_writer.js +3 -2
- package/esm/transport/0_obfuscation.js +4 -3
- package/esm/transport/0_transport.d.ts +1 -1
- package/esm/transport/0_transport.js +7 -0
- package/esm/transport/1_transport_abridged.js +4 -2
- package/esm/transport/1_transport_intermediate.js +4 -2
- package/esm/types/0_callback_query_answer.d.ts +30 -0
- package/esm/types/0_callback_query_answer.js +26 -0
- package/esm/types/0_callback_query_question.d.ts +49 -0
- package/esm/types/0_callback_query_question.js +31 -0
- package/esm/types/0_file_source.d.ts +2 -2
- package/esm/types/0_self_destruct_option.d.ts +25 -0
- package/esm/types/0_self_destruct_option.js +39 -0
- package/esm/types/1_input_media.d.ts +108 -0
- package/esm/types/{1_input_message_content.d.ts → 1_message_content.d.ts} +6 -6
- package/esm/types/1_message_content.js +20 -0
- package/esm/types/1_photo.d.ts +4 -0
- package/esm/types/1_photo.js +12 -26
- package/esm/types/4_inline_query_result.d.ts +52 -49
- package/esm/types/4_inline_query_result.js +225 -44
- package/esm/types/5_inline_query_answer.d.ts +31 -0
- package/esm/types/5_inline_query_answer.js +28 -0
- package/esm/types/_file_id.d.ts +5 -0
- package/esm/types/_file_id.js +32 -1
- package/esm/utilities/0_buffer.d.ts +0 -1
- package/esm/utilities/0_buffer.js +0 -13
- package/esm/utilities/0_crypto.d.ts +3 -3
- package/esm/utilities/0_crypto.js +23 -20
- package/esm/utilities/0_part_stream.d.ts +29 -0
- package/esm/utilities/0_part_stream.js +65 -0
- package/esm/utilities/0_units.d.ts +25 -0
- package/esm/utilities/0_units.js +25 -0
- package/esm/utilities/1_auth.js +5 -5
- package/esm/utilities/1_misc.d.ts +1 -0
- package/esm/utilities/1_misc.js +17 -2
- package/package.json +1 -1
- package/script/0_deps.d.ts +6 -5
- package/script/0_deps.js +11 -7
- package/script/1_utilities.d.ts +2 -0
- package/script/1_utilities.js +2 -0
- package/script/3_types.d.ts +6 -1
- package/script/3_types.js +6 -1
- package/script/client/0_markdown.d.ts +19 -0
- package/script/client/0_markdown.js +19 -1
- package/script/client/0_message.js +9 -9
- package/script/client/0_params.d.ts +12 -1
- package/script/client/0_password.js +13 -5
- package/script/client/0_types.d.ts +18 -7
- package/script/client/0_utilities.d.ts +19 -2
- package/script/client/0_utilities.js +3 -70
- package/script/client/1_client_plain.js +4 -4
- package/script/client/1_file_manager.d.ts +3 -21
- package/script/client/1_file_manager.js +266 -103
- package/script/client/2_message_manager.d.ts +4 -1
- package/script/client/2_message_manager.js +164 -21
- package/script/client/3_callback_query_manager.d.ts +2 -1
- package/script/client/3_callback_query_manager.js +30 -2
- package/script/client/3_inline_query_manager.d.ts +3 -2
- package/script/client/3_inline_query_manager.js +18 -2
- package/script/client/3_story_manager.js +3 -5
- package/script/client/4_client.d.ts +41 -4
- package/script/client/4_client.js +119 -48
- package/script/connection/1_connection_web_socket.js +1 -1
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_almost_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_array_includes.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_exists.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_false.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater_or_equal.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_instance_of.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_is_error.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less_or_equal.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_match.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_instance_of.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_match.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_strict_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_object_match.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_rejects.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_strict_equals.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_string_includes.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_throws.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assertion_error.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/equal.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/fail.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/mod.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unimplemented.js +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unreachable.js +1 -0
- package/script/deps/deno.land/std@0.223.0/bytes/concat.d.ts +13 -0
- package/script/deps/deno.land/std@0.223.0/bytes/concat.js +31 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/base64.d.ts +8 -2
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/base64.js +19 -2
- package/{esm/deps/deno.land/std@0.221.0 → script/deps/deno.land/std@0.223.0}/media_types/_util.d.ts +1 -0
- package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_util.js +2 -1
- package/{esm/deps/deno.land/x/tgcrypto@0.4.0 → script/deps/deno.land/x/tgcrypto@0.4.1}/mod.d.ts +14 -2
- package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/mod.js +61 -43
- package/script/storage/0_storage.d.ts +10 -0
- package/script/storage/0_storage.js +42 -0
- package/script/tl/0_tl_raw_writer.js +2 -1
- package/script/transport/0_obfuscation.js +3 -2
- package/script/transport/0_transport.d.ts +1 -1
- package/script/transport/0_transport.js +7 -0
- package/script/transport/1_transport_abridged.js +3 -1
- package/script/transport/1_transport_intermediate.js +3 -1
- package/script/types/0_callback_query_answer.d.ts +30 -0
- package/script/types/0_callback_query_answer.js +30 -0
- package/script/types/0_callback_query_question.d.ts +49 -0
- package/script/types/0_callback_query_question.js +35 -0
- package/script/types/0_file_source.d.ts +2 -2
- package/script/types/0_self_destruct_option.d.ts +25 -0
- package/script/types/0_self_destruct_option.js +43 -0
- package/script/types/1_input_media.d.ts +108 -0
- package/script/types/{1_input_message_content.d.ts → 1_message_content.d.ts} +6 -6
- package/script/types/1_message_content.js +21 -0
- package/script/types/1_photo.d.ts +4 -0
- package/script/types/1_photo.js +14 -27
- package/script/types/4_inline_query_result.d.ts +52 -49
- package/script/types/4_inline_query_result.js +224 -42
- package/script/types/5_inline_query_answer.d.ts +31 -0
- package/script/types/5_inline_query_answer.js +32 -0
- package/script/types/_file_id.d.ts +5 -0
- package/script/types/_file_id.js +33 -1
- package/script/utilities/0_buffer.d.ts +0 -1
- package/script/utilities/0_buffer.js +1 -15
- package/script/utilities/0_crypto.d.ts +3 -3
- package/script/utilities/0_crypto.js +22 -19
- package/script/utilities/0_part_stream.d.ts +29 -0
- package/script/utilities/0_part_stream.js +69 -0
- package/script/utilities/0_units.d.ts +25 -0
- package/script/utilities/0_units.js +28 -0
- package/script/utilities/1_auth.js +3 -3
- package/script/utilities/1_misc.d.ts +1 -0
- package/script/utilities/1_misc.js +19 -3
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/fmt/colors.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/content_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/content_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extensions_by_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/format_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/format_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/get_charset.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/get_charset.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/parse_media_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/parse_media_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/type_by_extension.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/type_by_extension.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.d.ts +0 -0
- /package/esm/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.js +0 -0
- /package/esm/types/{1_input_message_content.js → 1_input_media.js} +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_diff.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/content_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/content_type.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extension.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/extensions_by_type.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/format_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/format_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/get_charset.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/get_charset.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/parse_media_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/parse_media_type.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/type_by_extension.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/type_by_extension.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.221.0 → std@0.223.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.d.ts +0 -0
- /package/script/deps/deno.land/x/{tgcrypto@0.4.0 → tgcrypto@0.4.1}/tgcrypto.js +0 -0
- /package/script/types/{1_input_message_content.js → 1_input_media.js} +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
import { FileSource } from "./0_file_source.js";
|
|
21
|
+
import { SelfDestructOption } from "./0_self_destruct_option.js";
|
|
22
|
+
/** @unlisted */
|
|
23
|
+
export interface _InputMediaCommon {
|
|
24
|
+
/** The file name to assign if applicable. */
|
|
25
|
+
fileName?: string;
|
|
26
|
+
/** The mime type to assign if applicable. */
|
|
27
|
+
mimeType?: string;
|
|
28
|
+
/** Size of each upload chunk in bytes. */
|
|
29
|
+
chunkSize?: number;
|
|
30
|
+
/** Upload abort signal. */
|
|
31
|
+
signal?: AbortSignal | null;
|
|
32
|
+
}
|
|
33
|
+
/** @unlisted */
|
|
34
|
+
export interface InputMediaAnimation extends _InputMediaCommon {
|
|
35
|
+
/** The new animation. */
|
|
36
|
+
animation: FileSource;
|
|
37
|
+
/** A thumbnail to assign. Cannot be a URL. */
|
|
38
|
+
thumbnail?: FileSource;
|
|
39
|
+
/** The new caption of the message. */
|
|
40
|
+
caption?: string;
|
|
41
|
+
/** The duration of the animation in seconds. */
|
|
42
|
+
duration?: number;
|
|
43
|
+
/** The width of the animation file. */
|
|
44
|
+
width?: number;
|
|
45
|
+
/** The height of the animation file. */
|
|
46
|
+
height?: number;
|
|
47
|
+
/** Whether to mark the media as a spoiler. */
|
|
48
|
+
hasSpoiler?: boolean;
|
|
49
|
+
}
|
|
50
|
+
/** @unlisted */
|
|
51
|
+
export interface InputMediaAudio extends _InputMediaCommon {
|
|
52
|
+
/** The new audio. */
|
|
53
|
+
audio: FileSource;
|
|
54
|
+
/** A thumbnail to assign. Cannot be a URL. */
|
|
55
|
+
thumbnail?: FileSource;
|
|
56
|
+
/** The new caption of the message. */
|
|
57
|
+
caption?: string;
|
|
58
|
+
/** The duration of the audio file in seconds. */
|
|
59
|
+
duration?: number;
|
|
60
|
+
/** Names of the entities that are being featured in the audio. */
|
|
61
|
+
performer?: string;
|
|
62
|
+
/** The title of the audio. */
|
|
63
|
+
title?: string;
|
|
64
|
+
}
|
|
65
|
+
/** @unlisted */
|
|
66
|
+
export interface InputMediaDocument extends _InputMediaCommon {
|
|
67
|
+
/** The new document. */
|
|
68
|
+
document: FileSource;
|
|
69
|
+
/** A thumbnail to assign. Cannot be a URL. */
|
|
70
|
+
thumbnail?: FileSource;
|
|
71
|
+
/** The new caption of the message. */
|
|
72
|
+
caption?: string;
|
|
73
|
+
}
|
|
74
|
+
/** @unlisted */
|
|
75
|
+
export interface InputMediaPhoto extends _InputMediaCommon {
|
|
76
|
+
/** The new photo. */
|
|
77
|
+
photo: FileSource;
|
|
78
|
+
/** The width of the photo in pixels. */
|
|
79
|
+
width?: number;
|
|
80
|
+
/** The height of the photo in pixels. */
|
|
81
|
+
height?: number;
|
|
82
|
+
/** The new caption of the message. */
|
|
83
|
+
caption?: string;
|
|
84
|
+
/** Whether to mark the media as a spoiler. */
|
|
85
|
+
hasSpoiler?: boolean;
|
|
86
|
+
selfDestruct?: SelfDestructOption;
|
|
87
|
+
}
|
|
88
|
+
/** @unlisted */
|
|
89
|
+
export interface InputMediaVideo extends _InputMediaCommon {
|
|
90
|
+
/** The new video. */
|
|
91
|
+
video: FileSource;
|
|
92
|
+
/** A thumbnail to assign. Cannot be a URL. */
|
|
93
|
+
thumbnail?: FileSource;
|
|
94
|
+
/** The duration of the video in seconds. */
|
|
95
|
+
duration?: number;
|
|
96
|
+
/** The width of the photo in pixels. */
|
|
97
|
+
width?: number;
|
|
98
|
+
/** The height of the photo in pixels. */
|
|
99
|
+
height?: number;
|
|
100
|
+
/** Whether the video is suitable for streaming. */
|
|
101
|
+
supportsStreaming?: boolean;
|
|
102
|
+
/** The new caption of the message. */
|
|
103
|
+
caption?: string;
|
|
104
|
+
/** Whether to mark the media as a spoiler. */
|
|
105
|
+
hasSpoiler?: boolean;
|
|
106
|
+
selfDestruct?: SelfDestructOption;
|
|
107
|
+
}
|
|
108
|
+
export type InputMedia = InputMediaAnimation | InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo;
|
|
@@ -25,7 +25,7 @@ import { PriceTag } from "./0_price_tag.js";
|
|
|
25
25
|
* A message content that shares a contact.
|
|
26
26
|
* @unlisted
|
|
27
27
|
*/
|
|
28
|
-
export interface
|
|
28
|
+
export interface MessageContentContact {
|
|
29
29
|
/** The contact's phone number. */
|
|
30
30
|
phoneNumber: string;
|
|
31
31
|
/** The contact's first name. */
|
|
@@ -39,7 +39,7 @@ export interface InputMessageContentContact {
|
|
|
39
39
|
* A message content that shares a location.
|
|
40
40
|
* @unlisted
|
|
41
41
|
*/
|
|
42
|
-
export interface
|
|
42
|
+
export interface MessageContentLocation {
|
|
43
43
|
/** The latitude of the location. */
|
|
44
44
|
latitude: number;
|
|
45
45
|
/** The longitude of the location. */
|
|
@@ -57,7 +57,7 @@ export interface InputMessageContentLocation {
|
|
|
57
57
|
* A message content that shares a venue.
|
|
58
58
|
* @unlisted
|
|
59
59
|
*/
|
|
60
|
-
export interface
|
|
60
|
+
export interface MessageContentVenue {
|
|
61
61
|
/** The latitude of the venue. */
|
|
62
62
|
latitude: number;
|
|
63
63
|
/** The longitude of the venue. */
|
|
@@ -76,7 +76,7 @@ export interface InputMessageContentVenue {
|
|
|
76
76
|
googlePlaceType?: string;
|
|
77
77
|
}
|
|
78
78
|
/** @unlisted */
|
|
79
|
-
export interface
|
|
79
|
+
export interface MessageContentText {
|
|
80
80
|
/** The message's text. */
|
|
81
81
|
messageText: string;
|
|
82
82
|
/** The parse mode to use. If not provided, the default parse mode will be used. */
|
|
@@ -87,7 +87,7 @@ export interface InputMessageContentText {
|
|
|
87
87
|
linkPreview?: LinkPreview;
|
|
88
88
|
}
|
|
89
89
|
/** @unlisted */
|
|
90
|
-
export interface
|
|
90
|
+
export interface MessageContentInvoice {
|
|
91
91
|
title: string;
|
|
92
92
|
description: string;
|
|
93
93
|
payload: string;
|
|
@@ -110,4 +110,4 @@ export interface InputMessageContentInvoice {
|
|
|
110
110
|
isFlexible?: boolean;
|
|
111
111
|
}
|
|
112
112
|
/** The content of a message to be returned as an inline query result. */
|
|
113
|
-
export type
|
|
113
|
+
export type MessageContent = MessageContentText | MessageContentLocation | MessageContentVenue | MessageContentContact | MessageContentInvoice;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2024 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
export {};
|
package/esm/types/1_photo.d.ts
CHANGED
package/esm/types/1_photo.js
CHANGED
|
@@ -18,10 +18,19 @@
|
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
20
|
import { types } from "../2_tl.js";
|
|
21
|
-
import {
|
|
22
|
-
import { FileType, serializeFileId, toUniqueFileId } from "./_file_id.js";
|
|
21
|
+
import { getPhotoFileId } from "./_file_id.js";
|
|
23
22
|
import { constructThumbnail } from "./0_thumbnail.js";
|
|
24
23
|
export function constructPhoto(photo) {
|
|
24
|
+
const { sizes, largest } = getPhotoSizes(photo);
|
|
25
|
+
return {
|
|
26
|
+
...getPhotoFileId(photo),
|
|
27
|
+
width: largest.w,
|
|
28
|
+
height: largest.h,
|
|
29
|
+
fileSize: largest.size,
|
|
30
|
+
thumbnails: sizes.slice(0, -1).map((v) => constructThumbnail(v, photo)),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function getPhotoSizes(photo) {
|
|
25
34
|
const sizes = photo.sizes
|
|
26
35
|
.map((v) => {
|
|
27
36
|
if (v instanceof types.PhotoSizeProgressive) {
|
|
@@ -34,28 +43,5 @@ export function constructPhoto(photo) {
|
|
|
34
43
|
.filter((v) => v instanceof types.PhotoSize)
|
|
35
44
|
.sort((a, b) => a.size - b.size);
|
|
36
45
|
const largest = sizes.slice(-1)[0];
|
|
37
|
-
|
|
38
|
-
const fileId_ = {
|
|
39
|
-
type: FileType.Photo,
|
|
40
|
-
dcId,
|
|
41
|
-
fileReference,
|
|
42
|
-
location: {
|
|
43
|
-
type: "photo",
|
|
44
|
-
id,
|
|
45
|
-
accessHash,
|
|
46
|
-
source: {
|
|
47
|
-
type: PhotoSourceType.Thumbnail,
|
|
48
|
-
fileType: FileType.Photo,
|
|
49
|
-
thumbnailType: largest.type.charCodeAt(0),
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
};
|
|
53
|
-
return {
|
|
54
|
-
fileId: serializeFileId(fileId_),
|
|
55
|
-
fileUniqueId: toUniqueFileId(fileId_),
|
|
56
|
-
width: largest.w,
|
|
57
|
-
height: largest.h,
|
|
58
|
-
fileSize: largest.size,
|
|
59
|
-
thumbnails: sizes.slice(0, -1).map((v) => constructThumbnail(v, photo)),
|
|
60
|
-
};
|
|
46
|
+
return { sizes, largest };
|
|
61
47
|
}
|
|
@@ -17,12 +17,13 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
import { enums } from "../2_tl.js";
|
|
20
|
+
import { enums, types } from "../2_tl.js";
|
|
21
21
|
import { UsernameResolver } from "./_getters.js";
|
|
22
22
|
import { MessageEntity } from "./0_message_entity.js";
|
|
23
23
|
import { ParseMode } from "./0_parse_mode.js";
|
|
24
|
-
import {
|
|
24
|
+
import { MessageContent } from "./1_message_content.js";
|
|
25
25
|
import { ReplyMarkupInlineKeyboard } from "./3_reply_markup.js";
|
|
26
|
+
import { Thumbnail } from "./0_thumbnail.js";
|
|
26
27
|
/** @unlisted */
|
|
27
28
|
type InlineQueryResultType = "article" | "audio" | "document" | "gif" | "mpeg4Gif" | "photo" | "sticker" | "video" | "voice" | "game" | "location" | "venue";
|
|
28
29
|
/** @unlisted */
|
|
@@ -37,8 +38,8 @@ export interface _InlineQueryResultCaptionCommon {
|
|
|
37
38
|
captionEntities?: MessageEntity[];
|
|
38
39
|
}
|
|
39
40
|
/** @unlisted */
|
|
40
|
-
export interface
|
|
41
|
-
|
|
41
|
+
export interface _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
42
|
+
messageContent?: MessageContent;
|
|
42
43
|
replyMarkup?: ReplyMarkupInlineKeyboard;
|
|
43
44
|
}
|
|
44
45
|
/** @unlisted */
|
|
@@ -51,70 +52,71 @@ export interface _InlineQueryResultThumbnailCommon {
|
|
|
51
52
|
export interface InlineQueryResultArticle extends _InlineQueryResultBase, _InlineQueryResultThumbnailCommon {
|
|
52
53
|
type: "article";
|
|
53
54
|
title: string;
|
|
54
|
-
|
|
55
|
+
messageContent: MessageContent;
|
|
55
56
|
description?: string;
|
|
56
57
|
replyMarkup?: ReplyMarkupInlineKeyboard;
|
|
57
58
|
url?: string;
|
|
58
59
|
hideUrl?: boolean;
|
|
59
60
|
}
|
|
60
61
|
/** @unlisted */
|
|
61
|
-
export interface InlineQueryResultAudio extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
62
|
+
export interface InlineQueryResultAudio extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
62
63
|
type: "audio";
|
|
63
64
|
title: string;
|
|
64
|
-
|
|
65
|
+
url: string;
|
|
65
66
|
performer?: string;
|
|
66
67
|
audioDuration?: number;
|
|
67
68
|
}
|
|
68
69
|
/** @unlisted */
|
|
69
|
-
export interface InlineQueryResultCachedAudio extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
70
|
+
export interface InlineQueryResultCachedAudio extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
70
71
|
type: "audio";
|
|
71
|
-
|
|
72
|
+
fileId: string;
|
|
72
73
|
}
|
|
73
74
|
/** @unlisted */
|
|
74
|
-
export interface InlineQueryResultCachedDocument extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
75
|
+
export interface InlineQueryResultCachedDocument extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
75
76
|
type: "document";
|
|
76
|
-
|
|
77
|
+
fileId: string;
|
|
77
78
|
description?: string;
|
|
78
79
|
}
|
|
79
80
|
/** @unlisted */
|
|
80
|
-
export interface InlineQueryResultCachedGif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
81
|
+
export interface InlineQueryResultCachedGif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
81
82
|
type: "gif";
|
|
82
|
-
|
|
83
|
+
fileId: string;
|
|
83
84
|
title?: string;
|
|
84
85
|
}
|
|
85
86
|
/** @unlisted */
|
|
86
|
-
export interface InlineQueryResultCachedMpeg4Gif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
87
|
+
export interface InlineQueryResultCachedMpeg4Gif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
87
88
|
type: "mpeg4Gif";
|
|
88
|
-
|
|
89
|
+
fileId: string;
|
|
89
90
|
title?: string;
|
|
90
91
|
}
|
|
91
92
|
/** @unlisted */
|
|
92
|
-
export interface InlineQueryResultCachedPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
93
|
+
export interface InlineQueryResultCachedPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
93
94
|
type: "photo";
|
|
94
|
-
|
|
95
|
+
fileId: string;
|
|
96
|
+
thumbnails?: Thumbnail[];
|
|
95
97
|
title?: string;
|
|
96
98
|
description?: string;
|
|
97
99
|
}
|
|
98
100
|
/** @unlisted */
|
|
99
|
-
export interface InlineQueryResultCachedSticker extends _InlineQueryResultBase,
|
|
101
|
+
export interface InlineQueryResultCachedSticker extends _InlineQueryResultBase, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
100
102
|
type: "sticker";
|
|
101
|
-
|
|
103
|
+
fileId: string;
|
|
102
104
|
}
|
|
103
105
|
/** @unlisted */
|
|
104
|
-
export interface InlineQueryResultCachedVideo extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
106
|
+
export interface InlineQueryResultCachedVideo extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
105
107
|
type: "video";
|
|
106
108
|
title: string;
|
|
107
|
-
|
|
109
|
+
fileId: string;
|
|
108
110
|
description?: string;
|
|
109
111
|
}
|
|
110
112
|
/** @unlisted */
|
|
111
|
-
export interface InlineQueryResultCachedVoice extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
113
|
+
export interface InlineQueryResultCachedVoice extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
112
114
|
type: "voice";
|
|
113
115
|
title: string;
|
|
114
|
-
|
|
116
|
+
fileId: string;
|
|
115
117
|
}
|
|
116
118
|
/** @unlisted */
|
|
117
|
-
export interface InlineQueryResultContact extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
119
|
+
export interface InlineQueryResultContact extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
|
|
118
120
|
type: "game";
|
|
119
121
|
phoneNumber: string;
|
|
120
122
|
firstName: string;
|
|
@@ -122,10 +124,10 @@ export interface InlineQueryResultContact extends _InlineQueryResultBase, _Inlin
|
|
|
122
124
|
vcard?: string;
|
|
123
125
|
}
|
|
124
126
|
/** @unlisted */
|
|
125
|
-
export interface InlineQueryResultDocument extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
127
|
+
export interface InlineQueryResultDocument extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
|
|
126
128
|
type: "document";
|
|
127
129
|
title: string;
|
|
128
|
-
|
|
130
|
+
url: string;
|
|
129
131
|
}
|
|
130
132
|
/** @unlisted */
|
|
131
133
|
export interface InlineQueryResultGame extends _InlineQueryResultBase {
|
|
@@ -134,18 +136,18 @@ export interface InlineQueryResultGame extends _InlineQueryResultBase {
|
|
|
134
136
|
replyMarkup?: ReplyMarkupInlineKeyboard;
|
|
135
137
|
}
|
|
136
138
|
/** @unlisted */
|
|
137
|
-
export interface InlineQueryResultGif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
139
|
+
export interface InlineQueryResultGif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
138
140
|
type: "gif";
|
|
139
141
|
title?: string;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
url: string;
|
|
143
|
+
width?: number;
|
|
144
|
+
height?: number;
|
|
145
|
+
duration?: number;
|
|
144
146
|
thumbnailUrl?: string;
|
|
145
147
|
thumbnailMimeType?: string;
|
|
146
148
|
}
|
|
147
149
|
/** @unlisted */
|
|
148
|
-
export interface InlineQueryResultLocation extends _InlineQueryResultBase,
|
|
150
|
+
export interface InlineQueryResultLocation extends _InlineQueryResultBase, _InlineQueryResultMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
|
|
149
151
|
type: "location";
|
|
150
152
|
title: string;
|
|
151
153
|
latitude: number;
|
|
@@ -156,57 +158,58 @@ export interface InlineQueryResultLocation extends _InlineQueryResultBase, _Inli
|
|
|
156
158
|
proximityAlertRadius?: number;
|
|
157
159
|
}
|
|
158
160
|
/** @unlisted */
|
|
159
|
-
export interface InlineQueryResultMpeg4Gif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
161
|
+
export interface InlineQueryResultMpeg4Gif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
160
162
|
type: "mpeg4Gif";
|
|
161
|
-
|
|
163
|
+
url: string;
|
|
162
164
|
title?: string;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
width?: number;
|
|
166
|
+
height?: number;
|
|
167
|
+
duration?: number;
|
|
166
168
|
thumbnailUrl?: string;
|
|
167
169
|
thumbnailMimeType?: string;
|
|
168
170
|
}
|
|
169
171
|
/** @unlisted */
|
|
170
|
-
export interface InlineQueryResultPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
172
|
+
export interface InlineQueryResultPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
171
173
|
type: "photo";
|
|
172
|
-
|
|
174
|
+
url: string;
|
|
173
175
|
thumbnailUrl: string;
|
|
174
176
|
title?: string;
|
|
175
177
|
description?: string;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
+
width?: number;
|
|
179
|
+
height?: number;
|
|
178
180
|
}
|
|
179
181
|
/** @unlisted */
|
|
180
|
-
export interface InlineQueryResultVenue extends _InlineQueryResultBase,
|
|
182
|
+
export interface InlineQueryResultVenue extends _InlineQueryResultBase, _InlineQueryResultMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
|
|
181
183
|
type: "venue";
|
|
182
184
|
title: string;
|
|
183
185
|
latitude: number;
|
|
184
186
|
longitude: number;
|
|
185
187
|
address: string;
|
|
186
|
-
|
|
188
|
+
foursquareId?: string;
|
|
187
189
|
foursquareType?: string;
|
|
188
190
|
}
|
|
189
191
|
/** @unlisted */
|
|
190
|
-
export interface InlineQueryResultVideo extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
192
|
+
export interface InlineQueryResultVideo extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
191
193
|
type: "video";
|
|
192
194
|
title: string;
|
|
193
195
|
description?: string;
|
|
194
|
-
|
|
196
|
+
url: string;
|
|
195
197
|
mimeType: string;
|
|
196
198
|
thumbnailUrl: string;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
+
width?: number;
|
|
200
|
+
height?: number;
|
|
199
201
|
videoDuration?: number;
|
|
200
202
|
}
|
|
201
203
|
/** @unlisted */
|
|
202
|
-
export interface InlineQueryResultVoice extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon,
|
|
204
|
+
export interface InlineQueryResultVoice extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
|
|
203
205
|
type: "voice";
|
|
204
206
|
title: string;
|
|
205
|
-
|
|
207
|
+
url: string;
|
|
206
208
|
voiceDuration?: number;
|
|
207
209
|
}
|
|
208
210
|
/** A single inline query result. */
|
|
209
211
|
export type InlineQueryResult = InlineQueryResultCachedAudio | InlineQueryResultCachedDocument | InlineQueryResultCachedGif | InlineQueryResultCachedMpeg4Gif | InlineQueryResultCachedPhoto | InlineQueryResultCachedSticker | InlineQueryResultCachedVideo | InlineQueryResultCachedVoice | InlineQueryResultArticle | InlineQueryResultAudio | InlineQueryResultContact | InlineQueryResultGame | InlineQueryResultDocument | InlineQueryResultGif | InlineQueryResultLocation | InlineQueryResultMpeg4Gif | InlineQueryResultPhoto | InlineQueryResultVenue | InlineQueryResultVideo | InlineQueryResultVoice;
|
|
212
|
+
export declare function constructInlineQueryResult(result: types.BotInlineResult | types.BotInlineMediaResult): InlineQueryResult;
|
|
210
213
|
export declare function inlineQueryResultToTlObject(result_: InlineQueryResult, parseText: (text: string, params?: {
|
|
211
214
|
parseMode?: ParseMode;
|
|
212
215
|
entities?: MessageEntity[];
|