@mtkruto/node 0.1.118 → 0.1.121
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 +3 -3
- package/esm/0_deps.js +3 -3
- package/esm/2_tl.d.ts +3 -3
- package/esm/2_tl.js +3 -3
- package/esm/3_errors.d.ts +509 -509
- package/esm/3_errors.js +509 -509
- package/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +2 -2
- package/esm/4_errors.d.ts +7 -7
- package/esm/4_errors.js +6 -6
- package/esm/_dnt.shims.js +0 -1
- package/esm/client/0_password.d.ts +2 -2
- package/esm/client/0_password.js +4 -4
- package/esm/client/0_utilities.d.ts +3 -3
- package/esm/client/0_utilities.js +1 -2
- package/esm/client/2_client_plain.js +20 -20
- package/esm/client/3_types.d.ts +4 -0
- package/esm/client/4_composer.d.ts +5 -1
- package/esm/client/4_composer.js +37 -13
- package/esm/client/5_client.d.ts +24 -7
- package/esm/client/5_client.js +381 -258
- package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
- package/esm/storage/0_storage.d.ts +5 -5
- package/esm/tl/1_tl_object.d.ts +4 -0
- package/esm/tl/1_tl_object.js +13 -4
- package/esm/tl/2_types.d.ts +11384 -6448
- package/esm/tl/2_types.js +16321 -10139
- package/esm/tl/3_functions.d.ts +6773 -2401
- package/esm/tl/3_functions.js +9440 -3368
- package/esm/tl/3_utilities.d.ts +2 -2
- package/esm/tl/3_utilities.js +4 -4
- package/esm/tl/6_message.d.ts +1 -1
- package/esm/tl/6_message.js +1 -1
- package/esm/types/0__file_id.js +1 -2
- package/esm/types/0_audio.js +1 -1
- package/esm/types/0_chat_administrator_rights.d.ts +3 -3
- package/esm/types/0_chat_administrator_rights.js +20 -20
- package/esm/types/0_chat_photo.js +8 -8
- package/esm/types/0_contact.js +4 -4
- package/esm/types/0_force_reply.d.ts +1 -1
- package/esm/types/0_location.js +4 -4
- package/esm/types/0_mask_position.d.ts +2 -2
- package/esm/types/0_message_entity.d.ts +3 -3
- package/esm/types/0_message_entity.js +8 -8
- package/esm/types/0_poll_option.d.ts +2 -2
- package/esm/types/0_reply_keyboard_remove.d.ts +1 -1
- package/esm/types/0_restriction_reason.d.ts +2 -2
- package/esm/types/0_thumbnail.js +3 -3
- package/esm/types/0_venue.js +3 -3
- package/esm/types/0_voice.js +1 -1
- package/esm/types/1_animation.js +2 -2
- package/esm/types/1_bot_command_scope.d.ts +1 -2
- package/esm/types/1_bot_command_scope.js +1 -1
- package/esm/types/1_chat.js +9 -9
- package/esm/types/1_document.js +2 -2
- package/esm/types/1_input_invoice_message_content.d.ts +1 -1
- package/esm/types/1_keyboard_button.d.ts +3 -3
- package/esm/types/1_keyboard_button.js +35 -35
- package/esm/types/1_photo.js +1 -1
- package/esm/types/1_poll.js +6 -6
- package/esm/types/1_sticker.js +3 -3
- package/esm/types/1_user.js +6 -6
- package/esm/types/1_video.js +1 -1
- package/esm/types/2_game.js +3 -3
- package/esm/types/2_inline_keyboard_button.d.ts +3 -3
- package/esm/types/2_inline_keyboard_button.js +9 -9
- package/esm/types/2_inline_query.js +8 -8
- package/esm/types/2_reply_keyboard_markup.d.ts +1 -1
- package/esm/types/2_reply_keyboard_markup.js +2 -2
- package/esm/types/3_inline_keyboard_markup.d.ts +1 -1
- package/esm/types/3_message.d.ts +4 -4
- package/esm/types/3_message.js +64 -64
- package/esm/types/4_callback_query.js +6 -6
- package/esm/types/4_reply_markup.d.ts +1 -1
- package/esm/types/5_inline_query_result.d.ts +1 -2
- package/esm/types/5_inline_query_result.js +30 -30
- package/package.json +13 -12
- package/script/0_deps.d.ts +3 -3
- package/script/0_deps.js +3 -3
- package/script/2_tl.d.ts +3 -3
- package/script/2_tl.js +5 -15
- package/script/3_errors.d.ts +509 -509
- package/script/3_errors.js +509 -509
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +2 -2
- package/script/4_errors.d.ts +7 -7
- package/script/4_errors.js +6 -6
- package/script/_dnt.shims.js +0 -1
- package/script/client/0_password.d.ts +2 -2
- package/script/client/0_password.js +4 -4
- package/script/client/0_utilities.d.ts +3 -3
- package/script/client/0_utilities.js +1 -2
- package/script/client/2_client_plain.js +20 -20
- package/script/client/3_types.d.ts +4 -0
- package/script/client/4_composer.d.ts +5 -1
- package/script/client/4_composer.js +37 -13
- package/script/client/5_client.d.ts +24 -7
- package/script/client/5_client.js +380 -257
- package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +1 -1
- package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +1 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +3 -3
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +1 -1
- package/script/storage/0_storage.d.ts +5 -5
- package/script/storage/0_utilities.js +1 -1
- package/script/tl/1_tl_object.d.ts +4 -0
- package/script/tl/1_tl_object.js +14 -5
- package/script/tl/2_types.d.ts +11384 -6448
- package/script/tl/2_types.js +18030 -11825
- package/script/tl/3_functions.d.ts +6773 -2401
- package/script/tl/3_functions.js +10051 -3994
- package/script/tl/3_utilities.d.ts +2 -2
- package/script/tl/3_utilities.js +7 -30
- package/script/tl/6_message.d.ts +1 -1
- package/script/tl/6_message.js +4 -4
- package/script/types/0__file_id.js +4 -4
- package/script/types/0_audio.js +1 -1
- package/script/types/0_chat_administrator_rights.d.ts +3 -3
- package/script/types/0_chat_administrator_rights.js +20 -20
- package/script/types/0_chat_photo.js +8 -8
- package/script/types/0_contact.js +4 -4
- package/script/types/0_force_reply.d.ts +1 -1
- package/script/types/0_location.js +4 -4
- package/script/types/0_mask_position.d.ts +2 -2
- package/script/types/0_message_entity.d.ts +3 -3
- package/script/types/0_message_entity.js +8 -8
- package/script/types/0_poll_option.d.ts +2 -2
- package/script/types/0_reply_keyboard_remove.d.ts +1 -1
- package/script/types/0_restriction_reason.d.ts +2 -2
- package/script/types/0_thumbnail.js +3 -3
- package/script/types/0_venue.js +3 -3
- package/script/types/0_voice.js +1 -1
- package/script/types/1_animation.js +2 -2
- package/script/types/1_bot_command_scope.d.ts +1 -2
- package/script/types/1_bot_command_scope.js +1 -1
- package/script/types/1_chat.js +9 -9
- package/script/types/1_document.js +2 -2
- package/script/types/1_input_invoice_message_content.d.ts +1 -1
- package/script/types/1_keyboard_button.d.ts +3 -3
- package/script/types/1_keyboard_button.js +35 -35
- package/script/types/1_photo.js +1 -1
- package/script/types/1_poll.js +6 -6
- package/script/types/1_sticker.js +3 -3
- package/script/types/1_user.js +6 -6
- package/script/types/1_video.js +1 -1
- package/script/types/2_game.js +3 -3
- package/script/types/2_inline_keyboard_button.d.ts +3 -3
- package/script/types/2_inline_keyboard_button.js +9 -9
- package/script/types/2_inline_query.js +8 -8
- package/script/types/2_reply_keyboard_markup.d.ts +1 -1
- package/script/types/2_reply_keyboard_markup.js +2 -2
- package/script/types/3_inline_keyboard_markup.d.ts +1 -1
- package/script/types/3_message.d.ts +4 -4
- package/script/types/3_message.js +64 -64
- package/script/types/4_callback_query.js +6 -6
- package/script/types/4_reply_markup.d.ts +1 -1
- package/script/types/5_inline_query_result.d.ts +1 -2
- package/script/types/5_inline_query_result.js +30 -30
- package/esm/_dnt.test_shims.d.ts +0 -10
- package/esm/client/0_password_test.d.ts +0 -1
- package/esm/client/0_utilities_test.d.ts +0 -1
- package/esm/storage/0_utilities_test.d.ts +0 -1
- package/esm/tl/0_tl_raw_reader_test.d.ts +0 -1
- package/esm/tl/0_tl_raw_writer_test.d.ts +0 -1
- package/esm/tl/1_tl_object_test.d.ts +0 -1
- package/esm/tl/2_types_test.d.ts +0 -1
- package/esm/tl/3_deserialize_test.d.ts +0 -1
- package/esm/tl/3_functions_test.d.ts +0 -1
- package/esm/tl/6_message_test.d.ts +0 -1
- package/esm/utilities/0_base64_test.d.ts +0 -1
- package/esm/utilities/0_bigint_test.d.ts +0 -1
- package/esm/utilities/0_buffer_test.d.ts +0 -1
- package/esm/utilities/0_rle_test.d.ts +0 -1
- package/script/_dnt.test_shims.d.ts +0 -10
- package/script/client/0_password_test.d.ts +0 -1
- package/script/client/0_utilities_test.d.ts +0 -1
- package/script/storage/0_utilities_test.d.ts +0 -1
- package/script/tl/0_tl_raw_reader_test.d.ts +0 -1
- package/script/tl/0_tl_raw_writer_test.d.ts +0 -1
- package/script/tl/1_tl_object_test.d.ts +0 -1
- package/script/tl/2_types_test.d.ts +0 -1
- package/script/tl/3_deserialize_test.d.ts +0 -1
- package/script/tl/3_functions_test.d.ts +0 -1
- package/script/tl/6_message_test.d.ts +0 -1
- package/script/utilities/0_base64_test.d.ts +0 -1
- package/script/utilities/0_bigint_test.d.ts +0 -1
- package/script/utilities/0_buffer_test.d.ts +0 -1
- package/script/utilities/0_rle_test.d.ts +0 -1
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
- /package/esm/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +0 -0
- /package/esm/tl/{5_rpc_result.js → 4_rpc_result.js} +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +0 -0
- /package/script/tl/{5_rpc_result.js → 4_rpc_result.js} +0 -0
|
@@ -29,8 +29,8 @@ const _2_reply_keyboard_markup_js_1 = require("./2_reply_keyboard_markup.js");
|
|
|
29
29
|
const _3_inline_keyboard_markup_js_1 = require("./3_inline_keyboard_markup.js");
|
|
30
30
|
const d = (0, _0_deps_js_1.debug)("types/Message");
|
|
31
31
|
async function getSender(message_, getEntity) {
|
|
32
|
-
if (message_.
|
|
33
|
-
const entity = await getEntity(message_.
|
|
32
|
+
if (message_.from_id instanceof _2_tl_js_1.types.PeerUser) {
|
|
33
|
+
const entity = await getEntity(message_.from_id);
|
|
34
34
|
if (entity) {
|
|
35
35
|
return { from: (0, _1_user_js_1.constructUser)(entity) };
|
|
36
36
|
}
|
|
@@ -38,8 +38,8 @@ async function getSender(message_, getEntity) {
|
|
|
38
38
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
else if (message_.
|
|
42
|
-
const entity = await getEntity(message_.
|
|
41
|
+
else if (message_.from_id instanceof _2_tl_js_1.types.PeerChannel) {
|
|
42
|
+
const entity = await getEntity(message_.from_id);
|
|
43
43
|
if (entity) {
|
|
44
44
|
return { senderChat: (0, _1_chat_js_1.constructChat)(entity) };
|
|
45
45
|
}
|
|
@@ -49,20 +49,20 @@ async function getSender(message_, getEntity) {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
async function getReply(message_, chat, getMessage) {
|
|
52
|
-
if (getMessage && message_.
|
|
52
|
+
if (getMessage && message_.reply_to instanceof _2_tl_js_1.types.MessageReplyHeader && message_.reply_to.reply_to_msg_id) {
|
|
53
53
|
let isTopicMessage = false;
|
|
54
|
-
if (message_.
|
|
54
|
+
if (message_.reply_to.forum_topic) {
|
|
55
55
|
isTopicMessage = true;
|
|
56
56
|
}
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
59
|
-
return {
|
|
57
|
+
const reply_toMessage = await getMessage(chat.id, message_.reply_to.reply_to_msg_id);
|
|
58
|
+
if (reply_toMessage) {
|
|
59
|
+
return { reply_toMessage, threadId: message_.reply_to.reply_to_top_id, isTopicMessage };
|
|
60
60
|
}
|
|
61
61
|
else {
|
|
62
62
|
d("couldn't get replied message");
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
return {
|
|
65
|
+
return { reply_toMessage: undefined, threadId: undefined, isTopicMessage: undefined };
|
|
66
66
|
}
|
|
67
67
|
async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
68
68
|
const message = {
|
|
@@ -76,7 +76,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
76
76
|
if (message_.action instanceof _2_tl_js_1.types.MessageActionChatAddUser) {
|
|
77
77
|
message.newChatMembers = [];
|
|
78
78
|
for (const user_ of message_.action.users) {
|
|
79
|
-
const entity = await getEntity(new _2_tl_js_1.types.PeerUser({
|
|
79
|
+
const entity = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: user_ }));
|
|
80
80
|
if (entity) {
|
|
81
81
|
const user = (0, _1_user_js_1.constructUser)(entity);
|
|
82
82
|
message.newChatMembers.push(user);
|
|
@@ -87,7 +87,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionChatDeleteUser) {
|
|
90
|
-
const entity = await getEntity(new _2_tl_js_1.types.PeerUser({
|
|
90
|
+
const entity = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: message_.action.user_id }));
|
|
91
91
|
if (entity) {
|
|
92
92
|
const user = (0, _1_user_js_1.constructUser)(entity);
|
|
93
93
|
message.leftChatMember = user;
|
|
@@ -109,7 +109,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
109
109
|
message.groupCreated = true;
|
|
110
110
|
message.newChatMembers = [];
|
|
111
111
|
for (const user_ of message_.action.users) {
|
|
112
|
-
const entity = await getEntity(new _2_tl_js_1.types.PeerUser({
|
|
112
|
+
const entity = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: user_ }));
|
|
113
113
|
if (entity) {
|
|
114
114
|
const user = (0, _1_user_js_1.constructUser)(entity);
|
|
115
115
|
message.newChatMembers.push(user);
|
|
@@ -131,18 +131,18 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionChatMigrateTo) {
|
|
134
|
-
message.chatMigratedTo = _4_constants_js_1.ZERO_CHANNEL_ID + Number(-message_.action.
|
|
134
|
+
message.chatMigratedTo = _4_constants_js_1.ZERO_CHANNEL_ID + Number(-message_.action.channel_id);
|
|
135
135
|
}
|
|
136
136
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionChannelMigrateFrom) {
|
|
137
|
-
message.chatMigratedFrom = Number(-message_.action.
|
|
137
|
+
message.chatMigratedFrom = Number(-message_.action.chat_id);
|
|
138
138
|
}
|
|
139
139
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionPinMessage) {
|
|
140
|
-
const {
|
|
141
|
-
message.pinnedMessage =
|
|
140
|
+
const { reply_toMessage } = await getReply(message_, chat, getMessage);
|
|
141
|
+
message.pinnedMessage = reply_toMessage;
|
|
142
142
|
}
|
|
143
143
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionRequestedPeer) {
|
|
144
144
|
const user = message_.action.peer[_2_tl_js_1.as](_2_tl_js_1.types.PeerUser);
|
|
145
|
-
message.userShared = { requestId: message_.action.
|
|
145
|
+
message.userShared = { requestId: message_.action.button_id, userId: Number(user.user_id) };
|
|
146
146
|
}
|
|
147
147
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionBotAllowed) {
|
|
148
148
|
const webAppName = message_.action.app ? message_.action.app[_2_tl_js_1.as](_2_tl_js_1.types.BotApp).title : undefined;
|
|
@@ -151,18 +151,18 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
151
151
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionTopicCreate) {
|
|
152
152
|
message.forumTopicCreated = {
|
|
153
153
|
name: message_.action.title,
|
|
154
|
-
iconColor: "#" + message_.action.
|
|
155
|
-
iconCutsomEmojiId: message_.action.
|
|
154
|
+
iconColor: "#" + message_.action.icon_color.toString(16).padStart(6, "0"),
|
|
155
|
+
iconCutsomEmojiId: message_.action.icon_emoji_id ? String(message_.action.icon_emoji_id) : undefined,
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionTopicEdit) {
|
|
159
159
|
if (message_.action.closed) {
|
|
160
160
|
message.forumTopicClosed = {};
|
|
161
161
|
}
|
|
162
|
-
else if (message_.action.title || message_.action.
|
|
162
|
+
else if (message_.action.title || message_.action.icon_emoji_id) {
|
|
163
163
|
message.forumTopicEdited = {
|
|
164
164
|
name: message_.action.title,
|
|
165
|
-
iconCutsomEmojiId: message_.action.
|
|
165
|
+
iconCutsomEmojiId: message_.action.icon_emoji_id ? String(message_.action.icon_emoji_id) : undefined,
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
else {
|
|
@@ -170,7 +170,7 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionGroupCallScheduled) {
|
|
173
|
-
message.videoChatScheduled = { startDate: new Date(message_.action.
|
|
173
|
+
message.videoChatScheduled = { startDate: new Date(message_.action.schedule_date * 1000) };
|
|
174
174
|
}
|
|
175
175
|
else if (message_.action instanceof _2_tl_js_1.types.MessageActionGroupCall) {
|
|
176
176
|
if (message_.action.duration) {
|
|
@@ -191,8 +191,8 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
191
191
|
}
|
|
192
192
|
let link;
|
|
193
193
|
let chat_ = null;
|
|
194
|
-
if (message_.
|
|
195
|
-
const entity = await getEntity(message_.
|
|
194
|
+
if (message_.peer_id instanceof _2_tl_js_1.types.PeerUser) {
|
|
195
|
+
const entity = await getEntity(message_.peer_id);
|
|
196
196
|
if (entity) {
|
|
197
197
|
chat_ = (0, _1_chat_js_1.constructChat)(entity);
|
|
198
198
|
}
|
|
@@ -200,8 +200,8 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
200
200
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
else if (message_.
|
|
204
|
-
const entity = await getEntity(message_.
|
|
203
|
+
else if (message_.peer_id instanceof _2_tl_js_1.types.PeerChat) {
|
|
204
|
+
const entity = await getEntity(message_.peer_id);
|
|
205
205
|
if (entity) {
|
|
206
206
|
chat_ = (0, _1_chat_js_1.constructChat)(entity);
|
|
207
207
|
}
|
|
@@ -209,9 +209,9 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
209
209
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
else if (message_.
|
|
213
|
-
link = `https://t.me/c/${message_.
|
|
214
|
-
const entity = await getEntity(message_.
|
|
212
|
+
else if (message_.peer_id instanceof _2_tl_js_1.types.PeerChannel) {
|
|
213
|
+
link = `https://t.me/c/${message_.peer_id.channel_id}/${message_.id}`;
|
|
214
|
+
const entity = await getEntity(message_.peer_id);
|
|
215
215
|
if (entity) {
|
|
216
216
|
chat_ = (0, _1_chat_js_1.constructChat)(entity);
|
|
217
217
|
}
|
|
@@ -240,8 +240,8 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
240
240
|
if (message_.media instanceof _2_tl_js_1.types.MessageMediaPhoto || message_.media instanceof _2_tl_js_1.types.MessageMediaDocument) {
|
|
241
241
|
message.hasMediaSpoiler = message_.media.spoiler || false;
|
|
242
242
|
}
|
|
243
|
-
if (message_.
|
|
244
|
-
message.mediaGroupId = String(message_.
|
|
243
|
+
if (message_.grouped_id != undefined) {
|
|
244
|
+
message.mediaGroupId = String(message_.grouped_id);
|
|
245
245
|
}
|
|
246
246
|
if (message_.message) {
|
|
247
247
|
if (message_.media == undefined) {
|
|
@@ -259,28 +259,28 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
259
259
|
message.captionEntities = message_.entities.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v);
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
|
-
if (message_.
|
|
263
|
-
message.editDate = new Date(message_.
|
|
262
|
+
if (message_.edit_date != undefined) {
|
|
263
|
+
message.editDate = new Date(message_.edit_date * 1000);
|
|
264
264
|
}
|
|
265
|
-
if (message_.
|
|
266
|
-
if (message_.
|
|
267
|
-
message.replyMarkup = (0, _2_reply_keyboard_markup_js_1.constructReplyKeyboardMarkup)(message_.
|
|
265
|
+
if (message_.reply_markup) {
|
|
266
|
+
if (message_.reply_markup instanceof _2_tl_js_1.types.ReplyKeyboardMarkup) {
|
|
267
|
+
message.replyMarkup = (0, _2_reply_keyboard_markup_js_1.constructReplyKeyboardMarkup)(message_.reply_markup);
|
|
268
268
|
}
|
|
269
|
-
else if (message_.
|
|
270
|
-
message.replyMarkup = (0, _3_inline_keyboard_markup_js_1.constructInlineKeyboardMarkup)(message_.
|
|
269
|
+
else if (message_.reply_markup instanceof _2_tl_js_1.types.ReplyInlineMarkup) {
|
|
270
|
+
message.replyMarkup = (0, _3_inline_keyboard_markup_js_1.constructInlineKeyboardMarkup)(message_.reply_markup);
|
|
271
271
|
}
|
|
272
|
-
else if (message_.
|
|
273
|
-
message.replyMarkup = (0, _0_reply_keyboard_remove_js_1.constructReplyKeyboardRemove)(message_.
|
|
272
|
+
else if (message_.reply_markup instanceof _2_tl_js_1.types.ReplyKeyboardHide) {
|
|
273
|
+
message.replyMarkup = (0, _0_reply_keyboard_remove_js_1.constructReplyKeyboardRemove)(message_.reply_markup);
|
|
274
274
|
}
|
|
275
|
-
else if (message_.
|
|
276
|
-
message.replyMarkup = (0, _0_force_reply_js_1.constructForceReply)(message_.
|
|
275
|
+
else if (message_.reply_markup instanceof _2_tl_js_1.types.ReplyKeyboardForceReply) {
|
|
276
|
+
message.replyMarkup = (0, _0_force_reply_js_1.constructForceReply)(message_.reply_markup);
|
|
277
277
|
}
|
|
278
278
|
else {
|
|
279
279
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
if (message_.
|
|
283
|
-
const viaBot = await getEntity(new _2_tl_js_1.types.PeerUser({
|
|
282
|
+
if (message_.via_bot_id != undefined) {
|
|
283
|
+
const viaBot = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: message_.via_bot_id }));
|
|
284
284
|
if (viaBot) {
|
|
285
285
|
message.viaBot = (0, _1_user_js_1.constructUser)(viaBot);
|
|
286
286
|
}
|
|
@@ -288,17 +288,17 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
288
288
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
|
-
if (message_.
|
|
292
|
-
message.authorSignature = message_.
|
|
291
|
+
if (message_.post_author != undefined) {
|
|
292
|
+
message.authorSignature = message_.post_author;
|
|
293
293
|
}
|
|
294
|
-
if (message_.
|
|
295
|
-
message.isAutomaticForward = message_.
|
|
296
|
-
message.forwardSenderName = message_.
|
|
297
|
-
message.forwardId = message_.
|
|
298
|
-
message.forwardSignature = message_.
|
|
294
|
+
if (message_.fwd_from instanceof _2_tl_js_1.types.MessageFwdHeader) {
|
|
295
|
+
message.isAutomaticForward = message_.fwd_from.saved_from_peer != undefined && message_.fwd_from.saved_from_msg_id != undefined;
|
|
296
|
+
message.forwardSenderName = message_.fwd_from.from_name;
|
|
297
|
+
message.forwardId = message_.fwd_from.channel_post;
|
|
298
|
+
message.forwardSignature = message_.fwd_from.post_author;
|
|
299
299
|
message.forwardDate = new Date(message_.date * 1000);
|
|
300
|
-
if (message_.
|
|
301
|
-
const entity = await getEntity(message_.
|
|
300
|
+
if (message_.fwd_from.from_id instanceof _2_tl_js_1.types.PeerUser) {
|
|
301
|
+
const entity = await getEntity(message_.fwd_from.from_id);
|
|
302
302
|
if (entity) {
|
|
303
303
|
message.forwardFrom = (0, _1_user_js_1.constructUser)(entity);
|
|
304
304
|
}
|
|
@@ -306,8 +306,8 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
306
306
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
else if (message_.
|
|
310
|
-
const entity = await getEntity(message_.
|
|
309
|
+
else if (message_.fwd_from.from_id instanceof _2_tl_js_1.types.PeerChat) {
|
|
310
|
+
const entity = await getEntity(message_.fwd_from.from_id);
|
|
311
311
|
if (entity) {
|
|
312
312
|
message.forwardFromChat = (0, _1_chat_js_1.constructChat)(entity);
|
|
313
313
|
}
|
|
@@ -315,8 +315,8 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
315
315
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
else if (message_.
|
|
319
|
-
const entity = await getEntity(message_.
|
|
318
|
+
else if (message_.fwd_from.from_id instanceof _2_tl_js_1.types.PeerChannel) {
|
|
319
|
+
const entity = await getEntity(message_.fwd_from.from_id);
|
|
320
320
|
if (entity) {
|
|
321
321
|
message.forwardFromChat = (0, _1_chat_js_1.constructChat)(entity);
|
|
322
322
|
}
|
|
@@ -337,10 +337,10 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
337
337
|
else if (message_.media instanceof _2_tl_js_1.types.MessageMediaDocument) {
|
|
338
338
|
const { document } = message_.media;
|
|
339
339
|
if (document instanceof _2_tl_js_1.types.Document) {
|
|
340
|
-
const getFileId = (type) => new _0__file_id_js_1.FileID(null, null, type, document.
|
|
340
|
+
const getFileId = (type) => new _0__file_id_js_1.FileID(null, null, type, document.dc_id, {
|
|
341
341
|
mediaId: document.id,
|
|
342
|
-
accessHash: document.
|
|
343
|
-
fileReference: document.
|
|
342
|
+
accessHash: document.access_hash,
|
|
343
|
+
fileReference: document.file_reference,
|
|
344
344
|
}).encode();
|
|
345
345
|
const fileUniqueId = new _0__file_id_js_1.FileUniqueID(_0__file_id_js_1.FileUniqueType.Document, { mediaId: document.id }).encode();
|
|
346
346
|
const animated = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeAnimated);
|
|
@@ -352,11 +352,11 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
352
352
|
message.animation = (0, _1_animation_js_1.constructAnimation)(document, video, fileName, getFileId(_0__file_id_js_1.FileType.Animation), fileUniqueId);
|
|
353
353
|
}
|
|
354
354
|
else if (video) {
|
|
355
|
-
if (video.
|
|
355
|
+
if (video.round_message) {
|
|
356
356
|
message.videoNote = (0, _1_video_note_js_1.constructVideoNote)(document, video, getFileId(_0__file_id_js_1.FileType.VideoNote), fileUniqueId);
|
|
357
357
|
}
|
|
358
358
|
else {
|
|
359
|
-
message.video = (0, _1_video_js_1.constructVideo)(document, video, fileName?.
|
|
359
|
+
message.video = (0, _1_video_js_1.constructVideo)(document, video, fileName?.file_name, getFileId(_0__file_id_js_1.FileType.Video), fileUniqueId);
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
else if (audio) {
|
|
@@ -374,7 +374,7 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
|
|
|
374
374
|
message.document = (0, _1_document_js_1.constructDocument)(document, fileName, getFileId(_0__file_id_js_1.FileType.Document), fileUniqueId);
|
|
375
375
|
}
|
|
376
376
|
else {
|
|
377
|
-
message.document = (0, _1_document_js_1.constructDocument)(document, new _2_tl_js_1.types.DocumentAttributeFilename({
|
|
377
|
+
message.document = (0, _1_document_js_1.constructDocument)(document, new _2_tl_js_1.types.DocumentAttributeFilename({ file_name: "Unknown" }), getFileId(_0__file_id_js_1.FileType.Document), fileUniqueId);
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
}
|
|
@@ -5,24 +5,24 @@ const _1_utilities_js_1 = require("../1_utilities.js");
|
|
|
5
5
|
const _2_tl_js_1 = require("../2_tl.js");
|
|
6
6
|
const _1_user_js_1 = require("./1_user.js");
|
|
7
7
|
async function constructCallbackQuery(callbackQuery, getEntity, getMessage) {
|
|
8
|
-
const user_ = await getEntity(new _2_tl_js_1.types.PeerUser({
|
|
8
|
+
const user_ = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: callbackQuery.user_id }));
|
|
9
9
|
if (!user_) {
|
|
10
10
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
11
11
|
}
|
|
12
12
|
const user = (0, _1_user_js_1.constructUser)(user_);
|
|
13
|
-
const id = String(callbackQuery.
|
|
14
|
-
const gameShortName = callbackQuery.
|
|
13
|
+
const id = String(callbackQuery.query_id);
|
|
14
|
+
const gameShortName = callbackQuery.game_short_name;
|
|
15
15
|
const data = callbackQuery.data !== undefined ? new TextDecoder().decode(callbackQuery.data) : undefined;
|
|
16
|
-
const chatInstance = callbackQuery.
|
|
16
|
+
const chatInstance = callbackQuery.chat_instance == 0n ? "" : String(callbackQuery.chat_instance);
|
|
17
17
|
if (callbackQuery instanceof _2_tl_js_1.types.UpdateBotCallbackQuery) {
|
|
18
|
-
const message = await getMessage((0, _2_tl_js_1.peerToChatId)(callbackQuery.peer), Number(callbackQuery.
|
|
18
|
+
const message = await getMessage((0, _2_tl_js_1.peerToChatId)(callbackQuery.peer), Number(callbackQuery.msg_id));
|
|
19
19
|
if (message == null) {
|
|
20
20
|
(0, _1_utilities_js_1.UNREACHABLE)();
|
|
21
21
|
}
|
|
22
22
|
return (0, _1_utilities_js_1.cleanObject)({ id, from: user, message, chatInstance, data, gameShortName });
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
|
-
return (0, _1_utilities_js_1.cleanObject)({ id, from: user, inlineMessageId: Number(callbackQuery.
|
|
25
|
+
return (0, _1_utilities_js_1.cleanObject)({ id, from: user, inlineMessageId: Number(callbackQuery.msg_id.id), chatInstance, data, gameShortName });
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
exports.constructCallbackQuery = constructCallbackQuery;
|
|
@@ -4,4 +4,4 @@ import { UsernameResolver } from "./1__getters.js";
|
|
|
4
4
|
import { ReplyKeyboardMarkup } from "./2_reply_keyboard_markup.js";
|
|
5
5
|
import { InlineKeyboardMarkup } from "./3_inline_keyboard_markup.js";
|
|
6
6
|
export type ReplyMarkup = InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
7
|
-
export declare function replyMarkupToTlObject(replyMarkup: ReplyMarkup, usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").
|
|
7
|
+
export declare function replyMarkupToTlObject(replyMarkup: ReplyMarkup, usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").ReplyKeyboardHide_ | import("../tl/2_types.js").ReplyKeyboardForceReply_ | import("../tl/2_types.js").ReplyKeyboardMarkup_ | import("../tl/2_types.js").ReplyInlineMarkup_>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { types } from "../2_tl.js";
|
|
2
1
|
import { MessageEntity } from "./0_message_entity.js";
|
|
3
2
|
import { ParseMode } from "./0_parse_mode.js";
|
|
4
3
|
import { UsernameResolver } from "./1__getters.js";
|
|
@@ -26,4 +25,4 @@ export type InlineQueryResult = InlineQueryResultCachedAudio | InlineQueryResult
|
|
|
26
25
|
export declare function inlineQueryResultToTlObject(result_: InlineQueryResult, parseText: (text: string, params?: {
|
|
27
26
|
parseMode?: ParseMode;
|
|
28
27
|
entities?: MessageEntity[];
|
|
29
|
-
}) => readonly [string, any[] | undefined], usernameResolver: UsernameResolver): Promise<
|
|
28
|
+
}) => readonly [string, any[] | undefined], usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").InputBotInlineResult_ | import("../tl/2_types.js").InputBotInlineResultDocument_>;
|
|
@@ -16,7 +16,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
16
16
|
document = new _2_tl_js_1.types.InputWebDocument({
|
|
17
17
|
url: result_.audioUrl,
|
|
18
18
|
size: 0,
|
|
19
|
-
|
|
19
|
+
mime_type: "audio/mpeg",
|
|
20
20
|
attributes: [
|
|
21
21
|
new _2_tl_js_1.types.DocumentAttributeAudio({
|
|
22
22
|
duration: result_.audioDuration ?? 0,
|
|
@@ -35,7 +35,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
35
35
|
document = new _2_tl_js_1.types.InputWebDocument({
|
|
36
36
|
url: result_.videoUrl,
|
|
37
37
|
size: 0,
|
|
38
|
-
|
|
38
|
+
mime_type: result_.mimeType ?? "video/mp4",
|
|
39
39
|
attributes: [
|
|
40
40
|
new _2_tl_js_1.types.DocumentAttributeVideo({
|
|
41
41
|
duration: result_.videoDuration ?? 0,
|
|
@@ -53,7 +53,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
53
53
|
if ("documentUrl" in result_) {
|
|
54
54
|
document = new _2_tl_js_1.types.InputWebDocument({
|
|
55
55
|
url: result_.documentUrl,
|
|
56
|
-
|
|
56
|
+
mime_type: "application/octet-stream",
|
|
57
57
|
attributes: [],
|
|
58
58
|
size: 0,
|
|
59
59
|
});
|
|
@@ -67,7 +67,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
67
67
|
document = new _2_tl_js_1.types.InputWebDocument({
|
|
68
68
|
url: result_.gifUrl,
|
|
69
69
|
size: 0,
|
|
70
|
-
|
|
70
|
+
mime_type: "image/gif",
|
|
71
71
|
attributes: [
|
|
72
72
|
new _2_tl_js_1.types.DocumentAttributeVideo({
|
|
73
73
|
duration: result_.gifDuration ?? 0,
|
|
@@ -86,14 +86,14 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
86
86
|
document = new _2_tl_js_1.types.InputWebDocument({
|
|
87
87
|
url: result_.mpeg4Url,
|
|
88
88
|
size: 0,
|
|
89
|
-
|
|
89
|
+
mime_type: "video/mp4",
|
|
90
90
|
attributes: [
|
|
91
91
|
new _2_tl_js_1.types.DocumentAttributeVideo({
|
|
92
92
|
nosound: true,
|
|
93
93
|
duration: result_.mpeg4Duration ?? 0,
|
|
94
94
|
w: result_.mpeg4Width ?? 0,
|
|
95
95
|
h: result_.mpeg4Height ?? 0,
|
|
96
|
-
|
|
96
|
+
supports_streaming: true,
|
|
97
97
|
}),
|
|
98
98
|
],
|
|
99
99
|
});
|
|
@@ -107,7 +107,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
107
107
|
document = new _2_tl_js_1.types.InputWebDocument({
|
|
108
108
|
url: result_.photoUrl,
|
|
109
109
|
size: 0,
|
|
110
|
-
|
|
110
|
+
mime_type: "image/jpeg",
|
|
111
111
|
attributes: [new _2_tl_js_1.types.DocumentAttributeImageSize({ w: result_.photoWidth ?? 0, h: result_.photoHeight ?? 0 })],
|
|
112
112
|
});
|
|
113
113
|
}
|
|
@@ -123,7 +123,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
123
123
|
document = new _2_tl_js_1.types.InputWebDocument({
|
|
124
124
|
url: result_.voiceUrl,
|
|
125
125
|
size: 0,
|
|
126
|
-
|
|
126
|
+
mime_type: "audio/mpeg",
|
|
127
127
|
attributes: [
|
|
128
128
|
new _2_tl_js_1.types.DocumentAttributeAudio({
|
|
129
129
|
duration: result_.voiceDuration ?? 0,
|
|
@@ -142,7 +142,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
142
142
|
thumb = new _2_tl_js_1.types.InputWebDocument({
|
|
143
143
|
url: result_.thumbnailUrl,
|
|
144
144
|
size: 0,
|
|
145
|
-
|
|
145
|
+
mime_type: "image/jpeg",
|
|
146
146
|
attributes: [],
|
|
147
147
|
});
|
|
148
148
|
}
|
|
@@ -158,7 +158,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
158
158
|
const sendMessage = new _2_tl_js_1.types.InputBotInlineMessageMediaAuto({
|
|
159
159
|
message,
|
|
160
160
|
entities,
|
|
161
|
-
replyMarkup,
|
|
161
|
+
reply_markup: replyMarkup,
|
|
162
162
|
});
|
|
163
163
|
const title = "title" in result_ ? result_.title : undefined;
|
|
164
164
|
const description = "description" in result_ ? result_.description : undefined;
|
|
@@ -170,10 +170,10 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
170
170
|
description,
|
|
171
171
|
thumb: thumb == null ? undefined : thumb,
|
|
172
172
|
content: document,
|
|
173
|
-
|
|
173
|
+
send_message: new _2_tl_js_1.types.InputBotInlineMessageMediaAuto({
|
|
174
174
|
message,
|
|
175
175
|
entities,
|
|
176
|
-
replyMarkup,
|
|
176
|
+
reply_markup: replyMarkup,
|
|
177
177
|
}),
|
|
178
178
|
});
|
|
179
179
|
}
|
|
@@ -186,10 +186,10 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
186
186
|
description,
|
|
187
187
|
document: new _2_tl_js_1.types.InputDocument({
|
|
188
188
|
id: fileId.params.mediaId,
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
access_hash: fileId.params.accessHash,
|
|
190
|
+
file_reference: fileId.params.fileReference,
|
|
191
191
|
}),
|
|
192
|
-
sendMessage,
|
|
192
|
+
send_message: sendMessage,
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
195
|
else if (result_.type == "location") {
|
|
@@ -198,16 +198,16 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
198
198
|
type,
|
|
199
199
|
title,
|
|
200
200
|
description,
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
send_message: new _2_tl_js_1.types.InputBotInlineMessageMediaGeo({
|
|
202
|
+
geo_point: new _2_tl_js_1.types.InputGeoPoint({
|
|
203
203
|
lat: result_.latitude,
|
|
204
204
|
long: result_.longitude,
|
|
205
|
-
|
|
205
|
+
accuracy_radius: result_.horizontalAccuracy,
|
|
206
206
|
}),
|
|
207
207
|
heading: result_.heading,
|
|
208
208
|
period: result_.livePeriod,
|
|
209
|
-
|
|
210
|
-
replyMarkup,
|
|
209
|
+
proximity_notification_radius: result_.proximityAlertRadius,
|
|
210
|
+
reply_markup: replyMarkup,
|
|
211
211
|
}),
|
|
212
212
|
});
|
|
213
213
|
}
|
|
@@ -217,8 +217,8 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
217
217
|
type,
|
|
218
218
|
title,
|
|
219
219
|
description,
|
|
220
|
-
|
|
221
|
-
replyMarkup,
|
|
220
|
+
send_message: new _2_tl_js_1.types.InputBotInlineMessageGame({
|
|
221
|
+
reply_markup: replyMarkup,
|
|
222
222
|
}),
|
|
223
223
|
});
|
|
224
224
|
}
|
|
@@ -232,11 +232,11 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
232
232
|
type,
|
|
233
233
|
title,
|
|
234
234
|
description,
|
|
235
|
-
|
|
235
|
+
send_message: new _2_tl_js_1.types.InputBotInlineMessageText({
|
|
236
236
|
message,
|
|
237
237
|
entities,
|
|
238
|
-
|
|
239
|
-
replyMarkup,
|
|
238
|
+
no_webpage: result_.inputMessageContent.disableWebPagePreview ? true : undefined,
|
|
239
|
+
reply_markup: replyMarkup,
|
|
240
240
|
}),
|
|
241
241
|
});
|
|
242
242
|
}
|
|
@@ -249,14 +249,14 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
|
|
|
249
249
|
type,
|
|
250
250
|
title,
|
|
251
251
|
description,
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
send_message: new _2_tl_js_1.types.InputBotInlineMessageMediaVenue({
|
|
253
|
+
geo_point: new _2_tl_js_1.types.InputGeoPoint({ long: result_.longitude, lat: result_.latitude }),
|
|
254
254
|
address: result_.address,
|
|
255
255
|
provider: "foursquare",
|
|
256
256
|
title: result_.title,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
replyMarkup,
|
|
257
|
+
venue_id: result_.fourSquareId,
|
|
258
|
+
venue_type: result_.foursquareType,
|
|
259
|
+
reply_markup: replyMarkup,
|
|
260
260
|
}),
|
|
261
261
|
});
|
|
262
262
|
}
|
package/esm/_dnt.test_shims.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Deno } from "@deno/shim-deno";
|
|
2
|
-
export { Deno } from "@deno/shim-deno";
|
|
3
|
-
export { crypto, type Crypto, type SubtleCrypto, type AlgorithmIdentifier, type Algorithm, type RsaOaepParams, type BufferSource, type AesCtrParams, type AesCbcParams, type AesGcmParams, type CryptoKey, type KeyAlgorithm, type KeyType, type KeyUsage, type EcdhKeyDeriveParams, type HkdfParams, type HashAlgorithmIdentifier, type Pbkdf2Params, type AesDerivedKeyParams, type HmacImportParams, type JsonWebKey, type RsaOtherPrimesInfo, type KeyFormat, type RsaHashedKeyGenParams, type RsaKeyGenParams, type BigInteger, type EcKeyGenParams, type NamedCurve, type CryptoKeyPair, type AesKeyGenParams, type HmacKeyGenParams, type RsaHashedImportParams, type EcKeyImportParams, type AesKeyAlgorithm, type RsaPssParams, type EcdsaParams } from "@deno/shim-crypto";
|
|
4
|
-
import { default as WebSocket } from "ws";
|
|
5
|
-
export { default as WebSocket } from "ws";
|
|
6
|
-
export declare const dntGlobalThis: Omit<typeof globalThis, "WebSocket" | "crypto" | "Deno"> & {
|
|
7
|
-
Deno: typeof Deno;
|
|
8
|
-
crypto: import("@deno/shim-crypto").Crypto;
|
|
9
|
-
WebSocket: typeof WebSocket;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/esm/tl/2_types_test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Deno } from "@deno/shim-deno";
|
|
2
|
-
export { Deno } from "@deno/shim-deno";
|
|
3
|
-
export { crypto, type Crypto, type SubtleCrypto, type AlgorithmIdentifier, type Algorithm, type RsaOaepParams, type BufferSource, type AesCtrParams, type AesCbcParams, type AesGcmParams, type CryptoKey, type KeyAlgorithm, type KeyType, type KeyUsage, type EcdhKeyDeriveParams, type HkdfParams, type HashAlgorithmIdentifier, type Pbkdf2Params, type AesDerivedKeyParams, type HmacImportParams, type JsonWebKey, type RsaOtherPrimesInfo, type KeyFormat, type RsaHashedKeyGenParams, type RsaKeyGenParams, type BigInteger, type EcKeyGenParams, type NamedCurve, type CryptoKeyPair, type AesKeyGenParams, type HmacKeyGenParams, type RsaHashedImportParams, type EcKeyImportParams, type AesKeyAlgorithm, type RsaPssParams, type EcdsaParams } from "@deno/shim-crypto";
|
|
4
|
-
import { default as WebSocket } from "ws";
|
|
5
|
-
export { default as WebSocket } from "ws";
|
|
6
|
-
export declare const dntGlobalThis: Omit<typeof globalThis, "WebSocket" | "crypto" | "Deno"> & {
|
|
7
|
-
Deno: typeof Deno;
|
|
8
|
-
crypto: import("@deno/shim-crypto").Crypto;
|
|
9
|
-
WebSocket: typeof WebSocket;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|