@mtkruto/node 0.1.147 → 0.1.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/0_deps.d.ts +4 -4
- package/esm/0_deps.js +5 -5
- package/esm/1_utilities.d.ts +1 -0
- package/esm/1_utilities.js +1 -0
- package/esm/3_types.d.ts +2 -2
- package/esm/3_types.js +2 -2
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_types.d.ts +1 -0
- package/esm/client/1_file_manager.js +2 -1
- package/esm/client/1_reaction_manager.js +3 -3
- package/esm/client/1_update_manager.js +10 -10
- package/esm/client/2_message_manager.d.ts +2 -0
- package/esm/client/2_message_manager.js +42 -31
- package/esm/client/3_chat_list_manager.js +1 -1
- package/esm/client/4_client.d.ts +21 -0
- package/esm/client/4_client.js +89 -40
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.js +3 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.js +2 -2
- package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/fmt/colors.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/fmt/colors.js +3 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.d.ts +10 -8
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.js +4 -4
- package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/media_types/extension.d.ts +3 -3
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extension.js +3 -3
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.js +1 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.d.ts +3 -3
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.js +3 -3
- package/esm/deps/deno.land/std@0.214.0/media_types/parse_media_type.d.ts +23 -0
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/parse_media_type.js +7 -21
- package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/media_types/type_by_extension.d.ts +2 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/type_by_extension.js +2 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.d.ts +1 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/constants.d.ts +3 -0
- package/esm/deps/deno.land/std@0.214.0/path/constants.js +6 -0
- package/esm/deps/deno.land/std@0.214.0/path/mod.d.ts +65 -0
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/mod.js +10 -5
- package/{script/deps/deno.land/std@0.212.0/path → esm/deps/deno.land/std@0.214.0/path/posix}/common.d.ts +1 -2
- package/esm/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/common.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/posix/constants.d.ts +3 -0
- package/esm/deps/deno.land/{std@0.212.0/path/posix/separator.js → std@0.214.0/path/posix/constants.js} +3 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.js +2 -2
- package/{script/deps/deno.land/std@0.212.0 → esm/deps/deno.land/std@0.214.0}/path/posix/mod.d.ts +8 -1
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/mod.js +8 -1
- package/esm/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/normalize_glob.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +8 -0
- package/esm/deps/deno.land/std@0.214.0/path/posix/separator.js +10 -0
- package/esm/deps/deno.land/std@0.214.0/path/separator.d.ts +8 -0
- package/esm/deps/deno.land/std@0.214.0/path/separator.js +11 -0
- package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/common.d.ts +1 -2
- package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/common.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/windows/constants.d.ts +3 -0
- package/esm/deps/deno.land/std@0.214.0/path/windows/constants.js +5 -0
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.js +2 -2
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.d.ts +7 -0
- package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.js +7 -0
- package/esm/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/normalize_glob.js +2 -2
- package/esm/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +8 -0
- package/esm/deps/deno.land/std@0.214.0/path/windows/separator.js +10 -0
- package/esm/storage/0_storage.d.ts +63 -11
- package/esm/storage/0_storage.js +159 -88
- package/esm/storage/1_storage_memory.d.ts +4 -1
- package/esm/storage/1_storage_memory.js +29 -9
- package/esm/tl/3_utilities.d.ts +5 -2
- package/esm/tl/3_utilities.js +32 -6
- package/esm/types/0_giveaway_parameters.d.ts +1 -0
- package/esm/types/0_login_url.d.ts +1 -0
- package/esm/types/0_mask_position.d.ts +1 -0
- package/esm/types/0_message_reference.d.ts +5 -0
- package/esm/types/0_poll_option.d.ts +1 -0
- package/esm/types/0_price_tag.d.ts +5 -0
- package/esm/types/0_restriction_reason.d.ts +1 -0
- package/esm/types/1_giveaway.d.ts +1 -0
- package/esm/types/1_inline_query_result_button.d.ts +1 -0
- package/esm/types/1_input_message_content.d.ts +2 -2
- package/esm/types/1_poll.d.ts +1 -0
- package/esm/types/1_reaction_count.d.ts +1 -0
- package/esm/types/1_reply_quote.d.ts +1 -0
- package/esm/types/1_sticker.d.ts +1 -0
- package/esm/types/2_chat_member.d.ts +1 -0
- package/esm/types/2_chosen_inline_result.d.ts +1 -0
- package/esm/types/2_game.d.ts +1 -0
- package/esm/types/2_message_interactions.d.ts +1 -0
- package/esm/types/2_message_reactions.d.ts +1 -0
- package/esm/types/3_chat_member_updated.d.ts +1 -0
- package/esm/types/3_reply_markup.d.ts +1 -0
- package/esm/types/4_inline_query_result.d.ts +1 -1
- package/esm/types/4_message.d.ts +1 -0
- package/esm/types/5_callback_query.d.ts +1 -0
- package/esm/types/5_callback_query.js +17 -2
- package/esm/types/6_update.d.ts +2 -2
- package/esm/utilities/0_cache_map.d.ts +6 -0
- package/esm/utilities/0_cache_map.js +30 -0
- package/package.json +1 -1
- package/script/0_deps.d.ts +4 -4
- package/script/0_deps.js +5 -5
- package/script/1_utilities.d.ts +1 -0
- package/script/1_utilities.js +1 -0
- package/script/3_types.d.ts +2 -2
- package/script/3_types.js +2 -2
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_types.d.ts +1 -0
- package/script/client/1_file_manager.js +2 -1
- package/script/client/1_reaction_manager.js +3 -3
- package/script/client/1_update_manager.js +10 -10
- package/script/client/2_message_manager.d.ts +2 -0
- package/script/client/2_message_manager.js +41 -30
- package/script/client/3_chat_list_manager.js +1 -1
- package/script/client/4_client.d.ts +21 -0
- package/script/client/4_client.js +88 -39
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.js +4 -3
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.js +2 -2
- package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/fmt/colors.d.ts +1 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/fmt/colors.js +4 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.d.ts +10 -8
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/content_type.js +4 -4
- package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/media_types/extension.d.ts +3 -3
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extension.js +3 -3
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.d.ts +1 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/format_media_type.js +1 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.d.ts +3 -3
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/get_charset.js +3 -3
- package/script/deps/deno.land/std@0.214.0/media_types/parse_media_type.d.ts +23 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/parse_media_type.js +7 -21
- package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/media_types/type_by_extension.d.ts +2 -2
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/type_by_extension.js +2 -2
- package/{esm/deps/deno.land/std@0.212.0/path/windows → script/deps/deno.land/std@0.214.0/path}/common.d.ts +1 -2
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/common.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/constants.d.ts +3 -0
- package/script/deps/deno.land/std@0.214.0/path/constants.js +9 -0
- package/script/deps/deno.land/std@0.214.0/path/mod.d.ts +65 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/mod.js +10 -5
- package/script/deps/deno.land/std@0.214.0/path/posix/common.d.ts +13 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/common.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/posix/constants.d.ts +3 -0
- package/script/deps/deno.land/{std@0.212.0/path/posix/separator.js → std@0.214.0/path/posix/constants.js} +4 -3
- package/script/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/join_globs.js +2 -2
- package/{esm/deps/deno.land/std@0.212.0 → script/deps/deno.land/std@0.214.0}/path/posix/mod.d.ts +8 -1
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/mod.js +8 -1
- package/script/deps/deno.land/{std@0.212.0/path/windows → std@0.214.0/path/posix}/normalize_glob.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +8 -0
- package/script/deps/deno.land/std@0.214.0/path/posix/separator.js +13 -0
- package/script/deps/deno.land/std@0.214.0/path/separator.d.ts +8 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/separator.js +6 -0
- package/script/deps/deno.land/std@0.214.0/path/windows/common.d.ts +13 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/common.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/windows/constants.d.ts +3 -0
- package/script/deps/deno.land/{std@0.212.0/path/windows/separator.js → std@0.214.0/path/windows/constants.js} +4 -3
- package/script/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/join_globs.js +2 -2
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.d.ts +7 -0
- package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/mod.js +7 -0
- package/script/deps/deno.land/{std@0.212.0/path/posix → std@0.214.0/path/windows}/normalize_glob.js +2 -2
- package/script/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +8 -0
- package/script/deps/deno.land/std@0.214.0/path/windows/separator.js +13 -0
- package/script/storage/0_storage.d.ts +63 -11
- package/script/storage/0_storage.js +159 -88
- package/script/storage/1_storage_memory.d.ts +4 -1
- package/script/storage/1_storage_memory.js +29 -9
- package/script/tl/3_utilities.d.ts +5 -2
- package/script/tl/3_utilities.js +35 -7
- package/script/types/0_giveaway_parameters.d.ts +1 -0
- package/script/types/0_login_url.d.ts +1 -0
- package/script/types/0_mask_position.d.ts +1 -0
- package/script/types/0_message_reference.d.ts +5 -0
- package/script/types/0_poll_option.d.ts +1 -0
- package/script/types/0_price_tag.d.ts +5 -0
- package/script/types/0_restriction_reason.d.ts +1 -0
- package/script/types/1_giveaway.d.ts +1 -0
- package/script/types/1_inline_query_result_button.d.ts +1 -0
- package/script/types/1_input_message_content.d.ts +2 -2
- package/script/types/1_poll.d.ts +1 -0
- package/script/types/1_reaction_count.d.ts +1 -0
- package/script/types/1_reply_quote.d.ts +1 -0
- package/script/types/1_sticker.d.ts +1 -0
- package/script/types/2_chat_member.d.ts +1 -0
- package/script/types/2_chosen_inline_result.d.ts +1 -0
- package/script/types/2_game.d.ts +1 -0
- package/script/types/2_message_interactions.d.ts +1 -0
- package/script/types/2_message_reactions.d.ts +1 -0
- package/script/types/3_chat_member_updated.d.ts +1 -0
- package/script/types/3_reply_markup.d.ts +1 -0
- package/script/types/4_inline_query_result.d.ts +1 -1
- package/script/types/4_message.d.ts +1 -0
- package/script/types/5_callback_query.d.ts +1 -0
- package/script/types/5_callback_query.js +17 -1
- package/script/types/6_update.d.ts +2 -2
- package/script/utilities/0_cache_map.d.ts +6 -0
- package/script/utilities/0_cache_map.js +34 -0
- package/esm/deps/deno.land/std@0.212.0/media_types/parse_media_type.d.ts +0 -37
- package/esm/deps/deno.land/std@0.212.0/path/mod.d.ts +0 -28
- package/esm/deps/deno.land/std@0.212.0/path/posix/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.212.0/path/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.212.0/path/separator.js +0 -5
- package/esm/deps/deno.land/std@0.212.0/path/windows/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.212.0/path/windows/separator.js +0 -4
- package/esm/types/0_labeled_price.d.ts +0 -4
- package/esm/types/0_message_identifier.d.ts +0 -4
- package/script/deps/deno.land/std@0.212.0/media_types/parse_media_type.d.ts +0 -37
- package/script/deps/deno.land/std@0.212.0/path/mod.d.ts +0 -28
- package/script/deps/deno.land/std@0.212.0/path/posix/common.d.ts +0 -14
- package/script/deps/deno.land/std@0.212.0/path/posix/separator.d.ts +0 -2
- package/script/deps/deno.land/std@0.212.0/path/separator.d.ts +0 -2
- package/script/deps/deno.land/std@0.212.0/path/windows/common.d.ts +0 -14
- package/script/deps/deno.land/std@0.212.0/path/windows/separator.d.ts +0 -2
- package/script/types/0_labeled_price.d.ts +0 -4
- package/script/types/0_message_identifier.d.ts +0 -4
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.js +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.js +0 -0
- /package/esm/types/{0_labeled_price.js → 0_message_reference.js} +0 -0
- /package/esm/types/{0_message_identifier.js → 0_price_tag.js} +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_constants.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_diff.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/_format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_almost_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_array_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_exists.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_false.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_greater_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_is_error.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_less_or_equal.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_match.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_instance_of.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_match.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_not_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_object_match.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_rejects.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_strict_equals.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_string_includes.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assert_throws.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/assertion_error.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/equal.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/fail.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/mod.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unimplemented.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/assert/unreachable.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/encoding/base64.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_db.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/extensions_by_type.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/assert_path.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/common.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/constants.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/glob_to_reg_exp.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/normalize_string.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_common/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_interface.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/_os.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/join_globs.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/normalize_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/posix/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/to_namespaced_path.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/_util.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/basename.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/dirname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/extname.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/format.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/from_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/glob_to_regexp.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_absolute.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/is_glob.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/join_globs.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/normalize_glob.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/parse.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/relative.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/resolve.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_file_url.js +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.d.ts +0 -0
- /package/script/deps/deno.land/{std@0.212.0 → std@0.214.0}/path/windows/to_namespaced_path.js +0 -0
- /package/script/types/{0_labeled_price.js → 0_message_reference.js} +0 -0
- /package/script/types/{0_message_identifier.js → 0_price_tag.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LabeledPrice } from "./0_labeled_price.js";
|
|
2
1
|
import { MessageEntity } from "./0_message_entity.js";
|
|
3
2
|
import { ParseMode } from "./0_parse_mode.js";
|
|
3
|
+
import { PriceTag } from "./0_price_tag.js";
|
|
4
4
|
/**
|
|
5
5
|
* A message content that shares a contact.
|
|
6
6
|
* @unlisted
|
|
@@ -69,7 +69,7 @@ export interface InputMessageContentInvoice {
|
|
|
69
69
|
payload: string;
|
|
70
70
|
providerToken: string;
|
|
71
71
|
currency: string;
|
|
72
|
-
prices:
|
|
72
|
+
prices: PriceTag[];
|
|
73
73
|
maxTipAmount?: number;
|
|
74
74
|
suggestedTipAmounts?: number[];
|
|
75
75
|
providerData?: string;
|
package/esm/types/1_poll.d.ts
CHANGED
package/esm/types/1_sticker.d.ts
CHANGED
|
@@ -35,5 +35,6 @@ export interface Sticker {
|
|
|
35
35
|
/** File size in bytes */
|
|
36
36
|
fileSize?: number;
|
|
37
37
|
}
|
|
38
|
+
/** @unlisted */
|
|
38
39
|
export type StickerSetNameGetter = (inputStickerSet: types.InputStickerSetID) => MaybePromise<string>;
|
|
39
40
|
export declare function constructSticker(document: types.Document, fileId: string, fileUniqueId: string, getStickerSetName: StickerSetNameGetter): Promise<Sticker>;
|
|
@@ -42,5 +42,6 @@ export interface ChatMemberBanned extends ChatMemberBase {
|
|
|
42
42
|
status: "banned";
|
|
43
43
|
untilDate?: Date;
|
|
44
44
|
}
|
|
45
|
+
/** A chat member. */
|
|
45
46
|
export type ChatMember = ChatMemberCreator | ChatMemberAdministrator | ChatMemberMember | ChatMemberRestricted | ChatMemberLeft | ChatMemberBanned;
|
|
46
47
|
export declare function constructChatMember(participant: enums.ChannelParticipant | enums.ChatParticipant, getEntity: EntityGetter): Promise<ChatMember>;
|
|
@@ -2,6 +2,7 @@ import { types } from "../2_tl.js";
|
|
|
2
2
|
import { Location } from "./0_location.js";
|
|
3
3
|
import { EntityGetter } from "./1__getters.js";
|
|
4
4
|
import { User } from "./1_user.js";
|
|
5
|
+
/** A chosen inline result. */
|
|
5
6
|
export interface ChosenInlineResult {
|
|
6
7
|
resultId: string;
|
|
7
8
|
from: User;
|
package/esm/types/2_game.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Reaction } from "./0_reaction.js";
|
|
|
3
3
|
import { EntityGetter } from "./1__getters.js";
|
|
4
4
|
import { ChatP } from "./1_chat_p.js";
|
|
5
5
|
import { User } from "./1_user.js";
|
|
6
|
+
/** The reactions of a user to a messages in a group. */
|
|
6
7
|
export interface MessageReactions {
|
|
7
8
|
chat: ChatP;
|
|
8
9
|
messageId: number;
|
|
@@ -4,6 +4,7 @@ import { ChatP } from "./1_chat_p.js";
|
|
|
4
4
|
import { User } from "./1_user.js";
|
|
5
5
|
import { ChatMember } from "./2_chat_member.js";
|
|
6
6
|
import { InviteLink } from "./2_invite_link.js";
|
|
7
|
+
/** Changes made to a chat member. */
|
|
7
8
|
export interface ChatMemberUpdated {
|
|
8
9
|
/** The chat in which the change was made. */
|
|
9
10
|
chat: ChatP;
|
|
@@ -37,6 +37,7 @@ export interface ReplyMarkupForceReply {
|
|
|
37
37
|
/** Whether to only affect specific users. If true, only users that were mentioned will be affected along with the author of the replied message if any. */
|
|
38
38
|
selective?: boolean;
|
|
39
39
|
}
|
|
40
|
+
/** A message's reply markup. */
|
|
40
41
|
export type ReplyMarkup = ReplyMarkupInlineKeyboard | ReplyMarkupKeyboard | ReplyMarkupRemoveKeyboard | ReplyMarkupForceReply;
|
|
41
42
|
export declare function constructReplyMarkup(replyMarkup: enums.ReplyMarkup): ReplyMarkupInlineKeyboard | ReplyMarkupKeyboard | ReplyMarkupRemoveKeyboard | ReplyMarkupForceReply;
|
|
42
43
|
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_>;
|
|
@@ -147,7 +147,7 @@ export interface InlineQueryResultMpeg4Gif extends _InlineQueryResultBase, _Inli
|
|
|
147
147
|
thumbnailMimeType?: string;
|
|
148
148
|
}
|
|
149
149
|
/** @unlisted */
|
|
150
|
-
export interface InlineQueryResultPhoto extends _InlineQueryResultBase, _InlineQueryResultInputMessageContentReplyMarkupCommon {
|
|
150
|
+
export interface InlineQueryResultPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
|
|
151
151
|
type: "photo";
|
|
152
152
|
photoUrl: string;
|
|
153
153
|
thumbnailUrl: string;
|
package/esm/types/4_message.d.ts
CHANGED
|
@@ -444,6 +444,7 @@ export interface MessageTypes {
|
|
|
444
444
|
unsupported: MessageUnsupported;
|
|
445
445
|
}
|
|
446
446
|
export declare function assertMessageType<T extends keyof MessageTypes>(message: Message, type: T): MessageTypes[T];
|
|
447
|
+
/** Any type of message. */
|
|
447
448
|
export type Message = MessageText | MessagePhoto | MessageDocument | MessageVideo | MessageSticker | MessageAnimation | MessageVoice | MessageAudio | MessageDice | MessageVideoNote | MessageContact | MessageGame | MessagePoll | MessageVenue | MessageLocation | MessageNewChatMembers | MessageLeftChatMember | MessageNewChatTitle | MessageNewChatPhoto | MessageDeletedChatPhoto | MessageGroupCreated | MessageSupergroupCreated | MessageChannelCreated | MessageAutoDeleteTimerChanged | MessageChatMigratedTo | MessageChatMigratedFrom | MessagePinnedMessage | MessageUserShared | MessageWriteAccessAllowed | MessageForumTopicCreated | MessageForumTopicEdited | MessageForumTopicClosed | MessageForumTopicReopened | MessageVideoChatScheduled | MessageVideoChatStarted | MessageVideoChatEnded | MessageGiveaway | MessageUnsupported;
|
|
448
449
|
/** @unlisted */
|
|
449
450
|
export interface MessageGetter {
|
|
@@ -12,4 +12,5 @@ export interface CallbackQuery {
|
|
|
12
12
|
data?: string;
|
|
13
13
|
gameShortName?: string;
|
|
14
14
|
}
|
|
15
|
+
export declare function deserializeInlineMessageId(inlineMessageId: string): import("../tl/2_types.js").InputBotInlineMessageID_ | import("../tl/2_types.js").InputBotInlineMessageID64_;
|
|
15
16
|
export declare function constructCallbackQuery(callbackQuery: types.UpdateBotCallbackQuery | types.UpdateInlineBotCallbackQuery, getEntity: EntityGetter, getMessage: MessageGetter): Promise<CallbackQuery>;
|
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
import { base64EncodeUrlSafe, cleanObject, UNREACHABLE } from "../1_utilities.js";
|
|
2
|
-
import { peerToChatId, serialize, types } from "../2_tl.js";
|
|
1
|
+
import { base64DecodeUrlSafe, base64EncodeUrlSafe, cleanObject, UNREACHABLE } from "../1_utilities.js";
|
|
2
|
+
import { peerToChatId, serialize, TLReader, types } from "../2_tl.js";
|
|
3
3
|
import { constructUser } from "./1_user.js";
|
|
4
|
+
const ERR_INVALID_INLINE_MESSAGE_ID = new Error("Invalid inline message ID");
|
|
5
|
+
export function deserializeInlineMessageId(inlineMessageId) {
|
|
6
|
+
try {
|
|
7
|
+
const buffer = base64DecodeUrlSafe(inlineMessageId);
|
|
8
|
+
const reader = new TLReader(buffer);
|
|
9
|
+
const object = reader.readObject();
|
|
10
|
+
if (object instanceof types.InputBotInlineMessageID || object instanceof types.InputBotInlineMessageID64) {
|
|
11
|
+
return object;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
catch {
|
|
15
|
+
throw ERR_INVALID_INLINE_MESSAGE_ID;
|
|
16
|
+
}
|
|
17
|
+
throw ERR_INVALID_INLINE_MESSAGE_ID;
|
|
18
|
+
}
|
|
4
19
|
export async function constructCallbackQuery(callbackQuery, getEntity, getMessage) {
|
|
5
20
|
const user_ = await getEntity(new types.PeerUser({ user_id: callbackQuery.user_id }));
|
|
6
21
|
if (!user_) {
|
package/esm/types/6_update.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthorizationState } from "./0_authorization_state.js";
|
|
2
2
|
import { ConnectionState } from "./0_connection_state.js";
|
|
3
|
-
import {
|
|
3
|
+
import { MessageReference } from "./0_message_reference.js";
|
|
4
4
|
import { ChosenInlineResult } from "./2_chosen_inline_result.js";
|
|
5
5
|
import { InlineQuery } from "./2_inline_query.js";
|
|
6
6
|
import { MessageInteractions } from "./2_message_interactions.js";
|
|
@@ -97,7 +97,7 @@ export interface UpdateEditedMessage {
|
|
|
97
97
|
*/
|
|
98
98
|
export interface UpdateDeletedMessages {
|
|
99
99
|
/** The deleted messages. */
|
|
100
|
-
deletedMessages:
|
|
100
|
+
deletedMessages: MessageReference[];
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* A callback query was made (a user presses an inline button). Bot-only.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
2
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
5
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
6
|
+
};
|
|
7
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
8
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
9
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
|
+
};
|
|
12
|
+
var _CacheMap_limit;
|
|
13
|
+
export class CacheMap extends Map {
|
|
14
|
+
constructor(limit, entries) {
|
|
15
|
+
super(entries);
|
|
16
|
+
_CacheMap_limit.set(this, void 0);
|
|
17
|
+
if (!limit || limit < 1) {
|
|
18
|
+
throw new Error("Invalid size");
|
|
19
|
+
}
|
|
20
|
+
__classPrivateFieldSet(this, _CacheMap_limit, limit, "f");
|
|
21
|
+
}
|
|
22
|
+
set(key, value) {
|
|
23
|
+
super.set(key, value);
|
|
24
|
+
if (this.size > __classPrivateFieldGet(this, _CacheMap_limit, "f")) {
|
|
25
|
+
this.delete(this.keys().next().value);
|
|
26
|
+
}
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
_CacheMap_limit = new WeakMap();
|
package/package.json
CHANGED
package/script/0_deps.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./deps/deno.land/std@0.
|
|
2
|
-
export * as path from "./deps/deno.land/std@0.
|
|
3
|
-
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.
|
|
4
|
-
export { contentType } from "./deps/deno.land/std@0.
|
|
1
|
+
export * from "./deps/deno.land/std@0.214.0/assert/mod.js";
|
|
2
|
+
export * as path from "./deps/deno.land/std@0.214.0/path/mod.js";
|
|
3
|
+
export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.214.0/encoding/base64.js";
|
|
4
|
+
export { contentType } from "./deps/deno.land/std@0.214.0/media_types/content_type.js";
|
|
5
5
|
export declare function extension(mimeType: string): string;
|
|
6
6
|
export { ctr256, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.3.3/mod.js";
|
|
7
7
|
export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js";
|
package/script/0_deps.js
CHANGED
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.debug = exports.Parser = exports.Mutex = exports.gzip = exports.gunzip = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.factorize = exports.ctr256 = exports.extension = exports.contentType = exports.encodeBase64 = exports.decodeBase64 = exports.path = void 0;
|
|
30
|
-
__exportStar(require("./deps/deno.land/std@0.
|
|
31
|
-
exports.path = __importStar(require("./deps/deno.land/std@0.
|
|
32
|
-
var base64_js_1 = require("./deps/deno.land/std@0.
|
|
30
|
+
__exportStar(require("./deps/deno.land/std@0.214.0/assert/mod.js"), exports);
|
|
31
|
+
exports.path = __importStar(require("./deps/deno.land/std@0.214.0/path/mod.js"));
|
|
32
|
+
var base64_js_1 = require("./deps/deno.land/std@0.214.0/encoding/base64.js");
|
|
33
33
|
Object.defineProperty(exports, "decodeBase64", { enumerable: true, get: function () { return base64_js_1.decodeBase64; } });
|
|
34
34
|
Object.defineProperty(exports, "encodeBase64", { enumerable: true, get: function () { return base64_js_1.encodeBase64; } });
|
|
35
|
-
var content_type_js_1 = require("./deps/deno.land/std@0.
|
|
35
|
+
var content_type_js_1 = require("./deps/deno.land/std@0.214.0/media_types/content_type.js");
|
|
36
36
|
Object.defineProperty(exports, "contentType", { enumerable: true, get: function () { return content_type_js_1.contentType; } });
|
|
37
|
-
const extension_js_1 = require("./deps/deno.land/std@0.
|
|
37
|
+
const extension_js_1 = require("./deps/deno.land/std@0.214.0/media_types/extension.js");
|
|
38
38
|
function extension(mimeType) {
|
|
39
39
|
if (mimeType == "application/x-tgsticker") {
|
|
40
40
|
return "tgs";
|
package/script/1_utilities.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./utilities/1_base64.js";
|
|
2
2
|
export * from "./utilities/0_bigint.js";
|
|
3
3
|
export * from "./utilities/0_buffer.js";
|
|
4
|
+
export * from "./utilities/0_cache_map.js";
|
|
4
5
|
export * from "./utilities/0_color.js";
|
|
5
6
|
export * from "./utilities/0_control.js";
|
|
6
7
|
export * from "./utilities/0_crypto.js";
|
package/script/1_utilities.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./utilities/1_base64.js"), exports);
|
|
18
18
|
__exportStar(require("./utilities/0_bigint.js"), exports);
|
|
19
19
|
__exportStar(require("./utilities/0_buffer.js"), exports);
|
|
20
|
+
__exportStar(require("./utilities/0_cache_map.js"), exports);
|
|
20
21
|
__exportStar(require("./utilities/0_color.js"), exports);
|
|
21
22
|
__exportStar(require("./utilities/0_control.js"), exports);
|
|
22
23
|
__exportStar(require("./utilities/0_crypto.js"), exports);
|
package/script/3_types.d.ts
CHANGED
|
@@ -12,16 +12,16 @@ export * from "./types/0_file_source.js";
|
|
|
12
12
|
export * from "./types/0_giveaway_parameters.js";
|
|
13
13
|
export * from "./types/0_id.js";
|
|
14
14
|
export * from "./types/0_keyboard_button_poll_type.js";
|
|
15
|
-
export * from "./types/0_labeled_price.js";
|
|
16
15
|
export * from "./types/0_location.js";
|
|
17
16
|
export * from "./types/0_login_url.js";
|
|
18
17
|
export * from "./types/0_mask_position.js";
|
|
19
18
|
export * from "./types/0_message_entity.js";
|
|
20
|
-
export * from "./types/
|
|
19
|
+
export * from "./types/0_message_reference.js";
|
|
21
20
|
export * from "./types/0_mini_app_info.js";
|
|
22
21
|
export * from "./types/0_network_statistics_entry.js";
|
|
23
22
|
export * from "./types/0_parse_mode.js";
|
|
24
23
|
export * from "./types/0_poll_option.js";
|
|
24
|
+
export * from "./types/0_price_tag.js";
|
|
25
25
|
export * from "./types/0_reaction.js";
|
|
26
26
|
export * from "./types/0_restriction_reason.js";
|
|
27
27
|
export * from "./types/0_thumbnail.js";
|
package/script/3_types.js
CHANGED
|
@@ -28,16 +28,16 @@ __exportStar(require("./types/0_file_source.js"), exports);
|
|
|
28
28
|
__exportStar(require("./types/0_giveaway_parameters.js"), exports);
|
|
29
29
|
__exportStar(require("./types/0_id.js"), exports);
|
|
30
30
|
__exportStar(require("./types/0_keyboard_button_poll_type.js"), exports);
|
|
31
|
-
__exportStar(require("./types/0_labeled_price.js"), exports);
|
|
32
31
|
__exportStar(require("./types/0_location.js"), exports);
|
|
33
32
|
__exportStar(require("./types/0_login_url.js"), exports);
|
|
34
33
|
__exportStar(require("./types/0_mask_position.js"), exports);
|
|
35
34
|
__exportStar(require("./types/0_message_entity.js"), exports);
|
|
36
|
-
__exportStar(require("./types/
|
|
35
|
+
__exportStar(require("./types/0_message_reference.js"), exports);
|
|
37
36
|
__exportStar(require("./types/0_mini_app_info.js"), exports);
|
|
38
37
|
__exportStar(require("./types/0_network_statistics_entry.js"), exports);
|
|
39
38
|
__exportStar(require("./types/0_parse_mode.js"), exports);
|
|
40
39
|
__exportStar(require("./types/0_poll_option.js"), exports);
|
|
40
|
+
__exportStar(require("./types/0_price_tag.js"), exports);
|
|
41
41
|
__exportStar(require("./types/0_reaction.js"), exports);
|
|
42
42
|
__exportStar(require("./types/0_restriction_reason.js"), exports);
|
|
43
43
|
__exportStar(require("./types/0_thumbnail.js"), exports);
|
package/script/4_constants.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type PublicKeys = readonly [bigint, [bigint, bigint]][];
|
|
|
4
4
|
export declare const PUBLIC_KEYS: PublicKeys;
|
|
5
5
|
export declare const INITIAL_DC: DC;
|
|
6
6
|
export declare const LAYER = 172;
|
|
7
|
-
export declare const APP_VERSION = "MTKruto 0.1.
|
|
7
|
+
export declare const APP_VERSION = "MTKruto 0.1.149";
|
|
8
8
|
export declare const DEVICE_MODEL: string;
|
|
9
9
|
export declare const LANG_CODE: string;
|
|
10
10
|
export declare const LANG_PACK = "";
|
package/script/4_constants.js
CHANGED
|
@@ -79,7 +79,7 @@ exports.PUBLIC_KEYS = Object.freeze([
|
|
|
79
79
|
]);
|
|
80
80
|
exports.INITIAL_DC = "2";
|
|
81
81
|
exports.LAYER = 172;
|
|
82
|
-
exports.APP_VERSION = "MTKruto 0.1.
|
|
82
|
+
exports.APP_VERSION = "MTKruto 0.1.149";
|
|
83
83
|
// @ts-ignore: lib
|
|
84
84
|
exports.DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
|
|
85
85
|
exports.LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];
|
|
@@ -159,7 +159,7 @@ class FileManager {
|
|
|
159
159
|
const documents = new Array();
|
|
160
160
|
let shouldFetch = false;
|
|
161
161
|
for (const [i, id_] of id.entries()) {
|
|
162
|
-
const maybeDocument = await __classPrivateFieldGet(this, _FileManager_c, "f").
|
|
162
|
+
const maybeDocument = await __classPrivateFieldGet(this, _FileManager_c, "f").messageStorage.getCustomEmojiDocument(BigInt(id_));
|
|
163
163
|
if (maybeDocument != null && Date.now() - maybeDocument[1].getTime() <= 30 * 60 * 1000) {
|
|
164
164
|
const document_ = maybeDocument[0];
|
|
165
165
|
const fileUniqueId = new _3_types_js_1.FileUniqueID(_3_types_js_1.FileUniqueType.Document, { mediaId: document_.id }).encode();
|
|
@@ -181,6 +181,7 @@ class FileManager {
|
|
|
181
181
|
}
|
|
182
182
|
const documents_ = await __classPrivateFieldGet(this, _FileManager_c, "f").api.messages.getCustomEmojiDocuments({ document_id: id.map(BigInt) }).then((v) => v.map((v) => v[_2_tl_js_1.as](_2_tl_js_1.types.Document)));
|
|
183
183
|
for (const [i, document_] of documents_.entries()) {
|
|
184
|
+
await __classPrivateFieldGet(this, _FileManager_c, "f").messageStorage.setCustomEmojiDocument(document_.id, document_);
|
|
184
185
|
const fileUniqueId = new _3_types_js_1.FileUniqueID(_3_types_js_1.FileUniqueType.Document, { mediaId: document_.id }).encode();
|
|
185
186
|
const fileId = new _3_types_js_1.FileID(null, null, _3_types_js_1.FileType.Document, document_.dc_id, {
|
|
186
187
|
mediaId: document_.id,
|
|
@@ -45,10 +45,10 @@ class ReactionManager {
|
|
|
45
45
|
}
|
|
46
46
|
else if (update instanceof _2_tl_js_1.types.UpdateMessageReactions) {
|
|
47
47
|
const chatId = (0, _2_tl_js_1.peerToChatId)(update.peer);
|
|
48
|
-
const message = await __classPrivateFieldGet(this, _ReactionManager_c, "f").
|
|
48
|
+
const message = await __classPrivateFieldGet(this, _ReactionManager_c, "f").messageStorage.getMessage(chatId, update.msg_id);
|
|
49
49
|
if (message instanceof _2_tl_js_1.types.Message) {
|
|
50
50
|
message.reactions = update.reactions;
|
|
51
|
-
await __classPrivateFieldGet(this, _ReactionManager_c, "f").
|
|
51
|
+
await __classPrivateFieldGet(this, _ReactionManager_c, "f").messageStorage.setMessage(chatId, update.msg_id, message);
|
|
52
52
|
const views = message.views ?? 0;
|
|
53
53
|
const forwards = message.forwards ?? 0;
|
|
54
54
|
const recentReactions = update.reactions.recent_reactions ?? [];
|
|
@@ -61,7 +61,7 @@ class ReactionManager {
|
|
|
61
61
|
}
|
|
62
62
|
else if (update instanceof _2_tl_js_1.types.UpdateChannelMessageViews || update instanceof _2_tl_js_1.types.UpdateChannelMessageForwards) {
|
|
63
63
|
const chatId = (0, _2_tl_js_1.peerToChatId)(new _2_tl_js_1.types.PeerChannel(update));
|
|
64
|
-
const message = await __classPrivateFieldGet(this, _ReactionManager_c, "f").
|
|
64
|
+
const message = await __classPrivateFieldGet(this, _ReactionManager_c, "f").messageStorage.getMessage(chatId, update.id);
|
|
65
65
|
if (message instanceof _2_tl_js_1.types.Message) {
|
|
66
66
|
if ("views" in update) {
|
|
67
67
|
message.views = update.views;
|
|
@@ -47,16 +47,16 @@ class UpdateManager {
|
|
|
47
47
|
async processChats(chats) {
|
|
48
48
|
for (const chat of chats) {
|
|
49
49
|
if (chat instanceof _2_tl_js_1.types.Channel || chat instanceof _2_tl_js_1.types.ChannelForbidden) {
|
|
50
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
50
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setEntity(chat);
|
|
51
51
|
if ("username" in chat && chat.username) {
|
|
52
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
52
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.updateUsernames((0, _2_tl_js_1.peerToChatId)(chat), [chat.username]);
|
|
53
53
|
}
|
|
54
54
|
if ("usernames" in chat && chat.usernames) {
|
|
55
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
55
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.updateUsernames((0, _2_tl_js_1.peerToChatId)(chat), chat.usernames.map((v) => v.username));
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
else if (chat instanceof _2_tl_js_1.types.Chat || chat instanceof _2_tl_js_1.types.ChatForbidden) {
|
|
59
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
59
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setEntity(chat);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -104,7 +104,7 @@ class UpdateManager {
|
|
|
104
104
|
if ("messages" in result) {
|
|
105
105
|
for (const message of result.messages) {
|
|
106
106
|
if (message instanceof _2_tl_js_1.types.Message || message instanceof _2_tl_js_1.types.MessageService) {
|
|
107
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
107
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setMessage((0, _2_tl_js_1.peerToChatId)(message.peer_id), message.id, message);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -112,7 +112,7 @@ class UpdateManager {
|
|
|
112
112
|
if (result instanceof _2_tl_js_1.types.messages.Messages) {
|
|
113
113
|
for (const message of result.messages) {
|
|
114
114
|
if (message instanceof _2_tl_js_1.types.Message || message instanceof _2_tl_js_1.types.MessageService) {
|
|
115
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
115
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setMessage((0, _2_tl_js_1.peerToChatId)(message.peer_id), message.id, message);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -120,12 +120,12 @@ class UpdateManager {
|
|
|
120
120
|
async processUsers(users) {
|
|
121
121
|
for (const user of users) {
|
|
122
122
|
if (user instanceof _2_tl_js_1.types.User && user.access_hash) {
|
|
123
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
123
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setEntity(user);
|
|
124
124
|
if (user.username) {
|
|
125
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
125
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.updateUsernames((0, _2_tl_js_1.peerToChatId)(user), [user.username]);
|
|
126
126
|
}
|
|
127
127
|
if (user.usernames) {
|
|
128
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
128
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.updateUsernames((0, _2_tl_js_1.peerToChatId)(user), user.usernames.map((v) => v.username));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -172,7 +172,7 @@ class UpdateManager {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
else if (difference instanceof _2_tl_js_1.types.updates.DifferenceTooLong) {
|
|
175
|
-
await __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
175
|
+
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.deleteMessages();
|
|
176
176
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(0);
|
|
177
177
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").storage.removeChats(1);
|
|
178
178
|
state.pts = difference.pts;
|
|
@@ -37,7 +37,9 @@ export declare class MessageManager {
|
|
|
37
37
|
sendPhoto(chatId: ID, photo: FileSource, params?: SendPhotoParams): Promise<import("../3_types.js").MessagePhoto>;
|
|
38
38
|
sendPoll(chatId: ID, question: string, options: [string, string, ...string[]], params?: SendPollParams): Promise<import("../3_types.js").MessagePoll>;
|
|
39
39
|
editMessageReplyMarkup(chatId: ID, messageId: number, params?: EditMessageReplyMarkupParams): Promise<import("../3_types.js").MessageText | import("../3_types.js").MessagePhoto | import("../3_types.js").MessageDocument | import("../3_types.js").MessageVideo | import("../3_types.js").MessageSticker | import("../3_types.js").MessageAnimation | import("../3_types.js").MessageVoice | import("../3_types.js").MessageAudio | import("../3_types.js").MessageDice | import("../3_types.js").MessageVideoNote | import("../3_types.js").MessageContact | import("../3_types.js").MessageGame | import("../3_types.js").MessagePoll | import("../3_types.js").MessageVenue | import("../3_types.js").MessageLocation | import("../3_types.js").MessageNewChatMembers | import("../3_types.js").MessageLeftChatMember | import("../3_types.js").MessageNewChatTitle | import("../3_types.js").MessageNewChatPhoto | import("../3_types.js").MessageDeletedChatPhoto | import("../3_types.js").MessageGroupCreated | import("../3_types.js").MessageSupergroupCreated | import("../3_types.js").MessageChannelCreated | import("../3_types.js").MessageAutoDeleteTimerChanged | import("../3_types.js").MessageChatMigratedTo | import("../3_types.js").MessageChatMigratedFrom | import("../3_types.js").MessagePinnedMessage | import("../3_types.js").MessageUserShared | import("../3_types.js").MessageWriteAccessAllowed | import("../3_types.js").MessageForumTopicCreated | import("../3_types.js").MessageForumTopicEdited | import("../3_types.js").MessageForumTopicClosed | import("../3_types.js").MessageForumTopicReopened | import("../3_types.js").MessageVideoChatScheduled | import("../3_types.js").MessageVideoChatStarted | import("../3_types.js").MessageVideoChatEnded | import("../3_types.js").MessageGiveaway | import("../3_types.js").MessageUnsupported>;
|
|
40
|
+
editInlineMessageReplyMarkup(inlineMessageId: string, params?: EditMessageReplyMarkupParams): Promise<void>;
|
|
40
41
|
editMessageText(chatId: ID, messageId: number, text: string, params?: EditMessageParams): Promise<import("../3_types.js").MessageText>;
|
|
42
|
+
editInlineMessageText(inlineMessageId: string, text: string, params?: EditMessageParams): Promise<void>;
|
|
41
43
|
deleteMessages(chatId: ID, messageIds: number[], params?: DeleteMessagesParams): Promise<void>;
|
|
42
44
|
deleteChatMemberMessages(chatId: ID, memberId: ID): Promise<void>;
|
|
43
45
|
pinMessage(chatId: ID, messageId: number, params?: PinMessageParams): Promise<void>;
|