@mtkruto/node 0.62.1 → 0.63.0
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/2_tl.d.ts +6 -6
- package/esm/2_tl.d.ts.map +1 -1
- package/esm/2_tl.js +6 -6
- package/esm/3_errors.d.ts +1 -2
- package/esm/3_errors.d.ts.map +1 -1
- package/esm/3_errors.js +2 -1
- package/esm/4_constants.d.ts +0 -1
- package/esm/4_constants.d.ts.map +1 -1
- package/esm/4_constants.js +0 -1
- package/esm/4_errors.d.ts +2 -2
- package/esm/4_errors.d.ts.map +1 -1
- package/esm/4_session.d.ts +24 -0
- package/esm/4_session.d.ts.map +1 -0
- package/esm/4_session.js +23 -0
- package/esm/5_client.d.ts +1 -1
- package/esm/5_client.js +1 -1
- package/esm/client/0_client_abstract.d.ts +28 -26
- package/esm/client/0_client_abstract.d.ts.map +1 -1
- package/esm/client/0_client_abstract.js +16 -88
- package/esm/client/0_params.d.ts +5 -0
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_password.d.ts.map +1 -1
- package/esm/client/0_password.js +2 -2
- package/esm/client/0_storage_operations.d.ts +4 -4
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_storage_operations.js +14 -14
- package/esm/client/0_update_processor.d.ts +19 -0
- package/esm/client/0_update_processor.d.ts.map +1 -1
- package/esm/client/0_update_processor.js +19 -0
- package/esm/client/0_utilities.d.ts +6 -2
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/0_utilities.js +21 -23
- package/esm/client/1_client_plain.d.ts +9 -6
- package/esm/client/1_client_plain.d.ts.map +1 -1
- package/esm/client/1_client_plain.js +26 -41
- package/esm/client/1_types.d.ts +4 -23
- package/esm/client/1_types.d.ts.map +1 -1
- package/esm/client/2_account_manager.js +10 -10
- package/esm/client/2_business_connection_manager.d.ts.map +1 -1
- package/esm/client/2_business_connection_manager.js +4 -4
- package/esm/client/2_client_encrypted.d.ts +58 -0
- package/esm/client/2_client_encrypted.d.ts.map +1 -0
- package/esm/client/2_client_encrypted.js +265 -0
- package/esm/client/2_file_manager.d.ts.map +1 -1
- package/esm/client/2_file_manager.js +54 -74
- package/esm/client/2_network_statistics_manager.d.ts +1 -1
- package/esm/client/2_network_statistics_manager.d.ts.map +1 -1
- package/esm/client/2_network_statistics_manager.js +3 -3
- package/esm/client/2_payment_manager.d.ts.map +1 -1
- package/esm/client/2_payment_manager.js +3 -3
- package/esm/client/2_reaction_manager.d.ts.map +1 -1
- package/esm/client/2_reaction_manager.js +10 -10
- package/esm/client/2_translations_manager.d.ts +19 -0
- package/esm/client/2_translations_manager.d.ts.map +1 -1
- package/esm/client/2_translations_manager.js +24 -5
- package/esm/client/2_update_manager.d.ts +4 -4
- package/esm/client/2_update_manager.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +69 -79
- package/esm/client/3_client_encrypted_pool.d.ts +30 -0
- package/esm/client/3_client_encrypted_pool.d.ts.map +1 -0
- package/esm/client/3_client_encrypted_pool.js +70 -0
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +96 -70
- package/esm/client/3_video_chat_manager.d.ts.map +1 -1
- package/esm/client/3_video_chat_manager.js +15 -20
- package/esm/client/4_callback_query_manager.d.ts.map +1 -1
- package/esm/client/4_callback_query_manager.js +2 -2
- package/esm/client/4_chat_list_manager.d.ts.map +1 -1
- package/esm/client/4_chat_list_manager.js +33 -33
- package/esm/client/4_chat_manager.d.ts.map +1 -1
- package/esm/client/4_chat_manager.js +25 -25
- package/esm/client/4_gift_manager.js +2 -2
- package/esm/client/4_inline_query_manager.d.ts.map +1 -1
- package/esm/client/4_inline_query_manager.js +4 -4
- package/esm/client/4_poll_manager.d.ts.map +1 -1
- package/esm/client/4_poll_manager.js +5 -5
- package/esm/client/4_story_manager.d.ts.map +1 -1
- package/esm/client/4_story_manager.js +10 -10
- package/esm/client/5_client.d.ts +3 -9
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +290 -306
- package/esm/connection/0_connection.d.ts +5 -4
- package/esm/connection/0_connection.d.ts.map +1 -1
- package/esm/connection/1_connection_web_socket.js +2 -2
- package/esm/mod.d.ts +1 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -1
- package/{script/tl/2_tl_reader.d.ts → esm/session/0_session_error.d.ts} +4 -7
- package/esm/session/0_session_error.d.ts.map +1 -0
- package/esm/{tl/2_tl_reader.d.ts → session/0_session_error.js} +5 -7
- package/esm/{tl/2_tl_writer.d.ts → session/0_session_state.d.ts} +7 -5
- package/esm/session/0_session_state.d.ts.map +1 -0
- package/esm/session/0_session_state.js +77 -0
- package/esm/session/1_session.d.ts +31 -0
- package/esm/session/1_session.d.ts.map +1 -0
- package/esm/session/1_session.js +149 -0
- package/esm/session/2_session_encrypted.d.ts +40 -0
- package/esm/session/2_session_encrypted.d.ts.map +1 -0
- package/esm/session/2_session_encrypted.js +416 -0
- package/esm/session/2_session_plain.d.ts +25 -0
- package/esm/session/2_session_plain.d.ts.map +1 -0
- package/esm/session/2_session_plain.js +56 -0
- package/esm/tl/0_tl_error.d.ts +22 -0
- package/esm/tl/0_tl_error.d.ts.map +1 -0
- package/esm/tl/0_tl_error.js +21 -0
- package/esm/tl/0_types.d.ts +25 -0
- package/esm/tl/0_types.d.ts.map +1 -0
- package/esm/tl/0_types.js +20 -0
- package/esm/tl/0_utilities.d.ts +32 -0
- package/esm/tl/0_utilities.d.ts.map +1 -0
- package/esm/tl/0_utilities.js +51 -0
- package/esm/tl/0_utilities_test.d.ts.map +1 -0
- package/esm/tl/1_mtproto_api.d.ts +371 -0
- package/esm/tl/1_mtproto_api.d.ts.map +1 -0
- package/esm/tl/1_mtproto_api.js +416 -0
- package/esm/tl/{0_api.d.ts → 1_telegram_api.d.ts} +23 -340
- package/esm/tl/1_telegram_api.d.ts.map +1 -0
- package/esm/tl/{0_api.js → 1_telegram_api.js} +4945 -11109
- package/{script/tl/0_tl_raw_reader.d.ts → esm/tl/1_tl_reader.d.ts} +5 -2
- package/esm/tl/1_tl_reader.d.ts.map +1 -0
- package/esm/tl/{2_tl_reader.js → 1_tl_reader.js} +107 -40
- package/esm/tl/1_tl_reader_test.d.ts.map +1 -0
- package/esm/tl/{0_tl_raw_writer.d.ts → 1_tl_writer.d.ts} +5 -2
- package/esm/tl/1_tl_writer.d.ts.map +1 -0
- package/esm/tl/{2_tl_writer.js → 1_tl_writer.js} +80 -23
- package/esm/tl/1_tl_writer_test.d.ts.map +1 -0
- package/esm/tl/1_utilities.d.ts +9 -24
- package/esm/tl/1_utilities.d.ts.map +1 -1
- package/esm/tl/1_utilities.js +18 -64
- package/esm/tl/2_message.d.ts +2 -2
- package/esm/tl/2_message.d.ts.map +1 -1
- package/esm/tl/2_message.js +7 -7
- package/esm/tl/2_mtproto.d.ts +33 -0
- package/esm/tl/2_mtproto.d.ts.map +1 -0
- package/esm/tl/2_mtproto.js +53 -0
- package/{script/tl/2_utilities.d.ts → esm/tl/2_telegram.d.ts} +16 -2
- package/esm/tl/2_telegram.d.ts.map +1 -0
- package/esm/tl/{2_utilities.js → 2_telegram.js} +46 -1
- package/esm/transport/0_transport.d.ts +1 -1
- package/esm/transport/0_transport.d.ts.map +1 -1
- package/esm/types/0_chat_photo.d.ts.map +1 -1
- package/esm/types/0_chat_photo.js +2 -2
- package/esm/types/0_giveaway_parameters.d.ts.map +1 -1
- package/esm/types/0_giveaway_parameters.js +3 -3
- package/esm/types/0_location.d.ts.map +1 -1
- package/esm/types/0_location.js +5 -5
- package/esm/types/0_message_entity.d.ts.map +1 -1
- package/esm/types/0_message_entity.js +20 -20
- package/esm/types/0_reaction.d.ts.map +1 -1
- package/esm/types/0_reaction.js +4 -4
- package/esm/types/0_slow_mode_duration.d.ts +19 -0
- package/esm/types/0_slow_mode_duration.d.ts.map +1 -1
- package/esm/types/0_slow_mode_duration.js +19 -0
- package/esm/types/0_thumbnail.d.ts.map +1 -1
- package/esm/types/0_thumbnail.js +3 -3
- package/esm/types/0_translation.d.ts +19 -0
- package/esm/types/0_translation.d.ts.map +1 -1
- package/esm/types/0_translation.js +22 -3
- package/esm/types/0_video_chat.d.ts.map +1 -1
- package/esm/types/0_video_chat.js +2 -2
- package/esm/types/1_animation.d.ts.map +1 -1
- package/esm/types/1_animation.js +2 -2
- package/esm/types/1_audio.d.ts.map +1 -1
- package/esm/types/1_audio.js +2 -2
- package/esm/types/1_bot_command_scope.d.ts.map +1 -1
- package/esm/types/1_bot_command_scope.js +2 -2
- package/esm/types/1_chat_p.d.ts.map +1 -1
- package/esm/types/1_chat_p.js +6 -6
- package/esm/types/1_document.d.ts.map +1 -1
- package/esm/types/1_document.js +2 -2
- package/esm/types/1_keyboard_button.d.ts.map +1 -1
- package/esm/types/1_keyboard_button.js +10 -10
- package/esm/types/1_message_reaction.d.ts.map +1 -1
- package/esm/types/1_message_reaction.js +6 -6
- package/esm/types/1_photo.d.ts.map +1 -1
- package/esm/types/1_photo.js +3 -3
- package/esm/types/1_sticker.d.ts.map +1 -1
- package/esm/types/1_sticker.js +8 -8
- package/esm/types/1_story_privacy.d.ts.map +1 -1
- package/esm/types/1_story_privacy.js +7 -7
- package/esm/types/1_user.d.ts.map +1 -1
- package/esm/types/1_user.js +2 -2
- package/esm/types/1_venue.d.ts.map +1 -1
- package/esm/types/1_venue.js +2 -2
- package/esm/types/1_video.d.ts.map +1 -1
- package/esm/types/1_video.js +2 -2
- package/esm/types/1_video_note.d.ts.map +1 -1
- package/esm/types/1_video_note.js +2 -2
- package/esm/types/2_chat.d.ts.map +1 -1
- package/esm/types/2_chat.js +8 -8
- package/esm/types/2_chat_member.d.ts.map +1 -1
- package/esm/types/2_chat_member.js +10 -10
- package/esm/types/2_chat_settings.d.ts +19 -0
- package/esm/types/2_chat_settings.d.ts.map +1 -1
- package/esm/types/2_chat_settings.js +21 -2
- package/esm/types/2_chosen_inline_result.d.ts.map +1 -1
- package/esm/types/2_chosen_inline_result.js +4 -4
- package/esm/types/2_game.d.ts.map +1 -1
- package/esm/types/2_game.js +4 -4
- package/esm/types/2_gift_upgraded_component.d.ts.map +1 -1
- package/esm/types/2_gift_upgraded_component.js +3 -3
- package/esm/types/2_inactive_chat.d.ts.map +1 -1
- package/esm/types/2_inactive_chat.js +2 -2
- package/esm/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/esm/types/2_inline_keyboard_button.js +10 -10
- package/esm/types/2_inline_query.d.ts.map +1 -1
- package/esm/types/2_inline_query.js +7 -7
- package/esm/types/2_message_reactions.d.ts.map +1 -1
- package/esm/types/2_message_reactions.js +2 -2
- package/esm/types/2_story_content.d.ts.map +1 -1
- package/esm/types/2_story_content.js +6 -6
- package/esm/types/2_story_interactive_area.d.ts.map +1 -1
- package/esm/types/2_story_interactive_area.js +9 -9
- package/esm/types/3_chat_member_updated.d.ts.map +1 -1
- package/esm/types/3_chat_member_updated.js +2 -2
- package/esm/types/3_gift.d.ts.map +1 -1
- package/esm/types/3_gift.js +3 -3
- package/esm/types/3_join_request.d.ts.map +1 -1
- package/esm/types/3_join_request.js +2 -2
- package/esm/types/3_reply_markup.d.ts.map +1 -1
- package/esm/types/3_reply_markup.js +5 -5
- package/esm/types/4_claimed_gift.d.ts.map +1 -1
- package/esm/types/4_claimed_gift.js +2 -2
- package/esm/types/4_inline_query_result.d.ts.map +1 -1
- package/esm/types/4_inline_query_result.js +14 -14
- package/esm/types/4_message.d.ts.map +1 -1
- package/esm/types/4_message.js +57 -57
- package/esm/types/5_callback_query.d.ts.map +1 -1
- package/esm/types/5_callback_query.js +6 -7
- package/esm/types/5_chat_list_item.d.ts.map +1 -1
- package/esm/types/5_chat_list_item.js +5 -5
- package/esm/types/5_claimed_gifts.d.ts.map +1 -1
- package/esm/types/5_claimed_gifts.js +6 -6
- package/esm/types/_file_id.d.ts.map +1 -1
- package/esm/types/_file_id.js +3 -3
- package/package.json +1 -1
- package/script/2_tl.d.ts +6 -6
- package/script/2_tl.d.ts.map +1 -1
- package/script/2_tl.js +11 -11
- package/script/3_errors.d.ts +1 -2
- package/script/3_errors.d.ts.map +1 -1
- package/script/3_errors.js +2 -1
- package/script/4_constants.d.ts +0 -1
- package/script/4_constants.d.ts.map +1 -1
- package/script/4_constants.js +1 -2
- package/script/4_errors.d.ts +2 -2
- package/script/4_errors.d.ts.map +1 -1
- package/script/4_session.d.ts +24 -0
- package/script/4_session.d.ts.map +1 -0
- package/script/4_session.js +39 -0
- package/script/5_client.d.ts +1 -1
- package/script/5_client.js +1 -1
- package/script/client/0_client_abstract.d.ts +28 -26
- package/script/client/0_client_abstract.d.ts.map +1 -1
- package/script/client/0_client_abstract.js +18 -113
- package/script/client/0_params.d.ts +5 -0
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_password.d.ts.map +1 -1
- package/script/client/0_password.js +1 -1
- package/script/client/0_storage_operations.d.ts +4 -4
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_storage_operations.js +13 -13
- package/script/client/0_update_processor.d.ts +19 -0
- package/script/client/0_update_processor.d.ts.map +1 -1
- package/script/client/0_update_processor.js +19 -0
- package/script/client/0_utilities.d.ts +6 -2
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +22 -24
- package/script/client/1_client_plain.d.ts +9 -6
- package/script/client/1_client_plain.d.ts.map +1 -1
- package/script/client/1_client_plain.js +25 -40
- package/script/client/1_types.d.ts +4 -23
- package/script/client/1_types.d.ts.map +1 -1
- package/script/client/2_account_manager.js +9 -9
- package/script/client/2_business_connection_manager.d.ts.map +1 -1
- package/script/client/2_business_connection_manager.js +3 -3
- package/script/client/2_client_encrypted.d.ts +58 -0
- package/script/client/2_client_encrypted.d.ts.map +1 -0
- package/script/client/2_client_encrypted.js +269 -0
- package/script/client/2_file_manager.d.ts.map +1 -1
- package/script/client/2_file_manager.js +52 -72
- package/script/client/2_network_statistics_manager.d.ts +1 -1
- package/script/client/2_network_statistics_manager.d.ts.map +1 -1
- package/script/client/2_network_statistics_manager.js +3 -3
- package/script/client/2_payment_manager.d.ts.map +1 -1
- package/script/client/2_payment_manager.js +2 -2
- package/script/client/2_reaction_manager.d.ts.map +1 -1
- package/script/client/2_reaction_manager.js +9 -9
- package/script/client/2_translations_manager.d.ts +19 -0
- package/script/client/2_translations_manager.d.ts.map +1 -1
- package/script/client/2_translations_manager.js +23 -4
- package/script/client/2_update_manager.d.ts +4 -4
- package/script/client/2_update_manager.d.ts.map +1 -1
- package/script/client/2_update_manager.js +68 -78
- package/script/client/3_client_encrypted_pool.d.ts +30 -0
- package/script/client/3_client_encrypted_pool.d.ts.map +1 -0
- package/script/client/3_client_encrypted_pool.js +74 -0
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +95 -69
- package/script/client/3_video_chat_manager.d.ts.map +1 -1
- package/script/client/3_video_chat_manager.js +14 -19
- package/script/client/4_callback_query_manager.d.ts.map +1 -1
- package/script/client/4_callback_query_manager.js +1 -1
- package/script/client/4_chat_list_manager.d.ts.map +1 -1
- package/script/client/4_chat_list_manager.js +32 -32
- package/script/client/4_chat_manager.d.ts.map +1 -1
- package/script/client/4_chat_manager.js +24 -24
- package/script/client/4_gift_manager.js +1 -1
- package/script/client/4_inline_query_manager.d.ts.map +1 -1
- package/script/client/4_inline_query_manager.js +3 -3
- package/script/client/4_poll_manager.d.ts.map +1 -1
- package/script/client/4_poll_manager.js +4 -4
- package/script/client/4_story_manager.d.ts.map +1 -1
- package/script/client/4_story_manager.js +9 -9
- package/script/client/5_client.d.ts +3 -9
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +284 -300
- package/script/connection/0_connection.d.ts +5 -4
- package/script/connection/0_connection.d.ts.map +1 -1
- package/script/connection/1_connection_web_socket.js +2 -2
- package/script/mod.d.ts +1 -1
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +1 -2
- package/script/session/0_session_error.d.ts +24 -0
- package/script/session/0_session_error.d.ts.map +1 -0
- package/script/session/0_session_error.js +29 -0
- package/script/{tl/2_tl_writer.d.ts → session/0_session_state.d.ts} +7 -5
- package/script/session/0_session_state.d.ts.map +1 -0
- package/script/session/0_session_state.js +81 -0
- package/script/session/1_session.d.ts +31 -0
- package/script/session/1_session.d.ts.map +1 -0
- package/script/session/1_session.js +176 -0
- package/script/session/2_session_encrypted.d.ts +40 -0
- package/script/session/2_session_encrypted.d.ts.map +1 -0
- package/script/session/2_session_encrypted.js +420 -0
- package/script/session/2_session_plain.d.ts +25 -0
- package/script/session/2_session_plain.d.ts.map +1 -0
- package/script/session/2_session_plain.js +60 -0
- package/script/tl/0_tl_error.d.ts +22 -0
- package/script/tl/0_tl_error.d.ts.map +1 -0
- package/script/tl/0_tl_error.js +25 -0
- package/script/tl/0_types.d.ts +25 -0
- package/script/tl/0_types.d.ts.map +1 -0
- package/script/tl/0_types.js +21 -0
- package/script/tl/0_utilities.d.ts +32 -0
- package/script/tl/0_utilities.d.ts.map +1 -0
- package/script/tl/0_utilities.js +59 -0
- package/script/tl/0_utilities_test.d.ts.map +1 -0
- package/script/tl/1_mtproto_api.d.ts +371 -0
- package/script/tl/1_mtproto_api.d.ts.map +1 -0
- package/script/tl/1_mtproto_api.js +419 -0
- package/script/tl/{0_api.d.ts → 1_telegram_api.d.ts} +23 -340
- package/script/tl/1_telegram_api.d.ts.map +1 -0
- package/script/tl/{0_api.js → 1_telegram_api.js} +4947 -11134
- package/{esm/tl/0_tl_raw_reader.d.ts → script/tl/1_tl_reader.d.ts} +5 -2
- package/script/tl/1_tl_reader.d.ts.map +1 -0
- package/script/tl/1_tl_reader.js +218 -0
- package/script/tl/1_tl_reader_test.d.ts.map +1 -0
- package/script/tl/{0_tl_raw_writer.d.ts → 1_tl_writer.d.ts} +5 -2
- package/script/tl/1_tl_writer.d.ts.map +1 -0
- package/script/tl/{2_tl_writer.js → 1_tl_writer.js} +102 -45
- package/script/tl/1_tl_writer_test.d.ts.map +1 -0
- package/script/tl/1_utilities.d.ts +9 -24
- package/script/tl/1_utilities.d.ts.map +1 -1
- package/script/tl/1_utilities.js +19 -72
- package/script/tl/2_message.d.ts +2 -2
- package/script/tl/2_message.d.ts.map +1 -1
- package/script/tl/2_message.js +7 -7
- package/script/tl/2_mtproto.d.ts +33 -0
- package/script/tl/2_mtproto.d.ts.map +1 -0
- package/script/tl/2_mtproto.js +78 -0
- package/{esm/tl/2_utilities.d.ts → script/tl/2_telegram.d.ts} +16 -2
- package/script/tl/2_telegram.d.ts.map +1 -0
- package/script/tl/2_telegram.js +167 -0
- package/script/transport/0_transport.d.ts +1 -1
- package/script/transport/0_transport.d.ts.map +1 -1
- package/script/types/0_chat_photo.d.ts.map +1 -1
- package/script/types/0_chat_photo.js +1 -1
- package/script/types/0_giveaway_parameters.d.ts.map +1 -1
- package/script/types/0_giveaway_parameters.js +2 -2
- package/script/types/0_location.d.ts.map +1 -1
- package/script/types/0_location.js +4 -4
- package/script/types/0_message_entity.d.ts.map +1 -1
- package/script/types/0_message_entity.js +19 -19
- package/script/types/0_reaction.d.ts.map +1 -1
- package/script/types/0_reaction.js +3 -3
- package/script/types/0_slow_mode_duration.d.ts +19 -0
- package/script/types/0_slow_mode_duration.d.ts.map +1 -1
- package/script/types/0_slow_mode_duration.js +19 -0
- package/script/types/0_thumbnail.d.ts.map +1 -1
- package/script/types/0_thumbnail.js +2 -2
- package/script/types/0_translation.d.ts +19 -0
- package/script/types/0_translation.d.ts.map +1 -1
- package/script/types/0_translation.js +21 -2
- package/script/types/0_video_chat.d.ts.map +1 -1
- package/script/types/0_video_chat.js +1 -1
- package/script/types/1_animation.d.ts.map +1 -1
- package/script/types/1_animation.js +1 -1
- package/script/types/1_audio.d.ts.map +1 -1
- package/script/types/1_audio.js +1 -1
- package/script/types/1_bot_command_scope.d.ts.map +1 -1
- package/script/types/1_bot_command_scope.js +1 -1
- package/script/types/1_chat_p.d.ts.map +1 -1
- package/script/types/1_chat_p.js +5 -5
- package/script/types/1_document.d.ts.map +1 -1
- package/script/types/1_document.js +1 -1
- package/script/types/1_keyboard_button.d.ts.map +1 -1
- package/script/types/1_keyboard_button.js +9 -9
- package/script/types/1_message_reaction.d.ts.map +1 -1
- package/script/types/1_message_reaction.js +5 -5
- package/script/types/1_photo.d.ts.map +1 -1
- package/script/types/1_photo.js +2 -2
- package/script/types/1_sticker.d.ts.map +1 -1
- package/script/types/1_sticker.js +7 -7
- package/script/types/1_story_privacy.d.ts.map +1 -1
- package/script/types/1_story_privacy.js +6 -6
- package/script/types/1_user.d.ts.map +1 -1
- package/script/types/1_user.js +1 -1
- package/script/types/1_venue.d.ts.map +1 -1
- package/script/types/1_venue.js +1 -1
- package/script/types/1_video.d.ts.map +1 -1
- package/script/types/1_video.js +1 -1
- package/script/types/1_video_note.d.ts.map +1 -1
- package/script/types/1_video_note.js +1 -1
- package/script/types/2_chat.d.ts.map +1 -1
- package/script/types/2_chat.js +7 -7
- package/script/types/2_chat_member.d.ts.map +1 -1
- package/script/types/2_chat_member.js +9 -9
- package/script/types/2_chat_settings.d.ts +19 -0
- package/script/types/2_chat_settings.d.ts.map +1 -1
- package/script/types/2_chat_settings.js +20 -1
- package/script/types/2_chosen_inline_result.d.ts.map +1 -1
- package/script/types/2_chosen_inline_result.js +3 -3
- package/script/types/2_game.d.ts.map +1 -1
- package/script/types/2_game.js +3 -3
- package/script/types/2_gift_upgraded_component.d.ts.map +1 -1
- package/script/types/2_gift_upgraded_component.js +2 -2
- package/script/types/2_inactive_chat.d.ts.map +1 -1
- package/script/types/2_inactive_chat.js +1 -1
- package/script/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/script/types/2_inline_keyboard_button.js +9 -9
- package/script/types/2_inline_query.d.ts.map +1 -1
- package/script/types/2_inline_query.js +6 -6
- package/script/types/2_message_reactions.d.ts.map +1 -1
- package/script/types/2_message_reactions.js +1 -1
- package/script/types/2_story_content.d.ts.map +1 -1
- package/script/types/2_story_content.js +5 -5
- package/script/types/2_story_interactive_area.d.ts.map +1 -1
- package/script/types/2_story_interactive_area.js +8 -8
- package/script/types/3_chat_member_updated.d.ts.map +1 -1
- package/script/types/3_chat_member_updated.js +1 -1
- package/script/types/3_gift.d.ts.map +1 -1
- package/script/types/3_gift.js +2 -2
- package/script/types/3_join_request.d.ts.map +1 -1
- package/script/types/3_join_request.js +1 -1
- package/script/types/3_reply_markup.d.ts.map +1 -1
- package/script/types/3_reply_markup.js +4 -4
- package/script/types/4_claimed_gift.d.ts.map +1 -1
- package/script/types/4_claimed_gift.js +1 -1
- package/script/types/4_inline_query_result.d.ts.map +1 -1
- package/script/types/4_inline_query_result.js +13 -13
- package/script/types/4_message.d.ts.map +1 -1
- package/script/types/4_message.js +56 -56
- package/script/types/5_callback_query.d.ts.map +1 -1
- package/script/types/5_callback_query.js +5 -6
- package/script/types/5_chat_list_item.d.ts.map +1 -1
- package/script/types/5_chat_list_item.js +4 -4
- package/script/types/5_claimed_gifts.d.ts.map +1 -1
- package/script/types/5_claimed_gifts.js +5 -5
- package/script/types/_file_id.d.ts.map +1 -1
- package/script/types/_file_id.js +2 -2
- package/esm/client/0_message.d.ts +0 -29
- package/esm/client/0_message.d.ts.map +0 -1
- package/esm/client/0_message.js +0 -83
- package/esm/client/1_client_encrypted.d.ts +0 -52
- package/esm/client/1_client_encrypted.d.ts.map +0 -1
- package/esm/client/1_client_encrypted.js +0 -381
- package/esm/tl/0_api.d.ts.map +0 -1
- package/esm/tl/0_tl_raw_reader.d.ts.map +0 -1
- package/esm/tl/0_tl_raw_reader.js +0 -97
- package/esm/tl/0_tl_raw_reader_test.d.ts.map +0 -1
- package/esm/tl/0_tl_raw_writer.d.ts.map +0 -1
- package/esm/tl/0_tl_raw_writer.js +0 -86
- package/esm/tl/0_tl_raw_writer_test.d.ts.map +0 -1
- package/esm/tl/1_utilities_test.d.ts.map +0 -1
- package/esm/tl/2_tl_reader.d.ts.map +0 -1
- package/esm/tl/2_tl_reader_test.d.ts.map +0 -1
- package/esm/tl/2_tl_writer.d.ts.map +0 -1
- package/esm/tl/2_tl_writer_test.d.ts.map +0 -1
- package/esm/tl/2_utilities.d.ts.map +0 -1
- package/script/client/0_message.d.ts +0 -29
- package/script/client/0_message.d.ts.map +0 -1
- package/script/client/0_message.js +0 -90
- package/script/client/1_client_encrypted.d.ts +0 -52
- package/script/client/1_client_encrypted.d.ts.map +0 -1
- package/script/client/1_client_encrypted.js +0 -385
- package/script/tl/0_api.d.ts.map +0 -1
- package/script/tl/0_tl_raw_reader.d.ts.map +0 -1
- package/script/tl/0_tl_raw_reader.js +0 -102
- package/script/tl/0_tl_raw_reader_test.d.ts.map +0 -1
- package/script/tl/0_tl_raw_writer.d.ts.map +0 -1
- package/script/tl/0_tl_raw_writer.js +0 -90
- package/script/tl/0_tl_raw_writer_test.d.ts.map +0 -1
- package/script/tl/1_utilities_test.d.ts.map +0 -1
- package/script/tl/2_tl_reader.d.ts.map +0 -1
- package/script/tl/2_tl_reader.js +0 -150
- package/script/tl/2_tl_reader_test.d.ts.map +0 -1
- package/script/tl/2_tl_writer.d.ts.map +0 -1
- package/script/tl/2_tl_writer_test.d.ts.map +0 -1
- package/script/tl/2_utilities.d.ts.map +0 -1
- package/script/tl/2_utilities.js +0 -98
|
@@ -1,199 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
+
* Copyright (C) 2023-2025 Roj <https://roj.im/>
|
|
4
|
+
*
|
|
5
|
+
* This file is part of MTKruto.
|
|
6
|
+
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU Lesser General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*/
|
|
20
|
+
import type { Schema } from "./0_types.js";
|
|
1
21
|
declare const R: unique symbol;
|
|
2
22
|
export type Function = {
|
|
3
23
|
[R]?: unknown;
|
|
4
24
|
};
|
|
5
25
|
export type ReturnType<T> = T extends Function ? NonNullable<T[typeof R]> : never;
|
|
6
|
-
export interface resPQ {
|
|
7
|
-
_: "resPQ";
|
|
8
|
-
nonce: bigint;
|
|
9
|
-
server_nonce: bigint;
|
|
10
|
-
pq: Uint8Array;
|
|
11
|
-
server_public_key_fingerprints: Array<bigint>;
|
|
12
|
-
}
|
|
13
|
-
export interface p_q_inner_data_dc {
|
|
14
|
-
_: "p_q_inner_data_dc";
|
|
15
|
-
pq: Uint8Array;
|
|
16
|
-
p: Uint8Array;
|
|
17
|
-
q: Uint8Array;
|
|
18
|
-
nonce: bigint;
|
|
19
|
-
server_nonce: bigint;
|
|
20
|
-
new_nonce: bigint;
|
|
21
|
-
dc: number;
|
|
22
|
-
}
|
|
23
|
-
export interface p_q_inner_data_temp_dc {
|
|
24
|
-
_: "p_q_inner_data_temp_dc";
|
|
25
|
-
pq: Uint8Array;
|
|
26
|
-
p: Uint8Array;
|
|
27
|
-
q: Uint8Array;
|
|
28
|
-
nonce: bigint;
|
|
29
|
-
server_nonce: bigint;
|
|
30
|
-
new_nonce: bigint;
|
|
31
|
-
dc: number;
|
|
32
|
-
expires_in: number;
|
|
33
|
-
}
|
|
34
|
-
export interface server_DH_params_ok {
|
|
35
|
-
_: "server_DH_params_ok";
|
|
36
|
-
nonce: bigint;
|
|
37
|
-
server_nonce: bigint;
|
|
38
|
-
encrypted_answer: Uint8Array;
|
|
39
|
-
}
|
|
40
|
-
export interface server_DH_inner_data {
|
|
41
|
-
_: "server_DH_inner_data";
|
|
42
|
-
nonce: bigint;
|
|
43
|
-
server_nonce: bigint;
|
|
44
|
-
g: number;
|
|
45
|
-
dh_prime: Uint8Array;
|
|
46
|
-
g_a: Uint8Array;
|
|
47
|
-
server_time: number;
|
|
48
|
-
}
|
|
49
|
-
export interface client_DH_inner_data {
|
|
50
|
-
_: "client_DH_inner_data";
|
|
51
|
-
nonce: bigint;
|
|
52
|
-
server_nonce: bigint;
|
|
53
|
-
retry_id: bigint;
|
|
54
|
-
g_b: Uint8Array;
|
|
55
|
-
}
|
|
56
|
-
export interface dh_gen_ok {
|
|
57
|
-
_: "dh_gen_ok";
|
|
58
|
-
nonce: bigint;
|
|
59
|
-
server_nonce: bigint;
|
|
60
|
-
new_nonce_hash1: bigint;
|
|
61
|
-
}
|
|
62
|
-
export interface dh_gen_retry {
|
|
63
|
-
_: "dh_gen_retry";
|
|
64
|
-
nonce: bigint;
|
|
65
|
-
server_nonce: bigint;
|
|
66
|
-
new_nonce_hash2: bigint;
|
|
67
|
-
}
|
|
68
|
-
export interface dh_gen_fail {
|
|
69
|
-
_: "dh_gen_fail";
|
|
70
|
-
nonce: bigint;
|
|
71
|
-
server_nonce: bigint;
|
|
72
|
-
new_nonce_hash3: bigint;
|
|
73
|
-
}
|
|
74
|
-
export interface bind_auth_key_inner {
|
|
75
|
-
_: "bind_auth_key_inner";
|
|
76
|
-
nonce: bigint;
|
|
77
|
-
temp_auth_key_id: bigint;
|
|
78
|
-
perm_auth_key_id: bigint;
|
|
79
|
-
temp_session_id: bigint;
|
|
80
|
-
expires_at: number;
|
|
81
|
-
}
|
|
82
|
-
export interface rpc_error {
|
|
83
|
-
_: "rpc_error";
|
|
84
|
-
error_code: number;
|
|
85
|
-
error_message: string;
|
|
86
|
-
}
|
|
87
|
-
export interface rpc_answer_unknown {
|
|
88
|
-
_: "rpc_answer_unknown";
|
|
89
|
-
}
|
|
90
|
-
export interface rpc_answer_dropped_running {
|
|
91
|
-
_: "rpc_answer_dropped_running";
|
|
92
|
-
}
|
|
93
|
-
export interface rpc_answer_dropped {
|
|
94
|
-
_: "rpc_answer_dropped";
|
|
95
|
-
msg_id: bigint;
|
|
96
|
-
seq_no: number;
|
|
97
|
-
bytes: number;
|
|
98
|
-
}
|
|
99
|
-
export interface future_salt {
|
|
100
|
-
_: "future_salt";
|
|
101
|
-
valid_since: number;
|
|
102
|
-
valid_until: number;
|
|
103
|
-
salt: bigint;
|
|
104
|
-
}
|
|
105
|
-
export interface future_salts {
|
|
106
|
-
_: "future_salts";
|
|
107
|
-
req_msg_id: bigint;
|
|
108
|
-
now: number;
|
|
109
|
-
salts: Array<FutureSalt>;
|
|
110
|
-
}
|
|
111
|
-
export interface pong {
|
|
112
|
-
_: "pong";
|
|
113
|
-
msg_id: bigint;
|
|
114
|
-
ping_id: bigint;
|
|
115
|
-
}
|
|
116
|
-
export interface destroy_session_ok {
|
|
117
|
-
_: "destroy_session_ok";
|
|
118
|
-
session_id: bigint;
|
|
119
|
-
}
|
|
120
|
-
export interface destroy_session_none {
|
|
121
|
-
_: "destroy_session_none";
|
|
122
|
-
session_id: bigint;
|
|
123
|
-
}
|
|
124
|
-
export interface new_session_created {
|
|
125
|
-
_: "new_session_created";
|
|
126
|
-
first_msg_id: bigint;
|
|
127
|
-
unique_id: bigint;
|
|
128
|
-
server_salt: bigint;
|
|
129
|
-
}
|
|
130
|
-
export interface gzip_packed {
|
|
131
|
-
_: "gzip_packed";
|
|
132
|
-
packed_data: Uint8Array;
|
|
133
|
-
}
|
|
134
|
-
export interface msgs_ack {
|
|
135
|
-
_: "msgs_ack";
|
|
136
|
-
msg_ids: Array<bigint>;
|
|
137
|
-
}
|
|
138
|
-
export interface bad_msg_notification {
|
|
139
|
-
_: "bad_msg_notification";
|
|
140
|
-
bad_msg_id: bigint;
|
|
141
|
-
bad_msg_seqno: number;
|
|
142
|
-
error_code: number;
|
|
143
|
-
}
|
|
144
|
-
export interface bad_server_salt {
|
|
145
|
-
_: "bad_server_salt";
|
|
146
|
-
bad_msg_id: bigint;
|
|
147
|
-
bad_msg_seqno: number;
|
|
148
|
-
error_code: number;
|
|
149
|
-
new_server_salt: bigint;
|
|
150
|
-
}
|
|
151
|
-
export interface msg_resend_req {
|
|
152
|
-
_: "msg_resend_req";
|
|
153
|
-
msg_ids: Array<bigint>;
|
|
154
|
-
}
|
|
155
|
-
export interface msgs_state_req {
|
|
156
|
-
_: "msgs_state_req";
|
|
157
|
-
msg_ids: Array<bigint>;
|
|
158
|
-
}
|
|
159
|
-
export interface msgs_state_info {
|
|
160
|
-
_: "msgs_state_info";
|
|
161
|
-
req_msg_id: bigint;
|
|
162
|
-
info: Uint8Array;
|
|
163
|
-
}
|
|
164
|
-
export interface msgs_all_info {
|
|
165
|
-
_: "msgs_all_info";
|
|
166
|
-
msg_ids: Array<bigint>;
|
|
167
|
-
info: Uint8Array;
|
|
168
|
-
}
|
|
169
|
-
export interface msg_detailed_info {
|
|
170
|
-
_: "msg_detailed_info";
|
|
171
|
-
msg_id: bigint;
|
|
172
|
-
answer_msg_id: bigint;
|
|
173
|
-
bytes: number;
|
|
174
|
-
status: number;
|
|
175
|
-
}
|
|
176
|
-
export interface msg_new_detailed_info {
|
|
177
|
-
_: "msg_new_detailed_info";
|
|
178
|
-
answer_msg_id: bigint;
|
|
179
|
-
bytes: number;
|
|
180
|
-
status: number;
|
|
181
|
-
}
|
|
182
|
-
export interface destroy_auth_key_ok {
|
|
183
|
-
_: "destroy_auth_key_ok";
|
|
184
|
-
}
|
|
185
|
-
export interface destroy_auth_key_none {
|
|
186
|
-
_: "destroy_auth_key_none";
|
|
187
|
-
}
|
|
188
|
-
export interface destroy_auth_key_fail {
|
|
189
|
-
_: "destroy_auth_key_fail";
|
|
190
|
-
}
|
|
191
|
-
export interface http_wait {
|
|
192
|
-
_: "http_wait";
|
|
193
|
-
max_delay: number;
|
|
194
|
-
wait_after: number;
|
|
195
|
-
max_wait: number;
|
|
196
|
-
}
|
|
197
26
|
export interface true_ {
|
|
198
27
|
_: "true";
|
|
199
28
|
}
|
|
@@ -8659,58 +8488,6 @@ export interface requirementToContactPaidMessages {
|
|
|
8659
8488
|
_: "requirementToContactPaidMessages";
|
|
8660
8489
|
stars_amount: bigint;
|
|
8661
8490
|
}
|
|
8662
|
-
export interface req_pq_multi {
|
|
8663
|
-
_: "req_pq_multi";
|
|
8664
|
-
nonce: bigint;
|
|
8665
|
-
[R]?: ResPQ;
|
|
8666
|
-
}
|
|
8667
|
-
export interface req_DH_params {
|
|
8668
|
-
_: "req_DH_params";
|
|
8669
|
-
nonce: bigint;
|
|
8670
|
-
server_nonce: bigint;
|
|
8671
|
-
p: Uint8Array;
|
|
8672
|
-
q: Uint8Array;
|
|
8673
|
-
public_key_fingerprint: bigint;
|
|
8674
|
-
encrypted_data: Uint8Array;
|
|
8675
|
-
[R]?: Server_DH_Params;
|
|
8676
|
-
}
|
|
8677
|
-
export interface set_client_DH_params {
|
|
8678
|
-
_: "set_client_DH_params";
|
|
8679
|
-
nonce: bigint;
|
|
8680
|
-
server_nonce: bigint;
|
|
8681
|
-
encrypted_data: Uint8Array;
|
|
8682
|
-
[R]?: Set_client_DH_params_answer;
|
|
8683
|
-
}
|
|
8684
|
-
export interface rpc_drop_answer {
|
|
8685
|
-
_: "rpc_drop_answer";
|
|
8686
|
-
req_msg_id: bigint;
|
|
8687
|
-
[R]?: RpcDropAnswer;
|
|
8688
|
-
}
|
|
8689
|
-
export interface get_future_salts {
|
|
8690
|
-
_: "get_future_salts";
|
|
8691
|
-
num: number;
|
|
8692
|
-
[R]?: FutureSalts;
|
|
8693
|
-
}
|
|
8694
|
-
export interface ping {
|
|
8695
|
-
_: "ping";
|
|
8696
|
-
ping_id: bigint;
|
|
8697
|
-
[R]?: Pong;
|
|
8698
|
-
}
|
|
8699
|
-
export interface ping_delay_disconnect {
|
|
8700
|
-
_: "ping_delay_disconnect";
|
|
8701
|
-
ping_id: bigint;
|
|
8702
|
-
disconnect_delay: number;
|
|
8703
|
-
[R]?: Pong;
|
|
8704
|
-
}
|
|
8705
|
-
export interface destroy_session {
|
|
8706
|
-
_: "destroy_session";
|
|
8707
|
-
session_id: bigint;
|
|
8708
|
-
[R]?: DestroySessionRes;
|
|
8709
|
-
}
|
|
8710
|
-
export interface destroy_auth_key {
|
|
8711
|
-
_: "destroy_auth_key";
|
|
8712
|
-
[R]?: DestroyAuthKeyRes;
|
|
8713
|
-
}
|
|
8714
8491
|
export interface invokeWithBusinessConnectionPrefix {
|
|
8715
8492
|
_: "invokeWithBusinessConnectionPrefix";
|
|
8716
8493
|
connection_id: string;
|
|
@@ -13217,40 +12994,6 @@ export interface fragment_getCollectibleInfo {
|
|
|
13217
12994
|
[R]?: fragment_CollectibleInfo;
|
|
13218
12995
|
}
|
|
13219
12996
|
export interface Types {
|
|
13220
|
-
"resPQ": resPQ;
|
|
13221
|
-
"p_q_inner_data_dc": p_q_inner_data_dc;
|
|
13222
|
-
"p_q_inner_data_temp_dc": p_q_inner_data_temp_dc;
|
|
13223
|
-
"server_DH_params_ok": server_DH_params_ok;
|
|
13224
|
-
"server_DH_inner_data": server_DH_inner_data;
|
|
13225
|
-
"client_DH_inner_data": client_DH_inner_data;
|
|
13226
|
-
"dh_gen_ok": dh_gen_ok;
|
|
13227
|
-
"dh_gen_retry": dh_gen_retry;
|
|
13228
|
-
"dh_gen_fail": dh_gen_fail;
|
|
13229
|
-
"bind_auth_key_inner": bind_auth_key_inner;
|
|
13230
|
-
"rpc_error": rpc_error;
|
|
13231
|
-
"rpc_answer_unknown": rpc_answer_unknown;
|
|
13232
|
-
"rpc_answer_dropped_running": rpc_answer_dropped_running;
|
|
13233
|
-
"rpc_answer_dropped": rpc_answer_dropped;
|
|
13234
|
-
"future_salt": future_salt;
|
|
13235
|
-
"future_salts": future_salts;
|
|
13236
|
-
"pong": pong;
|
|
13237
|
-
"destroy_session_ok": destroy_session_ok;
|
|
13238
|
-
"destroy_session_none": destroy_session_none;
|
|
13239
|
-
"new_session_created": new_session_created;
|
|
13240
|
-
"gzip_packed": gzip_packed;
|
|
13241
|
-
"msgs_ack": msgs_ack;
|
|
13242
|
-
"bad_msg_notification": bad_msg_notification;
|
|
13243
|
-
"bad_server_salt": bad_server_salt;
|
|
13244
|
-
"msg_resend_req": msg_resend_req;
|
|
13245
|
-
"msgs_state_req": msgs_state_req;
|
|
13246
|
-
"msgs_state_info": msgs_state_info;
|
|
13247
|
-
"msgs_all_info": msgs_all_info;
|
|
13248
|
-
"msg_detailed_info": msg_detailed_info;
|
|
13249
|
-
"msg_new_detailed_info": msg_new_detailed_info;
|
|
13250
|
-
"destroy_auth_key_ok": destroy_auth_key_ok;
|
|
13251
|
-
"destroy_auth_key_none": destroy_auth_key_none;
|
|
13252
|
-
"destroy_auth_key_fail": destroy_auth_key_fail;
|
|
13253
|
-
"http_wait": http_wait;
|
|
13254
12997
|
"true": true_;
|
|
13255
12998
|
"error": error;
|
|
13256
12999
|
"ipPort": ipPort;
|
|
@@ -14666,15 +14409,6 @@ export interface Types {
|
|
|
14666
14409
|
"requirementToContactPaidMessages": requirementToContactPaidMessages;
|
|
14667
14410
|
}
|
|
14668
14411
|
export interface Functions<T = Function> {
|
|
14669
|
-
"req_pq_multi": req_pq_multi;
|
|
14670
|
-
"req_DH_params": req_DH_params;
|
|
14671
|
-
"set_client_DH_params": set_client_DH_params;
|
|
14672
|
-
"rpc_drop_answer": rpc_drop_answer;
|
|
14673
|
-
"get_future_salts": get_future_salts;
|
|
14674
|
-
"ping": ping;
|
|
14675
|
-
"ping_delay_disconnect": ping_delay_disconnect;
|
|
14676
|
-
"destroy_session": destroy_session;
|
|
14677
|
-
"destroy_auth_key": destroy_auth_key;
|
|
14678
14412
|
"invokeWithBusinessConnectionPrefix": invokeWithBusinessConnectionPrefix;
|
|
14679
14413
|
"invokeWithGooglePlayIntegrityPrefix": invokeWithGooglePlayIntegrityPrefix;
|
|
14680
14414
|
"invokeWithApnsSecretPrefix": invokeWithApnsSecretPrefix;
|
|
@@ -15375,30 +15109,6 @@ export interface Functions<T = Function> {
|
|
|
15375
15109
|
"fragment.getCollectibleInfo": fragment_getCollectibleInfo;
|
|
15376
15110
|
}
|
|
15377
15111
|
export interface Enums {
|
|
15378
|
-
"ResPQ": ResPQ;
|
|
15379
|
-
"P_Q_inner_data": P_Q_inner_data;
|
|
15380
|
-
"Server_DH_Params": Server_DH_Params;
|
|
15381
|
-
"Server_DH_inner_data": Server_DH_inner_data;
|
|
15382
|
-
"Client_DH_Inner_Data": Client_DH_Inner_Data;
|
|
15383
|
-
"Set_client_DH_params_answer": Set_client_DH_params_answer;
|
|
15384
|
-
"BindAuthKeyInner": BindAuthKeyInner;
|
|
15385
|
-
"RpcError": RpcError;
|
|
15386
|
-
"RpcDropAnswer": RpcDropAnswer;
|
|
15387
|
-
"FutureSalt": FutureSalt;
|
|
15388
|
-
"FutureSalts": FutureSalts;
|
|
15389
|
-
"Pong": Pong;
|
|
15390
|
-
"DestroySessionRes": DestroySessionRes;
|
|
15391
|
-
"NewSession": NewSession;
|
|
15392
|
-
"Object": Object;
|
|
15393
|
-
"MsgsAck": MsgsAck;
|
|
15394
|
-
"BadMsgNotification": BadMsgNotification;
|
|
15395
|
-
"MsgResendReq": MsgResendReq;
|
|
15396
|
-
"MsgsStateReq": MsgsStateReq;
|
|
15397
|
-
"MsgsStateInfo": MsgsStateInfo;
|
|
15398
|
-
"MsgsAllInfo": MsgsAllInfo;
|
|
15399
|
-
"MsgDetailedInfo": MsgDetailedInfo;
|
|
15400
|
-
"DestroyAuthKeyRes": DestroyAuthKeyRes;
|
|
15401
|
-
"HttpWait": HttpWait;
|
|
15402
15112
|
"True": True;
|
|
15403
15113
|
"Error": Error;
|
|
15404
15114
|
"IpPort": IpPort;
|
|
@@ -15940,30 +15650,6 @@ export type AnyType = Types[keyof Types];
|
|
|
15940
15650
|
export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
|
|
15941
15651
|
export type AnyGenericFunction<T> = invokeAfterMsg<T> | invokeAfterMsgs<T> | initConnection<T> | invokeWithLayer<T> | invokeWithoutUpdates<T> | invokeWithMessagesRange<T> | invokeWithTakeout<T> | invokeWithBusinessConnection<T> | invokeWithGooglePlayIntegrity<T> | invokeWithApnsSecret<T> | invokeWithReCaptcha<T>;
|
|
15942
15652
|
export type AnyObject<T = Function> = AnyType | AnyFunction<T>;
|
|
15943
|
-
export type ResPQ = resPQ;
|
|
15944
|
-
export type P_Q_inner_data = p_q_inner_data_dc | p_q_inner_data_temp_dc;
|
|
15945
|
-
export type Server_DH_Params = server_DH_params_ok;
|
|
15946
|
-
export type Server_DH_inner_data = server_DH_inner_data;
|
|
15947
|
-
export type Client_DH_Inner_Data = client_DH_inner_data;
|
|
15948
|
-
export type Set_client_DH_params_answer = dh_gen_ok | dh_gen_retry | dh_gen_fail;
|
|
15949
|
-
export type BindAuthKeyInner = bind_auth_key_inner;
|
|
15950
|
-
export type RpcError = rpc_error;
|
|
15951
|
-
export type RpcDropAnswer = rpc_answer_unknown | rpc_answer_dropped_running | rpc_answer_dropped;
|
|
15952
|
-
export type FutureSalt = future_salt;
|
|
15953
|
-
export type FutureSalts = future_salts;
|
|
15954
|
-
export type Pong = pong;
|
|
15955
|
-
export type DestroySessionRes = destroy_session_ok | destroy_session_none;
|
|
15956
|
-
export type NewSession = new_session_created;
|
|
15957
|
-
export type Object = gzip_packed;
|
|
15958
|
-
export type MsgsAck = msgs_ack;
|
|
15959
|
-
export type BadMsgNotification = bad_msg_notification | bad_server_salt;
|
|
15960
|
-
export type MsgResendReq = msg_resend_req;
|
|
15961
|
-
export type MsgsStateReq = msgs_state_req;
|
|
15962
|
-
export type MsgsStateInfo = msgs_state_info;
|
|
15963
|
-
export type MsgsAllInfo = msgs_all_info;
|
|
15964
|
-
export type MsgDetailedInfo = msg_detailed_info | msg_new_detailed_info;
|
|
15965
|
-
export type DestroyAuthKeyRes = destroy_auth_key_ok | destroy_auth_key_none | destroy_auth_key_fail;
|
|
15966
|
-
export type HttpWait = http_wait;
|
|
15967
15653
|
export type True = true_;
|
|
15968
15654
|
export type Error = error;
|
|
15969
15655
|
export type IpPort = ipPort | ipPortSecret;
|
|
@@ -16500,10 +16186,7 @@ export type payments_StarGiftWithdrawalUrl = payments_starGiftWithdrawalUrl;
|
|
|
16500
16186
|
export type PaidReactionPrivacy = paidReactionPrivacyDefault | paidReactionPrivacyAnonymous | paidReactionPrivacyPeer;
|
|
16501
16187
|
export type account_PaidMessagesRevenue = account_paidMessagesRevenue;
|
|
16502
16188
|
export type RequirementToContact = requirementToContactEmpty | requirementToContactPremium | requirementToContactPaidMessages;
|
|
16503
|
-
export declare const
|
|
16504
|
-
export
|
|
16505
|
-
export declare const getType: (name: string) => Parameters | undefined;
|
|
16506
|
-
export declare const getEnum: (name: string) => (keyof Types)[] | undefined;
|
|
16507
|
-
export declare const _types: Map<string, Parameters> | undefined;
|
|
16189
|
+
export declare const schema: Schema;
|
|
16190
|
+
export declare const LAYER = 200;
|
|
16508
16191
|
export {};
|
|
16509
|
-
//# sourceMappingURL=
|
|
16192
|
+
//# sourceMappingURL=1_telegram_api.d.ts.map
|