@mtkruto/node 0.12.0 → 0.14.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/0_deps.d.ts +2 -2
- package/esm/0_deps.js +2 -2
- package/esm/0_errors.d.ts +1 -1
- package/esm/0_errors.js +1 -1
- package/esm/1_utilities.d.ts +1 -1
- package/esm/1_utilities.js +1 -1
- package/esm/2_connection.d.ts +1 -1
- package/esm/2_connection.js +1 -1
- package/esm/2_storage.d.ts +1 -1
- package/esm/2_storage.js +1 -1
- package/esm/2_tl.d.ts +1 -1
- package/esm/2_tl.js +1 -1
- package/esm/3_errors.d.ts +1 -1
- package/esm/3_errors.js +1 -1
- package/esm/3_transport.d.ts +1 -1
- package/esm/3_transport.js +1 -1
- package/esm/3_types.d.ts +1 -1
- package/esm/3_types.js +1 -1
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +2 -2
- package/esm/4_errors.d.ts +1 -1
- package/esm/4_errors.js +1 -1
- package/esm/5_client.d.ts +1 -1
- package/esm/5_client.js +1 -1
- package/esm/client/0_client_abstract.js +1 -1
- package/esm/client/0_filters.d.ts +1 -1
- package/esm/client/0_filters.js +1 -1
- package/esm/client/0_html.d.ts +1 -1
- package/esm/client/0_html.js +1 -1
- package/esm/client/0_markdown.d.ts +1 -1
- package/esm/client/0_markdown.js +1 -1
- package/esm/client/0_message.d.ts +1 -1
- package/esm/client/0_message.js +1 -1
- package/esm/client/0_params.d.ts +16 -8
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_params.js +1 -1
- package/esm/client/0_password.js +1 -1
- package/esm/client/0_storage_operations.d.ts +11 -1
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_storage_operations.js +33 -1
- package/esm/client/0_utilities.d.ts +3 -3
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/0_utilities.js +1 -1
- package/esm/client/1_client_encrypted.d.ts +1 -1
- package/esm/client/1_client_encrypted.js +1 -1
- package/esm/client/1_client_plain.d.ts +1 -1
- package/esm/client/1_client_plain.js +1 -1
- package/esm/client/1_composer.d.ts +1 -1
- package/esm/client/1_composer.js +1 -1
- package/esm/client/1_types.d.ts +1 -1
- package/esm/client/1_types.js +1 -1
- package/esm/client/2_account_manager.d.ts +1 -1
- package/esm/client/2_account_manager.js +1 -1
- package/esm/client/2_bot_info_manager.d.ts +1 -1
- package/esm/client/2_bot_info_manager.js +1 -1
- package/esm/client/2_business_connection_manager.d.ts +1 -1
- package/esm/client/2_business_connection_manager.js +1 -1
- package/esm/client/2_file_manager.js +1 -1
- package/esm/client/2_network_statistics_manager.d.ts +1 -1
- package/esm/client/2_network_statistics_manager.js +1 -1
- package/esm/client/2_payment_manager.d.ts +1 -1
- package/esm/client/2_payment_manager.js +1 -1
- package/esm/client/2_reaction_manager.d.ts +1 -1
- package/esm/client/2_reaction_manager.js +1 -1
- package/esm/client/2_update_manager.d.ts +1 -1
- package/esm/client/2_update_manager.js +1 -1
- package/esm/client/3_message_manager.d.ts +3 -2
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +55 -6
- package/esm/client/3_video_chat_manager.d.ts +2 -2
- package/esm/client/3_video_chat_manager.d.ts.map +1 -1
- package/esm/client/3_video_chat_manager.js +4 -1
- package/esm/client/4_callback_query_manager.d.ts +1 -1
- package/esm/client/4_callback_query_manager.js +1 -1
- package/esm/client/4_chat_list_manager.d.ts +1 -1
- package/esm/client/4_chat_list_manager.js +1 -1
- package/esm/client/4_inline_query_manager.d.ts +1 -1
- package/esm/client/4_inline_query_manager.js +1 -1
- package/esm/client/4_poll_manager.d.ts +38 -0
- package/esm/client/4_poll_manager.d.ts.map +1 -0
- package/esm/client/4_poll_manager.js +111 -0
- package/esm/client/4_story_manager.d.ts +1 -1
- package/esm/client/4_story_manager.js +1 -1
- package/esm/client/5_client.d.ts +30 -3
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +57 -5
- package/esm/connection/0_connection.d.ts +1 -1
- package/esm/connection/0_connection.js +1 -1
- package/esm/connection/1_connection_tcp.node.d.ts +1 -1
- package/esm/connection/1_connection_tcp.node.js +1 -1
- package/esm/connection/1_connection_web_socket.js +1 -1
- package/{script/deps/jsr.io/@std/encoding/1.0.6 → esm/deps/jsr.io/@std/encoding/1.0.5}/_validate_binary_like.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.d.ts.map +1 -1
- package/esm/mod.d.ts +1 -1
- package/esm/mod.js +1 -1
- package/esm/storage/0_storage.d.ts +1 -1
- package/esm/storage/0_storage.js +1 -1
- package/esm/storage/1_utilities.d.ts +1 -1
- package/esm/storage/1_utilities.js +1 -1
- package/esm/storage/2_storage_indexed_db.d.ts +1 -1
- package/esm/storage/2_storage_indexed_db.js +1 -1
- package/esm/storage/2_storage_local_storage.node.d.ts +1 -1
- package/esm/storage/2_storage_local_storage.node.js +1 -1
- package/esm/storage/2_storage_memory.d.ts +1 -1
- package/esm/storage/2_storage_memory.js +1 -1
- package/esm/storage/2_storage_session_storage.d.ts +1 -1
- package/esm/storage/2_storage_session_storage.js +1 -1
- package/esm/tl/0_api.d.ts +218 -79
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +362 -159
- package/esm/tl/0_tl_raw_reader.d.ts +1 -1
- package/esm/tl/0_tl_raw_reader.js +1 -1
- package/esm/tl/0_tl_raw_writer.d.ts +1 -1
- package/esm/tl/0_tl_raw_writer.js +1 -1
- package/esm/tl/1_utilities.d.ts +1 -1
- package/esm/tl/1_utilities.js +1 -1
- package/esm/tl/2_deserialize.d.ts +1 -1
- package/esm/tl/2_deserialize.js +1 -1
- package/esm/tl/2_serialize.d.ts +1 -1
- package/esm/tl/2_serialize.js +1 -1
- package/esm/tl/3_tl_reader.d.ts +1 -1
- package/esm/tl/3_tl_reader.js +1 -1
- package/esm/tl/3_utilities.d.ts +1 -1
- package/esm/tl/3_utilities.js +1 -1
- package/esm/tl/4_rpc_result.d.ts +1 -1
- package/esm/tl/4_rpc_result.js +1 -1
- package/esm/tl/4_tl_writer.d.ts +1 -1
- package/esm/tl/4_tl_writer.js +1 -1
- package/esm/tl/5_message.d.ts +1 -1
- package/esm/tl/5_message.js +1 -1
- package/esm/transport/0_obfuscation.js +1 -1
- package/esm/transport/0_transport.d.ts +1 -1
- package/esm/transport/0_transport.js +1 -1
- package/esm/transport/1_transport_abridged.d.ts +1 -1
- package/esm/transport/1_transport_abridged.js +1 -1
- package/esm/transport/1_transport_intermediate.d.ts +1 -1
- package/esm/transport/1_transport_intermediate.js +1 -1
- package/esm/transport/2_transport_provider.d.ts +1 -1
- package/esm/transport/2_transport_provider.js +1 -1
- package/esm/transport/3_transport_provider_tcp.d.ts +1 -1
- package/esm/transport/3_transport_provider_tcp.js +1 -1
- package/esm/transport/3_transport_provider_web_socket.d.ts +1 -1
- package/esm/transport/3_transport_provider_web_socket.js +1 -1
- package/esm/types/0_authorization_state.d.ts +1 -1
- package/esm/types/0_authorization_state.js +1 -1
- package/esm/types/0_birthday.d.ts +1 -1
- package/esm/types/0_birthday.js +1 -1
- package/esm/types/0_bot_command.d.ts +1 -1
- package/esm/types/0_bot_command.js +1 -1
- package/esm/types/0_callback_query_answer.d.ts +1 -1
- package/esm/types/0_callback_query_answer.js +1 -1
- package/esm/types/0_callback_query_question.d.ts +1 -1
- package/esm/types/0_callback_query_question.js +1 -1
- package/esm/types/0_chat_action.d.ts +1 -1
- package/esm/types/0_chat_action.js +1 -1
- package/esm/types/0_chat_administrator_rights.d.ts +1 -1
- package/esm/types/0_chat_administrator_rights.js +1 -1
- package/esm/types/0_chat_member_rights.d.ts +1 -1
- package/esm/types/0_chat_member_rights.js +1 -1
- package/esm/types/0_chat_photo.d.ts +1 -1
- package/esm/types/0_chat_photo.js +1 -1
- package/esm/types/0_connection_state.d.ts +1 -1
- package/esm/types/0_connection_state.js +1 -1
- package/esm/types/0_contact.d.ts +1 -1
- package/esm/types/0_contact.js +1 -1
- package/esm/types/0_dice.d.ts +1 -1
- package/esm/types/0_dice.js +1 -1
- package/esm/types/0_failed_invitation.d.ts +1 -1
- package/esm/types/0_failed_invitation.js +1 -1
- package/esm/types/0_file_source.d.ts +1 -1
- package/esm/types/0_file_source.js +1 -1
- package/esm/types/0_giveaway_parameters.d.ts +1 -1
- package/esm/types/0_giveaway_parameters.js +1 -1
- package/esm/types/0_id.d.ts +1 -1
- package/esm/types/0_id.js +1 -1
- package/esm/types/0_invoice.d.ts +1 -1
- package/esm/types/0_invoice.js +1 -1
- package/esm/types/0_keyboard_button_poll_type.d.ts +1 -1
- package/esm/types/0_keyboard_button_poll_type.js +1 -1
- package/esm/types/0_link_preview.d.ts +1 -1
- package/esm/types/0_link_preview.js +1 -1
- package/esm/types/0_live_stream_channel.d.ts +1 -1
- package/esm/types/0_live_stream_channel.js +1 -1
- package/esm/types/0_location.d.ts +1 -1
- package/esm/types/0_location.js +1 -1
- package/esm/types/0_login_url.d.ts +1 -1
- package/esm/types/0_login_url.js +1 -1
- package/esm/types/0_mask_position.d.ts +1 -1
- package/esm/types/0_mask_position.js +1 -1
- package/esm/types/0_message_entity.d.ts +1 -1
- package/esm/types/0_message_entity.js +1 -1
- package/esm/types/0_message_reference.d.ts +1 -1
- package/esm/types/0_message_reference.js +1 -1
- package/esm/types/0_message_search_filter.d.ts +1 -1
- package/esm/types/0_message_search_filter.js +1 -1
- package/esm/types/0_mini_app_info.d.ts +1 -1
- package/esm/types/0_mini_app_info.js +1 -1
- package/esm/types/0_network_statistics_entry.d.ts +1 -1
- package/esm/types/0_network_statistics_entry.js +1 -1
- package/esm/types/0_opening_hours.d.ts +1 -1
- package/esm/types/0_opening_hours.js +1 -1
- package/esm/types/0_parse_mode.d.ts +1 -1
- package/esm/types/0_parse_mode.js +1 -1
- package/esm/types/0_price_tag.d.ts +1 -1
- package/esm/types/0_price_tag.js +1 -1
- package/esm/types/0_reaction.d.ts +1 -1
- package/esm/types/0_reaction.js +1 -1
- package/esm/types/0_refunded_payment.d.ts +1 -1
- package/esm/types/0_refunded_payment.js +1 -1
- package/esm/types/0_restriction_reason.d.ts +1 -1
- package/esm/types/0_restriction_reason.js +1 -1
- package/esm/types/0_self_destruct_option.d.ts +1 -1
- package/esm/types/0_self_destruct_option.js +1 -1
- package/esm/types/0_shipping_address.d.ts +1 -1
- package/esm/types/0_shipping_address.js +1 -1
- package/esm/types/0_story_reference.d.ts +1 -1
- package/esm/types/0_story_reference.js +1 -1
- package/esm/types/0_switch_inline_query_chosen_chats.d.ts +1 -1
- package/esm/types/0_switch_inline_query_chosen_chats.js +1 -1
- package/esm/types/0_thumbnail.d.ts +1 -1
- package/esm/types/0_thumbnail.js +1 -1
- package/esm/types/0_video_chat.d.ts +1 -1
- package/esm/types/0_video_chat.js +1 -1
- package/esm/types/0_voice.d.ts +1 -1
- package/esm/types/0_voice.js +1 -1
- package/esm/types/1_animation.d.ts +1 -1
- package/esm/types/1_animation.js +1 -1
- package/esm/types/1_audio.d.ts +1 -1
- package/esm/types/1_audio.js +1 -1
- package/esm/types/1_bot_command_scope.d.ts +1 -1
- package/esm/types/1_bot_command_scope.js +1 -1
- package/esm/types/1_chat_p.d.ts +1 -1
- package/esm/types/1_chat_p.js +1 -1
- package/esm/types/1_document.d.ts +1 -1
- package/esm/types/1_document.js +1 -1
- package/esm/types/1_giveaway.d.ts +1 -1
- package/esm/types/1_giveaway.js +1 -1
- package/esm/types/1_inline_query_result_button.d.ts +1 -1
- package/esm/types/1_inline_query_result_button.js +1 -1
- package/esm/types/1_input_media.d.ts +1 -1
- package/esm/types/1_input_media.js +1 -1
- package/esm/types/1_input_story_content.d.ts +1 -1
- package/esm/types/1_input_story_content.js +1 -1
- package/esm/types/1_keyboard_button.d.ts +1 -1
- package/esm/types/1_keyboard_button.js +1 -1
- package/esm/types/1_message_content.d.ts +2 -2
- package/esm/types/1_message_content.d.ts.map +1 -1
- package/esm/types/1_message_content.js +1 -1
- package/esm/types/1_message_reaction.d.ts +1 -1
- package/esm/types/1_message_reaction.js +1 -1
- package/esm/types/1_network_statistics.d.ts +1 -1
- package/esm/types/1_network_statistics.js +1 -1
- package/esm/types/1_order_info.d.ts +1 -1
- package/esm/types/1_order_info.js +1 -1
- package/esm/types/1_photo.d.ts +1 -1
- package/esm/types/1_photo.js +1 -1
- package/esm/types/1_poll_option.d.ts +3 -1
- package/esm/types/1_poll_option.d.ts.map +1 -1
- package/esm/types/1_poll_option.js +4 -2
- package/esm/types/1_reaction_count.d.ts +1 -1
- package/esm/types/1_reaction_count.js +1 -1
- package/esm/types/1_reply_quote.d.ts +1 -1
- package/esm/types/1_reply_quote.js +1 -1
- package/esm/types/1_sticker.d.ts +1 -1
- package/esm/types/1_sticker.js +1 -1
- package/esm/types/1_story_privacy.d.ts +1 -1
- package/esm/types/1_story_privacy.js +1 -1
- package/esm/types/1_story_reaction.d.ts +1 -1
- package/esm/types/1_story_reaction.js +1 -1
- package/esm/types/1_user.d.ts +1 -1
- package/esm/types/1_user.js +1 -1
- package/esm/types/1_venue.d.ts +1 -1
- package/esm/types/1_venue.js +1 -1
- package/esm/types/1_video.d.ts +1 -1
- package/esm/types/1_video.js +1 -1
- package/esm/types/1_video_note.d.ts +1 -1
- package/esm/types/1_video_note.js +1 -1
- package/esm/types/2_business_connection.d.ts +1 -1
- package/esm/types/2_business_connection.js +1 -1
- package/esm/types/2_chat.d.ts +1 -1
- package/esm/types/2_chat.js +1 -1
- package/esm/types/2_chat_member.d.ts +1 -1
- package/esm/types/2_chat_member.js +1 -1
- package/esm/types/2_chosen_inline_result.d.ts +1 -1
- package/esm/types/2_chosen_inline_result.js +1 -1
- package/esm/types/2_forward_header.d.ts +1 -1
- package/esm/types/2_forward_header.js +1 -1
- package/esm/types/2_game.d.ts +1 -1
- package/esm/types/2_game.js +1 -1
- package/esm/types/2_inactive_chat.d.ts +1 -1
- package/esm/types/2_inactive_chat.js +1 -1
- package/esm/types/2_inline_keyboard_button.d.ts +1 -1
- package/esm/types/2_inline_keyboard_button.js +1 -1
- package/esm/types/2_inline_query.d.ts +1 -1
- package/esm/types/2_inline_query.js +1 -1
- package/esm/types/2_invite_link.d.ts +1 -1
- package/esm/types/2_invite_link.js +1 -1
- package/esm/types/2_message_interactions.d.ts +1 -1
- package/esm/types/2_message_interactions.js +1 -1
- package/esm/types/2_message_reaction_count.d.ts +1 -1
- package/esm/types/2_message_reaction_count.js +1 -1
- package/esm/types/2_message_reactions.d.ts +1 -1
- package/esm/types/2_message_reactions.js +1 -1
- package/esm/types/2_poll.d.ts +1 -1
- package/esm/types/2_poll.d.ts.map +1 -1
- package/esm/types/2_poll.js +1 -1
- package/esm/types/2_pre_checkout_query.d.ts +1 -1
- package/esm/types/2_pre_checkout_query.js +1 -1
- package/esm/types/2_reply_to.d.ts +1 -1
- package/esm/types/2_reply_to.js +1 -1
- package/esm/types/2_story_content.d.ts +1 -1
- package/esm/types/2_story_content.js +1 -1
- package/esm/types/2_story_interactions.d.ts +1 -1
- package/esm/types/2_story_interactions.js +1 -1
- package/esm/types/2_story_interactive_area.d.ts +1 -1
- package/esm/types/2_story_interactive_area.js +1 -1
- package/esm/types/2_successful_payment.d.ts +1 -1
- package/esm/types/2_successful_payment.js +1 -1
- package/esm/types/3_chat_member_updated.d.ts +1 -1
- package/esm/types/3_chat_member_updated.js +1 -1
- package/esm/types/3_join_request.d.ts +1 -1
- package/esm/types/3_join_request.js +1 -1
- package/esm/types/3_reply_markup.d.ts +1 -1
- package/esm/types/3_reply_markup.js +1 -1
- package/esm/types/3_story.d.ts +1 -1
- package/esm/types/3_story.js +1 -1
- package/esm/types/4_inline_query_result.d.ts +1 -1
- package/esm/types/4_inline_query_result.js +1 -1
- package/esm/types/4_message.d.ts +3 -2
- package/esm/types/4_message.d.ts.map +1 -1
- package/esm/types/4_message.js +18 -6
- package/esm/types/5_callback_query.d.ts +1 -1
- package/esm/types/5_callback_query.js +1 -1
- package/esm/types/5_chat_list_item.d.ts +1 -1
- package/esm/types/5_chat_list_item.js +1 -1
- package/esm/types/5_inline_query_answer.d.ts +1 -1
- package/esm/types/5_inline_query_answer.js +1 -1
- package/esm/types/6_update.d.ts +23 -3
- package/esm/types/6_update.d.ts.map +1 -1
- package/esm/types/6_update.js +1 -1
- package/esm/types/_file_id.d.ts +1 -1
- package/esm/types/_file_id.js +1 -1
- package/esm/types/_getters.d.ts +1 -1
- package/esm/types/_getters.js +1 -1
- package/esm/utilities/0_bigint.js +1 -1
- package/esm/utilities/0_buffer.d.ts +1 -1
- package/esm/utilities/0_buffer.js +1 -1
- package/esm/utilities/0_cache_map.d.ts +1 -1
- package/esm/utilities/0_cache_map.js +1 -1
- package/esm/utilities/0_color.d.ts +1 -1
- package/esm/utilities/0_color.js +1 -1
- package/esm/utilities/0_env.js +1 -1
- package/esm/utilities/0_gunzip.d.ts +1 -1
- package/esm/utilities/0_gunzip.js +1 -1
- package/esm/utilities/0_hash.js +1 -1
- package/esm/utilities/0_misc.d.ts +1 -1
- package/esm/utilities/0_misc.js +1 -1
- package/esm/utilities/0_mutex.d.ts +1 -1
- package/esm/utilities/0_mutex.js +1 -1
- package/esm/utilities/0_object.d.ts +1 -1
- package/esm/utilities/0_object.js +1 -1
- package/esm/utilities/0_part_stream.d.ts +1 -1
- package/esm/utilities/0_part_stream.js +1 -1
- package/esm/utilities/0_rle.d.ts +1 -1
- package/esm/utilities/0_rle.js +1 -1
- package/esm/utilities/0_types.d.ts +1 -1
- package/esm/utilities/0_types.js +1 -1
- package/esm/utilities/0_units.d.ts +1 -1
- package/esm/utilities/0_units.js +1 -1
- package/esm/utilities/1_auth.js +1 -1
- package/esm/utilities/1_base64.d.ts +1 -1
- package/esm/utilities/1_base64.js +1 -1
- package/esm/utilities/1_crypto.d.ts +1 -1
- package/esm/utilities/1_crypto.js +1 -1
- package/esm/utilities/1_logger.d.ts +1 -1
- package/esm/utilities/1_logger.js +1 -1
- package/esm/utilities/1_math.d.ts +1 -1
- package/esm/utilities/1_math.js +1 -1
- package/esm/utilities/2_queue.d.ts +1 -1
- package/esm/utilities/2_queue.js +1 -1
- package/package.json +1 -1
- package/script/0_deps.d.ts +2 -2
- package/script/0_deps.js +2 -2
- package/script/0_errors.d.ts +1 -1
- package/script/0_errors.js +1 -1
- package/script/1_utilities.d.ts +1 -1
- package/script/1_utilities.js +1 -1
- package/script/2_connection.d.ts +1 -1
- package/script/2_connection.js +1 -1
- package/script/2_storage.d.ts +1 -1
- package/script/2_storage.js +1 -1
- package/script/2_tl.d.ts +1 -1
- package/script/2_tl.js +1 -1
- package/script/3_errors.d.ts +1 -1
- package/script/3_errors.js +1 -1
- package/script/3_transport.d.ts +1 -1
- package/script/3_transport.js +1 -1
- package/script/3_types.d.ts +1 -1
- package/script/3_types.js +1 -1
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +2 -2
- package/script/4_errors.d.ts +1 -1
- package/script/4_errors.js +1 -1
- package/script/5_client.d.ts +1 -1
- package/script/5_client.js +1 -1
- package/script/client/0_client_abstract.js +1 -1
- package/script/client/0_filters.d.ts +1 -1
- package/script/client/0_filters.js +1 -1
- package/script/client/0_html.d.ts +1 -1
- package/script/client/0_html.js +1 -1
- package/script/client/0_markdown.d.ts +1 -1
- package/script/client/0_markdown.js +1 -1
- package/script/client/0_message.d.ts +1 -1
- package/script/client/0_message.js +1 -1
- package/script/client/0_params.d.ts +16 -8
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_params.js +1 -1
- package/script/client/0_password.js +1 -1
- package/script/client/0_storage_operations.d.ts +11 -1
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_storage_operations.js +33 -1
- package/script/client/0_utilities.d.ts +3 -3
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +1 -1
- package/script/client/1_client_encrypted.d.ts +1 -1
- package/script/client/1_client_encrypted.js +1 -1
- package/script/client/1_client_plain.d.ts +1 -1
- package/script/client/1_client_plain.js +1 -1
- package/script/client/1_composer.d.ts +1 -1
- package/script/client/1_composer.js +1 -1
- package/script/client/1_types.d.ts +1 -1
- package/script/client/1_types.js +1 -1
- package/script/client/2_account_manager.d.ts +1 -1
- package/script/client/2_account_manager.js +1 -1
- package/script/client/2_bot_info_manager.d.ts +1 -1
- package/script/client/2_bot_info_manager.js +1 -1
- package/script/client/2_business_connection_manager.d.ts +1 -1
- package/script/client/2_business_connection_manager.js +1 -1
- package/script/client/2_file_manager.js +1 -1
- package/script/client/2_network_statistics_manager.d.ts +1 -1
- package/script/client/2_network_statistics_manager.js +1 -1
- package/script/client/2_payment_manager.d.ts +1 -1
- package/script/client/2_payment_manager.js +1 -1
- package/script/client/2_reaction_manager.d.ts +1 -1
- package/script/client/2_reaction_manager.js +1 -1
- package/script/client/2_update_manager.d.ts +1 -1
- package/script/client/2_update_manager.js +1 -1
- package/script/client/3_message_manager.d.ts +3 -2
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +54 -5
- package/script/client/3_video_chat_manager.d.ts +2 -2
- package/script/client/3_video_chat_manager.d.ts.map +1 -1
- package/script/client/3_video_chat_manager.js +4 -1
- package/script/client/4_callback_query_manager.d.ts +1 -1
- package/script/client/4_callback_query_manager.js +1 -1
- package/script/client/4_chat_list_manager.d.ts +1 -1
- package/script/client/4_chat_list_manager.js +1 -1
- package/script/client/4_inline_query_manager.d.ts +1 -1
- package/script/client/4_inline_query_manager.js +1 -1
- package/script/client/4_poll_manager.d.ts +38 -0
- package/script/client/4_poll_manager.d.ts.map +1 -0
- package/script/client/4_poll_manager.js +115 -0
- package/script/client/4_story_manager.d.ts +1 -1
- package/script/client/4_story_manager.js +1 -1
- package/script/client/5_client.d.ts +30 -3
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +57 -5
- package/script/connection/0_connection.d.ts +1 -1
- package/script/connection/0_connection.js +1 -1
- package/script/connection/1_connection_tcp.node.d.ts +1 -1
- package/script/connection/1_connection_tcp.node.js +1 -1
- package/script/connection/1_connection_web_socket.js +1 -1
- package/{esm/deps/jsr.io/@std/encoding/1.0.6 → script/deps/jsr.io/@std/encoding/1.0.5}/_validate_binary_like.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.d.ts.map +1 -1
- package/script/mod.d.ts +1 -1
- package/script/mod.js +1 -1
- package/script/storage/0_storage.d.ts +1 -1
- package/script/storage/0_storage.js +1 -1
- package/script/storage/1_utilities.d.ts +1 -1
- package/script/storage/1_utilities.js +1 -1
- package/script/storage/2_storage_indexed_db.d.ts +1 -1
- package/script/storage/2_storage_indexed_db.js +1 -1
- package/script/storage/2_storage_local_storage.node.d.ts +1 -1
- package/script/storage/2_storage_local_storage.node.js +1 -1
- package/script/storage/2_storage_memory.d.ts +1 -1
- package/script/storage/2_storage_memory.js +1 -1
- package/script/storage/2_storage_session_storage.d.ts +1 -1
- package/script/storage/2_storage_session_storage.js +1 -1
- package/script/tl/0_api.d.ts +218 -79
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +362 -159
- package/script/tl/0_tl_raw_reader.d.ts +1 -1
- package/script/tl/0_tl_raw_reader.js +1 -1
- package/script/tl/0_tl_raw_writer.d.ts +1 -1
- package/script/tl/0_tl_raw_writer.js +1 -1
- package/script/tl/1_utilities.d.ts +1 -1
- package/script/tl/1_utilities.js +1 -1
- package/script/tl/2_deserialize.d.ts +1 -1
- package/script/tl/2_deserialize.js +1 -1
- package/script/tl/2_serialize.d.ts +1 -1
- package/script/tl/2_serialize.js +1 -1
- package/script/tl/3_tl_reader.d.ts +1 -1
- package/script/tl/3_tl_reader.js +1 -1
- package/script/tl/3_utilities.d.ts +1 -1
- package/script/tl/3_utilities.js +1 -1
- package/script/tl/4_rpc_result.d.ts +1 -1
- package/script/tl/4_rpc_result.js +1 -1
- package/script/tl/4_tl_writer.d.ts +1 -1
- package/script/tl/4_tl_writer.js +1 -1
- package/script/tl/5_message.d.ts +1 -1
- package/script/tl/5_message.js +1 -1
- package/script/transport/0_obfuscation.js +1 -1
- package/script/transport/0_transport.d.ts +1 -1
- package/script/transport/0_transport.js +1 -1
- package/script/transport/1_transport_abridged.d.ts +1 -1
- package/script/transport/1_transport_abridged.js +1 -1
- package/script/transport/1_transport_intermediate.d.ts +1 -1
- package/script/transport/1_transport_intermediate.js +1 -1
- package/script/transport/2_transport_provider.d.ts +1 -1
- package/script/transport/2_transport_provider.js +1 -1
- package/script/transport/3_transport_provider_tcp.d.ts +1 -1
- package/script/transport/3_transport_provider_tcp.js +1 -1
- package/script/transport/3_transport_provider_web_socket.d.ts +1 -1
- package/script/transport/3_transport_provider_web_socket.js +1 -1
- package/script/types/0_authorization_state.d.ts +1 -1
- package/script/types/0_authorization_state.js +1 -1
- package/script/types/0_birthday.d.ts +1 -1
- package/script/types/0_birthday.js +1 -1
- package/script/types/0_bot_command.d.ts +1 -1
- package/script/types/0_bot_command.js +1 -1
- package/script/types/0_callback_query_answer.d.ts +1 -1
- package/script/types/0_callback_query_answer.js +1 -1
- package/script/types/0_callback_query_question.d.ts +1 -1
- package/script/types/0_callback_query_question.js +1 -1
- package/script/types/0_chat_action.d.ts +1 -1
- package/script/types/0_chat_action.js +1 -1
- package/script/types/0_chat_administrator_rights.d.ts +1 -1
- package/script/types/0_chat_administrator_rights.js +1 -1
- package/script/types/0_chat_member_rights.d.ts +1 -1
- package/script/types/0_chat_member_rights.js +1 -1
- package/script/types/0_chat_photo.d.ts +1 -1
- package/script/types/0_chat_photo.js +1 -1
- package/script/types/0_connection_state.d.ts +1 -1
- package/script/types/0_connection_state.js +1 -1
- package/script/types/0_contact.d.ts +1 -1
- package/script/types/0_contact.js +1 -1
- package/script/types/0_dice.d.ts +1 -1
- package/script/types/0_dice.js +1 -1
- package/script/types/0_failed_invitation.d.ts +1 -1
- package/script/types/0_failed_invitation.js +1 -1
- package/script/types/0_file_source.d.ts +1 -1
- package/script/types/0_file_source.js +1 -1
- package/script/types/0_giveaway_parameters.d.ts +1 -1
- package/script/types/0_giveaway_parameters.js +1 -1
- package/script/types/0_id.d.ts +1 -1
- package/script/types/0_id.js +1 -1
- package/script/types/0_invoice.d.ts +1 -1
- package/script/types/0_invoice.js +1 -1
- package/script/types/0_keyboard_button_poll_type.d.ts +1 -1
- package/script/types/0_keyboard_button_poll_type.js +1 -1
- package/script/types/0_link_preview.d.ts +1 -1
- package/script/types/0_link_preview.js +1 -1
- package/script/types/0_live_stream_channel.d.ts +1 -1
- package/script/types/0_live_stream_channel.js +1 -1
- package/script/types/0_location.d.ts +1 -1
- package/script/types/0_location.js +1 -1
- package/script/types/0_login_url.d.ts +1 -1
- package/script/types/0_login_url.js +1 -1
- package/script/types/0_mask_position.d.ts +1 -1
- package/script/types/0_mask_position.js +1 -1
- package/script/types/0_message_entity.d.ts +1 -1
- package/script/types/0_message_entity.js +1 -1
- package/script/types/0_message_reference.d.ts +1 -1
- package/script/types/0_message_reference.js +1 -1
- package/script/types/0_message_search_filter.d.ts +1 -1
- package/script/types/0_message_search_filter.js +1 -1
- package/script/types/0_mini_app_info.d.ts +1 -1
- package/script/types/0_mini_app_info.js +1 -1
- package/script/types/0_network_statistics_entry.d.ts +1 -1
- package/script/types/0_network_statistics_entry.js +1 -1
- package/script/types/0_opening_hours.d.ts +1 -1
- package/script/types/0_opening_hours.js +1 -1
- package/script/types/0_parse_mode.d.ts +1 -1
- package/script/types/0_parse_mode.js +1 -1
- package/script/types/0_price_tag.d.ts +1 -1
- package/script/types/0_price_tag.js +1 -1
- package/script/types/0_reaction.d.ts +1 -1
- package/script/types/0_reaction.js +1 -1
- package/script/types/0_refunded_payment.d.ts +1 -1
- package/script/types/0_refunded_payment.js +1 -1
- package/script/types/0_restriction_reason.d.ts +1 -1
- package/script/types/0_restriction_reason.js +1 -1
- package/script/types/0_self_destruct_option.d.ts +1 -1
- package/script/types/0_self_destruct_option.js +1 -1
- package/script/types/0_shipping_address.d.ts +1 -1
- package/script/types/0_shipping_address.js +1 -1
- package/script/types/0_story_reference.d.ts +1 -1
- package/script/types/0_story_reference.js +1 -1
- package/script/types/0_switch_inline_query_chosen_chats.d.ts +1 -1
- package/script/types/0_switch_inline_query_chosen_chats.js +1 -1
- package/script/types/0_thumbnail.d.ts +1 -1
- package/script/types/0_thumbnail.js +1 -1
- package/script/types/0_video_chat.d.ts +1 -1
- package/script/types/0_video_chat.js +1 -1
- package/script/types/0_voice.d.ts +1 -1
- package/script/types/0_voice.js +1 -1
- package/script/types/1_animation.d.ts +1 -1
- package/script/types/1_animation.js +1 -1
- package/script/types/1_audio.d.ts +1 -1
- package/script/types/1_audio.js +1 -1
- package/script/types/1_bot_command_scope.d.ts +1 -1
- package/script/types/1_bot_command_scope.js +1 -1
- package/script/types/1_chat_p.d.ts +1 -1
- package/script/types/1_chat_p.js +1 -1
- package/script/types/1_document.d.ts +1 -1
- package/script/types/1_document.js +1 -1
- package/script/types/1_giveaway.d.ts +1 -1
- package/script/types/1_giveaway.js +1 -1
- package/script/types/1_inline_query_result_button.d.ts +1 -1
- package/script/types/1_inline_query_result_button.js +1 -1
- package/script/types/1_input_media.d.ts +1 -1
- package/script/types/1_input_media.js +1 -1
- package/script/types/1_input_story_content.d.ts +1 -1
- package/script/types/1_input_story_content.js +1 -1
- package/script/types/1_keyboard_button.d.ts +1 -1
- package/script/types/1_keyboard_button.js +1 -1
- package/script/types/1_message_content.d.ts +2 -2
- package/script/types/1_message_content.d.ts.map +1 -1
- package/script/types/1_message_content.js +1 -1
- package/script/types/1_message_reaction.d.ts +1 -1
- package/script/types/1_message_reaction.js +1 -1
- package/script/types/1_network_statistics.d.ts +1 -1
- package/script/types/1_network_statistics.js +1 -1
- package/script/types/1_order_info.d.ts +1 -1
- package/script/types/1_order_info.js +1 -1
- package/script/types/1_photo.d.ts +1 -1
- package/script/types/1_photo.js +1 -1
- package/script/types/1_poll_option.d.ts +3 -1
- package/script/types/1_poll_option.d.ts.map +1 -1
- package/script/types/1_poll_option.js +4 -2
- package/script/types/1_reaction_count.d.ts +1 -1
- package/script/types/1_reaction_count.js +1 -1
- package/script/types/1_reply_quote.d.ts +1 -1
- package/script/types/1_reply_quote.js +1 -1
- package/script/types/1_sticker.d.ts +1 -1
- package/script/types/1_sticker.js +1 -1
- package/script/types/1_story_privacy.d.ts +1 -1
- package/script/types/1_story_privacy.js +1 -1
- package/script/types/1_story_reaction.d.ts +1 -1
- package/script/types/1_story_reaction.js +1 -1
- package/script/types/1_user.d.ts +1 -1
- package/script/types/1_user.js +1 -1
- package/script/types/1_venue.d.ts +1 -1
- package/script/types/1_venue.js +1 -1
- package/script/types/1_video.d.ts +1 -1
- package/script/types/1_video.js +1 -1
- package/script/types/1_video_note.d.ts +1 -1
- package/script/types/1_video_note.js +1 -1
- package/script/types/2_business_connection.d.ts +1 -1
- package/script/types/2_business_connection.js +1 -1
- package/script/types/2_chat.d.ts +1 -1
- package/script/types/2_chat.js +1 -1
- package/script/types/2_chat_member.d.ts +1 -1
- package/script/types/2_chat_member.js +1 -1
- package/script/types/2_chosen_inline_result.d.ts +1 -1
- package/script/types/2_chosen_inline_result.js +1 -1
- package/script/types/2_forward_header.d.ts +1 -1
- package/script/types/2_forward_header.js +1 -1
- package/script/types/2_game.d.ts +1 -1
- package/script/types/2_game.js +1 -1
- package/script/types/2_inactive_chat.d.ts +1 -1
- package/script/types/2_inactive_chat.js +1 -1
- package/script/types/2_inline_keyboard_button.d.ts +1 -1
- package/script/types/2_inline_keyboard_button.js +1 -1
- package/script/types/2_inline_query.d.ts +1 -1
- package/script/types/2_inline_query.js +1 -1
- package/script/types/2_invite_link.d.ts +1 -1
- package/script/types/2_invite_link.js +1 -1
- package/script/types/2_message_interactions.d.ts +1 -1
- package/script/types/2_message_interactions.js +1 -1
- package/script/types/2_message_reaction_count.d.ts +1 -1
- package/script/types/2_message_reaction_count.js +1 -1
- package/script/types/2_message_reactions.d.ts +1 -1
- package/script/types/2_message_reactions.js +1 -1
- package/script/types/2_poll.d.ts +1 -1
- package/script/types/2_poll.d.ts.map +1 -1
- package/script/types/2_poll.js +1 -1
- package/script/types/2_pre_checkout_query.d.ts +1 -1
- package/script/types/2_pre_checkout_query.js +1 -1
- package/script/types/2_reply_to.d.ts +1 -1
- package/script/types/2_reply_to.js +1 -1
- package/script/types/2_story_content.d.ts +1 -1
- package/script/types/2_story_content.js +1 -1
- package/script/types/2_story_interactions.d.ts +1 -1
- package/script/types/2_story_interactions.js +1 -1
- package/script/types/2_story_interactive_area.d.ts +1 -1
- package/script/types/2_story_interactive_area.js +1 -1
- package/script/types/2_successful_payment.d.ts +1 -1
- package/script/types/2_successful_payment.js +1 -1
- package/script/types/3_chat_member_updated.d.ts +1 -1
- package/script/types/3_chat_member_updated.js +1 -1
- package/script/types/3_join_request.d.ts +1 -1
- package/script/types/3_join_request.js +1 -1
- package/script/types/3_reply_markup.d.ts +1 -1
- package/script/types/3_reply_markup.js +1 -1
- package/script/types/3_story.d.ts +1 -1
- package/script/types/3_story.js +1 -1
- package/script/types/4_inline_query_result.d.ts +1 -1
- package/script/types/4_inline_query_result.js +1 -1
- package/script/types/4_message.d.ts +3 -2
- package/script/types/4_message.d.ts.map +1 -1
- package/script/types/4_message.js +19 -6
- package/script/types/5_callback_query.d.ts +1 -1
- package/script/types/5_callback_query.js +1 -1
- package/script/types/5_chat_list_item.d.ts +1 -1
- package/script/types/5_chat_list_item.js +1 -1
- package/script/types/5_inline_query_answer.d.ts +1 -1
- package/script/types/5_inline_query_answer.js +1 -1
- package/script/types/6_update.d.ts +23 -3
- package/script/types/6_update.d.ts.map +1 -1
- package/script/types/6_update.js +1 -1
- package/script/types/_file_id.d.ts +1 -1
- package/script/types/_file_id.js +1 -1
- package/script/types/_getters.d.ts +1 -1
- package/script/types/_getters.js +1 -1
- package/script/utilities/0_bigint.js +1 -1
- package/script/utilities/0_buffer.d.ts +1 -1
- package/script/utilities/0_buffer.js +1 -1
- package/script/utilities/0_cache_map.d.ts +1 -1
- package/script/utilities/0_cache_map.js +1 -1
- package/script/utilities/0_color.d.ts +1 -1
- package/script/utilities/0_color.js +1 -1
- package/script/utilities/0_env.js +1 -1
- package/script/utilities/0_gunzip.d.ts +1 -1
- package/script/utilities/0_gunzip.js +1 -1
- package/script/utilities/0_hash.js +1 -1
- package/script/utilities/0_misc.d.ts +1 -1
- package/script/utilities/0_misc.js +1 -1
- package/script/utilities/0_mutex.d.ts +1 -1
- package/script/utilities/0_mutex.js +1 -1
- package/script/utilities/0_object.d.ts +1 -1
- package/script/utilities/0_object.js +1 -1
- package/script/utilities/0_part_stream.d.ts +1 -1
- package/script/utilities/0_part_stream.js +1 -1
- package/script/utilities/0_rle.d.ts +1 -1
- package/script/utilities/0_rle.js +1 -1
- package/script/utilities/0_types.d.ts +1 -1
- package/script/utilities/0_types.js +1 -1
- package/script/utilities/0_units.d.ts +1 -1
- package/script/utilities/0_units.js +1 -1
- package/script/utilities/1_auth.js +1 -1
- package/script/utilities/1_base64.d.ts +1 -1
- package/script/utilities/1_base64.js +1 -1
- package/script/utilities/1_crypto.d.ts +1 -1
- package/script/utilities/1_crypto.js +1 -1
- package/script/utilities/1_logger.d.ts +1 -1
- package/script/utilities/1_logger.js +1 -1
- package/script/utilities/1_math.d.ts +1 -1
- package/script/utilities/1_math.js +1 -1
- package/script/utilities/2_queue.d.ts +1 -1
- package/script/utilities/2_queue.js +1 -1
- /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_validate_binary_like.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_validate_binary_like.js +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.js +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_validate_binary_like.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_validate_binary_like.js +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.js +0 -0
package/script/tl/0_api.js
CHANGED
|
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports._types = exports.getEnum = exports.getType = exports.flags = exports.getTypeName = void 0;
|
|
27
27
|
/**
|
|
28
28
|
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
29
|
-
* Copyright (C) 2023-
|
|
29
|
+
* Copyright (C) 2023-2025 Roj <https://roj.im/>
|
|
30
30
|
*
|
|
31
31
|
* This file is part of MTKruto.
|
|
32
32
|
*
|
|
@@ -81,12 +81,7 @@ const map = new Map([
|
|
|
81
81
|
[0x9299359F, "http_wait"],
|
|
82
82
|
[0x3FEDD339, "true"],
|
|
83
83
|
[0xC4B9F9BB, "error"],
|
|
84
|
-
[
|
|
85
|
-
[0x37982646, "ipPortSecret"],
|
|
86
|
-
[0x4679B65F, "accessPointRule"],
|
|
87
|
-
[0x5A592A6C, "help.configSimple"],
|
|
88
|
-
[0x27D69997, "inputPeerPhotoFileLocationLegacy"],
|
|
89
|
-
[0x0DBAEAE9, "inputStickerSetThumbLegacy"],
|
|
84
|
+
[0x56730BCC, "null"],
|
|
90
85
|
[0x7F3B18EA, "inputPeerEmpty"],
|
|
91
86
|
[0x7DA07EC9, "inputPeerSelf"],
|
|
92
87
|
[0x35A95CB9, "inputPeerChat"],
|
|
@@ -151,7 +146,7 @@ const map = new Map([
|
|
|
151
146
|
[0xB3CEA0E4, "storage.fileMp4"],
|
|
152
147
|
[0x1081464C, "storage.fileWebp"],
|
|
153
148
|
[0xD3BC4B7A, "userEmpty"],
|
|
154
|
-
[
|
|
149
|
+
[0x4B46C37E, "user"],
|
|
155
150
|
[0x4F11BAE1, "userProfilePhotoEmpty"],
|
|
156
151
|
[0x82D1F706, "userProfilePhoto"],
|
|
157
152
|
[0x09D05049, "userStatusEmpty"],
|
|
@@ -163,10 +158,10 @@ const map = new Map([
|
|
|
163
158
|
[0x29562865, "chatEmpty"],
|
|
164
159
|
[0x41CBF256, "chat"],
|
|
165
160
|
[0x6592A1A7, "chatForbidden"],
|
|
166
|
-
[
|
|
161
|
+
[0xE00998B7, "channel"],
|
|
167
162
|
[0x17D493D5, "channelForbidden"],
|
|
168
163
|
[0x2633421B, "chatFull"],
|
|
169
|
-
[
|
|
164
|
+
[0x9FF3B858, "channelFull"],
|
|
170
165
|
[0xC02D4007, "chatParticipant"],
|
|
171
166
|
[0xE46BCEE4, "chatParticipantCreator"],
|
|
172
167
|
[0xA0933F5B, "chatParticipantAdmin"],
|
|
@@ -175,8 +170,8 @@ const map = new Map([
|
|
|
175
170
|
[0x37C1011C, "chatPhotoEmpty"],
|
|
176
171
|
[0x1C6E1C11, "chatPhoto"],
|
|
177
172
|
[0x90A6CA84, "messageEmpty"],
|
|
178
|
-
[
|
|
179
|
-
[
|
|
173
|
+
[0x96FDBBE9, "message"],
|
|
174
|
+
[0xD3D28540, "messageService"],
|
|
180
175
|
[0x3DED6320, "messageMediaEmpty"],
|
|
181
176
|
[0x695150D7, "messageMediaPhoto"],
|
|
182
177
|
[0x56E0D474, "messageMediaGeo"],
|
|
@@ -240,7 +235,8 @@ const map = new Map([
|
|
|
240
235
|
[0x41B3E202, "messageActionPaymentRefunded"],
|
|
241
236
|
[0x45D5B021, "messageActionGiftStars"],
|
|
242
237
|
[0xB00C47A2, "messageActionPrizeStars"],
|
|
243
|
-
[
|
|
238
|
+
[0xD8F4F0A7, "messageActionStarGift"],
|
|
239
|
+
[0x26077B99, "messageActionStarGiftUnique"],
|
|
244
240
|
[0xD58A08C6, "dialog"],
|
|
245
241
|
[0x71BD134C, "dialogFolder"],
|
|
246
242
|
[0x2331B22D, "photoEmpty"],
|
|
@@ -278,7 +274,7 @@ const map = new Map([
|
|
|
278
274
|
[0xF5DDD6E7, "inputReportReasonFake"],
|
|
279
275
|
[0x0A8EB2BE, "inputReportReasonIllegalDrugs"],
|
|
280
276
|
[0x9EC7863D, "inputReportReasonPersonalDetails"],
|
|
281
|
-
[
|
|
277
|
+
[0x4D975BBC, "userFull"],
|
|
282
278
|
[0x145ADE0B, "contact"],
|
|
283
279
|
[0xC13E3C50, "importedContact"],
|
|
284
280
|
[0x16D9703B, "contactStatus"],
|
|
@@ -401,7 +397,7 @@ const map = new Map([
|
|
|
401
397
|
[0x5BB98608, "updatePinnedChannelMessages"],
|
|
402
398
|
[0xF89A6A4E, "updateChat"],
|
|
403
399
|
[0xF2EBDB4E, "updateGroupCallParticipants"],
|
|
404
|
-
[
|
|
400
|
+
[0x97D64341, "updateGroupCall"],
|
|
405
401
|
[0xBB9BB9A5, "updatePeerHistoryTTL"],
|
|
406
402
|
[0xD087663A, "updateChatParticipant"],
|
|
407
403
|
[0x985D3ABB, "updateChannelParticipant"],
|
|
@@ -604,7 +600,7 @@ const map = new Map([
|
|
|
604
600
|
[0xA22CBD96, "chatInviteExported"],
|
|
605
601
|
[0xED107AB7, "chatInvitePublicJoinRequests"],
|
|
606
602
|
[0x5A686D7C, "chatInviteAlready"],
|
|
607
|
-
[
|
|
603
|
+
[0x5C9D3702, "chatInvite"],
|
|
608
604
|
[0x61695CB0, "chatInvitePeek"],
|
|
609
605
|
[0xFFB62B95, "inputStickerSetEmpty"],
|
|
610
606
|
[0x9DE7A269, "inputStickerSetID"],
|
|
@@ -621,7 +617,7 @@ const map = new Map([
|
|
|
621
617
|
[0x6E153F16, "messages.stickerSet"],
|
|
622
618
|
[0xD3F924EB, "messages.stickerSetNotModified"],
|
|
623
619
|
[0xC27AC8C7, "botCommand"],
|
|
624
|
-
[
|
|
620
|
+
[0x4D8A0299, "botInfo"],
|
|
625
621
|
[0xA2FA4880, "keyboardButton"],
|
|
626
622
|
[0x258AFF05, "keyboardButtonUrl"],
|
|
627
623
|
[0x35BBDB6B, "keyboardButtonCallback"],
|
|
@@ -826,6 +822,7 @@ const map = new Map([
|
|
|
826
822
|
[0xE095C1A0, "phoneCallDiscardReasonDisconnect"],
|
|
827
823
|
[0x57ADC690, "phoneCallDiscardReasonHangup"],
|
|
828
824
|
[0xFAF7E8C9, "phoneCallDiscardReasonBusy"],
|
|
825
|
+
[0xAFE2B839, "phoneCallDiscardReasonAllowGroupCall"],
|
|
829
826
|
[0x7D748D04, "dataJSON"],
|
|
830
827
|
[0xCB296BF8, "labeledPrice"],
|
|
831
828
|
[0x049EE584, "invoice"],
|
|
@@ -858,11 +855,11 @@ const map = new Map([
|
|
|
858
855
|
[0x32DA9E9C, "inputStickerSetItem"],
|
|
859
856
|
[0x1E36FDED, "inputPhoneCall"],
|
|
860
857
|
[0x5366C915, "phoneCallEmpty"],
|
|
861
|
-
[
|
|
862
|
-
[
|
|
863
|
-
[
|
|
864
|
-
[
|
|
865
|
-
[
|
|
858
|
+
[0xEED42858, "phoneCallWaiting"],
|
|
859
|
+
[0x45361C63, "phoneCallRequested"],
|
|
860
|
+
[0x22FD7181, "phoneCallAccepted"],
|
|
861
|
+
[0x3BA5940C, "phoneCall"],
|
|
862
|
+
[0xF9D25503, "phoneCallDiscarded"],
|
|
866
863
|
[0x9CC123C7, "phoneConnection"],
|
|
867
864
|
[0x635FE375, "phoneConnectionWebrtc"],
|
|
868
865
|
[0xFC878FC8, "phoneCallProtocol"],
|
|
@@ -1083,9 +1080,9 @@ const map = new Map([
|
|
|
1083
1080
|
[0x4899484E, "messages.votesList"],
|
|
1084
1081
|
[0xF568028A, "bankCardOpenUrl"],
|
|
1085
1082
|
[0x3E24E573, "payments.bankCardData"],
|
|
1086
|
-
[
|
|
1083
|
+
[0xAA472651, "dialogFilter"],
|
|
1087
1084
|
[0x363293AE, "dialogFilterDefault"],
|
|
1088
|
-
[
|
|
1085
|
+
[0x96537BD7, "dialogFilterChatlist"],
|
|
1089
1086
|
[0x77744D4A, "dialogFilterSuggested"],
|
|
1090
1087
|
[0xB637EDAF, "statsDateRangeDays"],
|
|
1091
1088
|
[0xCB43ACDE, "statsAbsValueAndPrev"],
|
|
@@ -1117,7 +1114,7 @@ const map = new Map([
|
|
|
1117
1114
|
[0xE8FD8014, "peerBlocked"],
|
|
1118
1115
|
[0x7FE91C14, "stats.messageStats"],
|
|
1119
1116
|
[0x7780BCB4, "groupCallDiscarded"],
|
|
1120
|
-
[
|
|
1117
|
+
[0xCDF8D3E3, "groupCall"],
|
|
1121
1118
|
[0xD8AA840F, "inputGroupCall"],
|
|
1122
1119
|
[0xEBA636FE, "groupCallParticipant"],
|
|
1123
1120
|
[0x9E727AAD, "phone.groupCall"],
|
|
@@ -1205,6 +1202,8 @@ const map = new Map([
|
|
|
1205
1202
|
[0x65F00CE3, "inputInvoiceStars"],
|
|
1206
1203
|
[0x34E793F1, "inputInvoiceChatInviteSubscription"],
|
|
1207
1204
|
[0x25D8C1D8, "inputInvoiceStarGift"],
|
|
1205
|
+
[0x5EBE7262, "inputInvoiceStarGiftUpgrade"],
|
|
1206
|
+
[0xAE3BA9ED, "inputInvoiceStarGiftTransfer"],
|
|
1208
1207
|
[0xAED0CBD9, "payments.exportedInvoice"],
|
|
1209
1208
|
[0xCFB9D957, "messages.transcribedAudio"],
|
|
1210
1209
|
[0x5334759C, "help.premiumPromo"],
|
|
@@ -1279,7 +1278,7 @@ const map = new Map([
|
|
|
1279
1278
|
[0x10E6E3A6, "chatlists.exportedChatlistInvite"],
|
|
1280
1279
|
[0x10AB6DC7, "chatlists.exportedInvites"],
|
|
1281
1280
|
[0xFA87F659, "chatlists.chatlistInviteAlready"],
|
|
1282
|
-
[
|
|
1281
|
+
[0xF10ECE2F, "chatlists.chatlistInvite"],
|
|
1283
1282
|
[0x93BD878D, "chatlists.chatlistUpdates"],
|
|
1284
1283
|
[0xE8A775B0, "bots.botInfo"],
|
|
1285
1284
|
[0xB6CC2D5C, "messagePeerVote"],
|
|
@@ -1442,10 +1441,11 @@ const map = new Map([
|
|
|
1442
1441
|
[0x4BA3A95A, "messageReactor"],
|
|
1443
1442
|
[0x94CE852A, "starsGiveawayOption"],
|
|
1444
1443
|
[0x54236209, "starsGiveawayWinnersOption"],
|
|
1445
|
-
[
|
|
1444
|
+
[0x02CC73C8, "starGift"],
|
|
1445
|
+
[0x6A1407CD, "starGiftUnique"],
|
|
1446
1446
|
[0xA388A368, "payments.starGiftsNotModified"],
|
|
1447
1447
|
[0x901689EA, "payments.starGifts"],
|
|
1448
|
-
[
|
|
1448
|
+
[0x325835E1, "userStarGift"],
|
|
1449
1449
|
[0x6B65B517, "payments.userStarGifts"],
|
|
1450
1450
|
[0x7903E3D9, "messageReportOption"],
|
|
1451
1451
|
[0xF0E4E0B6, "reportResultChooseOption"],
|
|
@@ -1461,6 +1461,15 @@ const map = new Map([
|
|
|
1461
1461
|
[0xBBB6B4A3, "starsAmount"],
|
|
1462
1462
|
[0x6010C534, "messages.foundStickersNotModified"],
|
|
1463
1463
|
[0x82C9E290, "messages.foundStickers"],
|
|
1464
|
+
[0xB0CD6617, "botVerifierSettings"],
|
|
1465
|
+
[0xF93CD45C, "botVerification"],
|
|
1466
|
+
[0x39D99013, "starGiftAttributeModel"],
|
|
1467
|
+
[0x13ACFF19, "starGiftAttributePattern"],
|
|
1468
|
+
[0x94271762, "starGiftAttributeBackdrop"],
|
|
1469
|
+
[0xC02C4F4B, "starGiftAttributeOriginalDetails"],
|
|
1470
|
+
[0x167BD90B, "payments.starGiftUpgradePreview"],
|
|
1471
|
+
[0x62D706B8, "users.users"],
|
|
1472
|
+
[0x315A4974, "users.usersSlice"],
|
|
1464
1473
|
]);
|
|
1465
1474
|
exports.getTypeName = map.get.bind(map);
|
|
1466
1475
|
exports.flags = Symbol();
|
|
@@ -1491,10 +1500,7 @@ const enums = new Map([
|
|
|
1491
1500
|
["HttpWait", ["http_wait"]],
|
|
1492
1501
|
["True", ["true"]],
|
|
1493
1502
|
["Error", ["error"]],
|
|
1494
|
-
["
|
|
1495
|
-
["AccessPointRule", ["accessPointRule"]],
|
|
1496
|
-
["help.ConfigSimple", ["help.configSimple"]],
|
|
1497
|
-
["InputFileLocation", ["inputPeerPhotoFileLocationLegacy", "inputStickerSetThumbLegacy", "inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
|
|
1503
|
+
["Null", ["null"]],
|
|
1498
1504
|
["InputPeer", ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]],
|
|
1499
1505
|
["InputUser", ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]],
|
|
1500
1506
|
["InputContact", ["inputPhoneContact"]],
|
|
@@ -1503,6 +1509,7 @@ const enums = new Map([
|
|
|
1503
1509
|
["InputChatPhoto", ["inputChatPhotoEmpty", "inputChatUploadedPhoto", "inputChatPhoto"]],
|
|
1504
1510
|
["InputGeoPoint", ["inputGeoPointEmpty", "inputGeoPoint"]],
|
|
1505
1511
|
["InputPhoto", ["inputPhotoEmpty", "inputPhoto"]],
|
|
1512
|
+
["InputFileLocation", ["inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
|
|
1506
1513
|
["Peer", ["peerUser", "peerChat", "peerChannel"]],
|
|
1507
1514
|
["storage.FileType", ["storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp"]],
|
|
1508
1515
|
["User", ["userEmpty", "user"]],
|
|
@@ -1515,7 +1522,7 @@ const enums = new Map([
|
|
|
1515
1522
|
["ChatPhoto", ["chatPhotoEmpty", "chatPhoto"]],
|
|
1516
1523
|
["Message", ["messageEmpty", "message", "messageService"]],
|
|
1517
1524
|
["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia"]],
|
|
1518
|
-
["MessageAction", ["messageActionEmpty", "messageActionChatCreate", "messageActionChatEditTitle", "messageActionChatEditPhoto", "messageActionChatDeletePhoto", "messageActionChatAddUser", "messageActionChatDeleteUser", "messageActionChatJoinedByLink", "messageActionChannelCreate", "messageActionChatMigrateTo", "messageActionChannelMigrateFrom", "messageActionPinMessage", "messageActionHistoryClear", "messageActionGameScore", "messageActionPaymentSentMe", "messageActionPaymentSent", "messageActionPhoneCall", "messageActionScreenshotTaken", "messageActionCustomAction", "messageActionBotAllowed", "messageActionSecureValuesSentMe", "messageActionSecureValuesSent", "messageActionContactSignUp", "messageActionGeoProximityReached", "messageActionGroupCall", "messageActionInviteToGroupCall", "messageActionSetMessagesTTL", "messageActionGroupCallScheduled", "messageActionSetChatTheme", "messageActionChatJoinedByRequest", "messageActionWebViewDataSentMe", "messageActionWebViewDataSent", "messageActionGiftPremium", "messageActionTopicCreate", "messageActionTopicEdit", "messageActionSuggestProfilePhoto", "messageActionRequestedPeer", "messageActionSetChatWallPaper", "messageActionGiftCode", "messageActionGiveawayLaunch", "messageActionGiveawayResults", "messageActionBoostApply", "messageActionRequestedPeerSentMe", "messageActionPaymentRefunded", "messageActionGiftStars", "messageActionPrizeStars", "messageActionStarGift"]],
|
|
1525
|
+
["MessageAction", ["messageActionEmpty", "messageActionChatCreate", "messageActionChatEditTitle", "messageActionChatEditPhoto", "messageActionChatDeletePhoto", "messageActionChatAddUser", "messageActionChatDeleteUser", "messageActionChatJoinedByLink", "messageActionChannelCreate", "messageActionChatMigrateTo", "messageActionChannelMigrateFrom", "messageActionPinMessage", "messageActionHistoryClear", "messageActionGameScore", "messageActionPaymentSentMe", "messageActionPaymentSent", "messageActionPhoneCall", "messageActionScreenshotTaken", "messageActionCustomAction", "messageActionBotAllowed", "messageActionSecureValuesSentMe", "messageActionSecureValuesSent", "messageActionContactSignUp", "messageActionGeoProximityReached", "messageActionGroupCall", "messageActionInviteToGroupCall", "messageActionSetMessagesTTL", "messageActionGroupCallScheduled", "messageActionSetChatTheme", "messageActionChatJoinedByRequest", "messageActionWebViewDataSentMe", "messageActionWebViewDataSent", "messageActionGiftPremium", "messageActionTopicCreate", "messageActionTopicEdit", "messageActionSuggestProfilePhoto", "messageActionRequestedPeer", "messageActionSetChatWallPaper", "messageActionGiftCode", "messageActionGiveawayLaunch", "messageActionGiveawayResults", "messageActionBoostApply", "messageActionRequestedPeerSentMe", "messageActionPaymentRefunded", "messageActionGiftStars", "messageActionPrizeStars", "messageActionStarGift", "messageActionStarGiftUnique"]],
|
|
1519
1526
|
["Dialog", ["dialog", "dialogFolder"]],
|
|
1520
1527
|
["Photo", ["photoEmpty", "photo"]],
|
|
1521
1528
|
["PhotoSize", ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]],
|
|
@@ -1782,7 +1789,7 @@ const enums = new Map([
|
|
|
1782
1789
|
["messages.HighScores", ["messages.highScores"]],
|
|
1783
1790
|
["RichText", ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor"]],
|
|
1784
1791
|
["PageBlock", ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap"]],
|
|
1785
|
-
["PhoneCallDiscardReason", ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy"]],
|
|
1792
|
+
["PhoneCallDiscardReason", ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonAllowGroupCall"]],
|
|
1786
1793
|
["DataJSON", ["dataJSON"]],
|
|
1787
1794
|
["LabeledPrice", ["labeledPrice"]],
|
|
1788
1795
|
["Invoice", ["invoice"]],
|
|
@@ -2033,7 +2040,7 @@ const enums = new Map([
|
|
|
2033
2040
|
["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
|
|
2034
2041
|
["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
|
|
2035
2042
|
["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
|
|
2036
|
-
["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift"]],
|
|
2043
|
+
["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift", "inputInvoiceStarGiftUpgrade", "inputInvoiceStarGiftTransfer"]],
|
|
2037
2044
|
["payments.ExportedInvoice", ["payments.exportedInvoice"]],
|
|
2038
2045
|
["messages.TranscribedAudio", ["messages.transcribedAudio"]],
|
|
2039
2046
|
["help.PremiumPromo", ["help.premiumPromo"]],
|
|
@@ -2192,7 +2199,7 @@ const enums = new Map([
|
|
|
2192
2199
|
["MessageReactor", ["messageReactor"]],
|
|
2193
2200
|
["StarsGiveawayOption", ["starsGiveawayOption"]],
|
|
2194
2201
|
["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
|
|
2195
|
-
["StarGift", ["starGift"]],
|
|
2202
|
+
["StarGift", ["starGift", "starGiftUnique"]],
|
|
2196
2203
|
["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
|
|
2197
2204
|
["UserStarGift", ["userStarGift"]],
|
|
2198
2205
|
["payments.UserStarGifts", ["payments.userStarGifts"]],
|
|
@@ -2207,6 +2214,11 @@ const enums = new Map([
|
|
|
2207
2214
|
["payments.SuggestedStarRefBots", ["payments.suggestedStarRefBots"]],
|
|
2208
2215
|
["StarsAmount", ["starsAmount"]],
|
|
2209
2216
|
["messages.FoundStickers", ["messages.foundStickersNotModified", "messages.foundStickers"]],
|
|
2217
|
+
["BotVerifierSettings", ["botVerifierSettings"]],
|
|
2218
|
+
["BotVerification", ["botVerification"]],
|
|
2219
|
+
["StarGiftAttribute", ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]],
|
|
2220
|
+
["payments.StarGiftUpgradePreview", ["payments.starGiftUpgradePreview"]],
|
|
2221
|
+
["users.Users", ["users.users", "users.usersSlice"]],
|
|
2210
2222
|
]);
|
|
2211
2223
|
const types = new Map([
|
|
2212
2224
|
[
|
|
@@ -2583,70 +2595,10 @@ const types = new Map([
|
|
|
2583
2595
|
],
|
|
2584
2596
|
],
|
|
2585
2597
|
[
|
|
2586
|
-
"
|
|
2598
|
+
"null",
|
|
2587
2599
|
[
|
|
2588
|
-
|
|
2589
|
-
[
|
|
2590
|
-
["ipv4", "number", "int"],
|
|
2591
|
-
["port", "number", "int"],
|
|
2592
|
-
],
|
|
2593
|
-
],
|
|
2594
|
-
],
|
|
2595
|
-
[
|
|
2596
|
-
"ipPortSecret",
|
|
2597
|
-
[
|
|
2598
|
-
0x37982646,
|
|
2599
|
-
[
|
|
2600
|
-
["ipv4", "number", "int"],
|
|
2601
|
-
["port", "number", "int"],
|
|
2602
|
-
["secret", Uint8Array, "bytes"],
|
|
2603
|
-
],
|
|
2604
|
-
],
|
|
2605
|
-
],
|
|
2606
|
-
[
|
|
2607
|
-
"accessPointRule",
|
|
2608
|
-
[
|
|
2609
|
-
0x4679B65F,
|
|
2610
|
-
[
|
|
2611
|
-
["phone_prefix_rules", "string", "string"],
|
|
2612
|
-
["dc_id", "number", "int"],
|
|
2613
|
-
["ips", ["IpPort"], "vector<IpPort>"],
|
|
2614
|
-
],
|
|
2615
|
-
],
|
|
2616
|
-
],
|
|
2617
|
-
[
|
|
2618
|
-
"help.configSimple",
|
|
2619
|
-
[
|
|
2620
|
-
0x5A592A6C,
|
|
2621
|
-
[
|
|
2622
|
-
["date", "number", "int"],
|
|
2623
|
-
["expires", "number", "int"],
|
|
2624
|
-
["rules", ["AccessPointRule"], "vector<AccessPointRule>"],
|
|
2625
|
-
],
|
|
2626
|
-
],
|
|
2627
|
-
],
|
|
2628
|
-
[
|
|
2629
|
-
"inputPeerPhotoFileLocationLegacy",
|
|
2630
|
-
[
|
|
2631
|
-
0x27D69997,
|
|
2632
|
-
[
|
|
2633
|
-
["flags", exports.flags, "#"],
|
|
2634
|
-
["big", "true", "flags.0?true"],
|
|
2635
|
-
["peer", "InputPeer", "InputPeer"],
|
|
2636
|
-
["volume_id", "bigint", "long"],
|
|
2637
|
-
["local_id", "number", "int"],
|
|
2638
|
-
],
|
|
2639
|
-
],
|
|
2640
|
-
],
|
|
2641
|
-
[
|
|
2642
|
-
"inputStickerSetThumbLegacy",
|
|
2643
|
-
[
|
|
2644
|
-
0x0DBAEAE9,
|
|
2645
|
-
[
|
|
2646
|
-
["stickerset", "InputStickerSet", "InputStickerSet"],
|
|
2647
|
-
["volume_id", "bigint", "long"],
|
|
2648
|
-
["local_id", "number", "int"],
|
|
2649
|
-
],
|
|
2600
|
+
0x56730BCC,
|
|
2601
|
+
[],
|
|
2650
2602
|
],
|
|
2651
2603
|
],
|
|
2652
2604
|
[
|
|
@@ -3301,7 +3253,7 @@ const types = new Map([
|
|
|
3301
3253
|
[
|
|
3302
3254
|
"user",
|
|
3303
3255
|
[
|
|
3304
|
-
|
|
3256
|
+
0x4B46C37E,
|
|
3305
3257
|
[
|
|
3306
3258
|
["flags", exports.flags, "#"],
|
|
3307
3259
|
["self", "true", "flags.10?true"],
|
|
@@ -3348,6 +3300,7 @@ const types = new Map([
|
|
|
3348
3300
|
["color", "PeerColor", "flags2.8?PeerColor"],
|
|
3349
3301
|
["profile_color", "PeerColor", "flags2.9?PeerColor"],
|
|
3350
3302
|
["bot_active_users", "number", "flags2.12?int"],
|
|
3303
|
+
["bot_verification_icon", "bigint", "flags2.14?long"],
|
|
3351
3304
|
],
|
|
3352
3305
|
],
|
|
3353
3306
|
],
|
|
@@ -3473,7 +3426,7 @@ const types = new Map([
|
|
|
3473
3426
|
[
|
|
3474
3427
|
"channel",
|
|
3475
3428
|
[
|
|
3476
|
-
|
|
3429
|
+
0xE00998B7,
|
|
3477
3430
|
[
|
|
3478
3431
|
["flags", exports.flags, "#"],
|
|
3479
3432
|
["creator", "true", "flags.0?true"],
|
|
@@ -3519,6 +3472,7 @@ const types = new Map([
|
|
|
3519
3472
|
["emoji_status", "EmojiStatus", "flags2.9?EmojiStatus"],
|
|
3520
3473
|
["level", "number", "flags2.10?int"],
|
|
3521
3474
|
["subscription_until_date", "number", "flags2.11?int"],
|
|
3475
|
+
["bot_verification_icon", "bigint", "flags2.13?long"],
|
|
3522
3476
|
],
|
|
3523
3477
|
],
|
|
3524
3478
|
],
|
|
@@ -3569,7 +3523,7 @@ const types = new Map([
|
|
|
3569
3523
|
[
|
|
3570
3524
|
"channelFull",
|
|
3571
3525
|
[
|
|
3572
|
-
|
|
3526
|
+
0x9FF3B858,
|
|
3573
3527
|
[
|
|
3574
3528
|
["flags", exports.flags, "#"],
|
|
3575
3529
|
["can_view_participants", "true", "flags.3?true"],
|
|
@@ -3633,6 +3587,7 @@ const types = new Map([
|
|
|
3633
3587
|
["boosts_applied", "number", "flags2.8?int"],
|
|
3634
3588
|
["boosts_unrestrict", "number", "flags2.9?int"],
|
|
3635
3589
|
["emojiset", "StickerSet", "flags2.10?StickerSet"],
|
|
3590
|
+
["bot_verification", "BotVerification", "flags2.17?BotVerification"],
|
|
3636
3591
|
],
|
|
3637
3592
|
],
|
|
3638
3593
|
],
|
|
@@ -3723,7 +3678,7 @@ const types = new Map([
|
|
|
3723
3678
|
[
|
|
3724
3679
|
"message",
|
|
3725
3680
|
[
|
|
3726
|
-
|
|
3681
|
+
0x96FDBBE9,
|
|
3727
3682
|
[
|
|
3728
3683
|
["flags", exports.flags, "#"],
|
|
3729
3684
|
["out", "true", "flags.1?true"],
|
|
@@ -3766,18 +3721,20 @@ const types = new Map([
|
|
|
3766
3721
|
["quick_reply_shortcut_id", "number", "flags.30?int"],
|
|
3767
3722
|
["effect", "bigint", "flags2.2?long"],
|
|
3768
3723
|
["factcheck", "FactCheck", "flags2.3?FactCheck"],
|
|
3724
|
+
["report_delivery_until_date", "number", "flags2.5?int"],
|
|
3769
3725
|
],
|
|
3770
3726
|
],
|
|
3771
3727
|
],
|
|
3772
3728
|
[
|
|
3773
3729
|
"messageService",
|
|
3774
3730
|
[
|
|
3775
|
-
|
|
3731
|
+
0xD3D28540,
|
|
3776
3732
|
[
|
|
3777
3733
|
["flags", exports.flags, "#"],
|
|
3778
3734
|
["out", "true", "flags.1?true"],
|
|
3779
3735
|
["mentioned", "true", "flags.4?true"],
|
|
3780
3736
|
["media_unread", "true", "flags.5?true"],
|
|
3737
|
+
["reactions_are_possible", "true", "flags.9?true"],
|
|
3781
3738
|
["silent", "true", "flags.13?true"],
|
|
3782
3739
|
["post", "true", "flags.14?true"],
|
|
3783
3740
|
["legacy", "true", "flags.19?true"],
|
|
@@ -3787,6 +3744,7 @@ const types = new Map([
|
|
|
3787
3744
|
["reply_to", "MessageReplyHeader", "flags.3?MessageReplyHeader"],
|
|
3788
3745
|
["date", "number", "int"],
|
|
3789
3746
|
["action", "MessageAction", "MessageAction"],
|
|
3747
|
+
["reactions", "MessageReactions", "flags.20?MessageReactions"],
|
|
3790
3748
|
["ttl_period", "number", "flags.25?int"],
|
|
3791
3749
|
],
|
|
3792
3750
|
],
|
|
@@ -4494,15 +4452,36 @@ const types = new Map([
|
|
|
4494
4452
|
[
|
|
4495
4453
|
"messageActionStarGift",
|
|
4496
4454
|
[
|
|
4497
|
-
|
|
4455
|
+
0xD8F4F0A7,
|
|
4498
4456
|
[
|
|
4499
4457
|
["flags", exports.flags, "#"],
|
|
4500
4458
|
["name_hidden", "true", "flags.0?true"],
|
|
4501
4459
|
["saved", "true", "flags.2?true"],
|
|
4502
4460
|
["converted", "true", "flags.3?true"],
|
|
4461
|
+
["upgraded", "true", "flags.5?true"],
|
|
4462
|
+
["refunded", "true", "flags.9?true"],
|
|
4463
|
+
["can_upgrade", "true", "flags.10?true"],
|
|
4503
4464
|
["gift", "StarGift", "StarGift"],
|
|
4504
4465
|
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
4505
4466
|
["convert_stars", "bigint", "flags.4?long"],
|
|
4467
|
+
["upgrade_msg_id", "number", "flags.5?int"],
|
|
4468
|
+
["upgrade_stars", "bigint", "flags.8?long"],
|
|
4469
|
+
],
|
|
4470
|
+
],
|
|
4471
|
+
],
|
|
4472
|
+
[
|
|
4473
|
+
"messageActionStarGiftUnique",
|
|
4474
|
+
[
|
|
4475
|
+
0x26077B99,
|
|
4476
|
+
[
|
|
4477
|
+
["flags", exports.flags, "#"],
|
|
4478
|
+
["upgrade", "true", "flags.0?true"],
|
|
4479
|
+
["transferred", "true", "flags.1?true"],
|
|
4480
|
+
["saved", "true", "flags.2?true"],
|
|
4481
|
+
["refunded", "true", "flags.5?true"],
|
|
4482
|
+
["gift", "StarGift", "StarGift"],
|
|
4483
|
+
["can_export_at", "number", "flags.3?int"],
|
|
4484
|
+
["transfer_stars", "bigint", "flags.4?long"],
|
|
4506
4485
|
],
|
|
4507
4486
|
],
|
|
4508
4487
|
],
|
|
@@ -4919,7 +4898,7 @@ const types = new Map([
|
|
|
4919
4898
|
[
|
|
4920
4899
|
"userFull",
|
|
4921
4900
|
[
|
|
4922
|
-
|
|
4901
|
+
0x4D975BBC,
|
|
4923
4902
|
[
|
|
4924
4903
|
["flags", exports.flags, "#"],
|
|
4925
4904
|
["blocked", "true", "flags.0?true"],
|
|
@@ -4968,6 +4947,7 @@ const types = new Map([
|
|
|
4968
4947
|
["personal_channel_message", "number", "flags2.6?int"],
|
|
4969
4948
|
["stargifts_count", "number", "flags2.8?int"],
|
|
4970
4949
|
["starref_program", "StarRefProgram", "flags2.11?StarRefProgram"],
|
|
4950
|
+
["bot_verification", "BotVerification", "flags2.12?BotVerification"],
|
|
4971
4951
|
],
|
|
4972
4952
|
],
|
|
4973
4953
|
],
|
|
@@ -6241,9 +6221,10 @@ const types = new Map([
|
|
|
6241
6221
|
[
|
|
6242
6222
|
"updateGroupCall",
|
|
6243
6223
|
[
|
|
6244
|
-
|
|
6224
|
+
0x97D64341,
|
|
6245
6225
|
[
|
|
6246
|
-
["
|
|
6226
|
+
["flags", exports.flags, "#"],
|
|
6227
|
+
["chat_id", "bigint", "flags.0?long"],
|
|
6247
6228
|
["call", "GroupCall", "GroupCall"],
|
|
6248
6229
|
],
|
|
6249
6230
|
],
|
|
@@ -8342,7 +8323,7 @@ const types = new Map([
|
|
|
8342
8323
|
[
|
|
8343
8324
|
"chatInvite",
|
|
8344
8325
|
[
|
|
8345
|
-
|
|
8326
|
+
0x5C9D3702,
|
|
8346
8327
|
[
|
|
8347
8328
|
["flags", exports.flags, "#"],
|
|
8348
8329
|
["channel", "true", "flags.0?true"],
|
|
@@ -8362,6 +8343,7 @@ const types = new Map([
|
|
|
8362
8343
|
["color", "number", "int"],
|
|
8363
8344
|
["subscription_pricing", "StarsSubscriptionPricing", "flags.10?StarsSubscriptionPricing"],
|
|
8364
8345
|
["subscription_form_id", "bigint", "flags.12?long"],
|
|
8346
|
+
["bot_verification", "BotVerification", "flags.13?BotVerification"],
|
|
8365
8347
|
],
|
|
8366
8348
|
],
|
|
8367
8349
|
],
|
|
@@ -8518,7 +8500,7 @@ const types = new Map([
|
|
|
8518
8500
|
[
|
|
8519
8501
|
"botInfo",
|
|
8520
8502
|
[
|
|
8521
|
-
|
|
8503
|
+
0x4D8A0299,
|
|
8522
8504
|
[
|
|
8523
8505
|
["flags", exports.flags, "#"],
|
|
8524
8506
|
["has_preview_medias", "true", "flags.6?true"],
|
|
@@ -8530,6 +8512,7 @@ const types = new Map([
|
|
|
8530
8512
|
["menu_button", "BotMenuButton", "flags.3?BotMenuButton"],
|
|
8531
8513
|
["privacy_policy_url", "string", "flags.7?string"],
|
|
8532
8514
|
["app_settings", "BotAppSettings", "flags.8?BotAppSettings"],
|
|
8515
|
+
["verifier_settings", "BotVerifierSettings", "flags.9?BotVerifierSettings"],
|
|
8533
8516
|
],
|
|
8534
8517
|
],
|
|
8535
8518
|
],
|
|
@@ -10706,6 +10689,15 @@ const types = new Map([
|
|
|
10706
10689
|
[],
|
|
10707
10690
|
],
|
|
10708
10691
|
],
|
|
10692
|
+
[
|
|
10693
|
+
"phoneCallDiscardReasonAllowGroupCall",
|
|
10694
|
+
[
|
|
10695
|
+
0xAFE2B839,
|
|
10696
|
+
[
|
|
10697
|
+
["encrypted_key", Uint8Array, "bytes"],
|
|
10698
|
+
],
|
|
10699
|
+
],
|
|
10700
|
+
],
|
|
10709
10701
|
[
|
|
10710
10702
|
"dataJSON",
|
|
10711
10703
|
[
|
|
@@ -11111,7 +11103,7 @@ const types = new Map([
|
|
|
11111
11103
|
[
|
|
11112
11104
|
"phoneCallWaiting",
|
|
11113
11105
|
[
|
|
11114
|
-
|
|
11106
|
+
0xEED42858,
|
|
11115
11107
|
[
|
|
11116
11108
|
["flags", exports.flags, "#"],
|
|
11117
11109
|
["video", "true", "flags.6?true"],
|
|
@@ -11122,13 +11114,14 @@ const types = new Map([
|
|
|
11122
11114
|
["participant_id", "bigint", "long"],
|
|
11123
11115
|
["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
|
|
11124
11116
|
["receive_date", "number", "flags.0?int"],
|
|
11117
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11125
11118
|
],
|
|
11126
11119
|
],
|
|
11127
11120
|
],
|
|
11128
11121
|
[
|
|
11129
11122
|
"phoneCallRequested",
|
|
11130
11123
|
[
|
|
11131
|
-
|
|
11124
|
+
0x45361C63,
|
|
11132
11125
|
[
|
|
11133
11126
|
["flags", exports.flags, "#"],
|
|
11134
11127
|
["video", "true", "flags.6?true"],
|
|
@@ -11139,13 +11132,14 @@ const types = new Map([
|
|
|
11139
11132
|
["participant_id", "bigint", "long"],
|
|
11140
11133
|
["g_a_hash", Uint8Array, "bytes"],
|
|
11141
11134
|
["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
|
|
11135
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11142
11136
|
],
|
|
11143
11137
|
],
|
|
11144
11138
|
],
|
|
11145
11139
|
[
|
|
11146
11140
|
"phoneCallAccepted",
|
|
11147
11141
|
[
|
|
11148
|
-
|
|
11142
|
+
0x22FD7181,
|
|
11149
11143
|
[
|
|
11150
11144
|
["flags", exports.flags, "#"],
|
|
11151
11145
|
["video", "true", "flags.6?true"],
|
|
@@ -11156,13 +11150,14 @@ const types = new Map([
|
|
|
11156
11150
|
["participant_id", "bigint", "long"],
|
|
11157
11151
|
["g_b", Uint8Array, "bytes"],
|
|
11158
11152
|
["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
|
|
11153
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11159
11154
|
],
|
|
11160
11155
|
],
|
|
11161
11156
|
],
|
|
11162
11157
|
[
|
|
11163
11158
|
"phoneCall",
|
|
11164
11159
|
[
|
|
11165
|
-
|
|
11160
|
+
0x3BA5940C,
|
|
11166
11161
|
[
|
|
11167
11162
|
["flags", exports.flags, "#"],
|
|
11168
11163
|
["p2p_allowed", "true", "flags.5?true"],
|
|
@@ -11178,13 +11173,14 @@ const types = new Map([
|
|
|
11178
11173
|
["connections", ["PhoneConnection"], "Vector<PhoneConnection>"],
|
|
11179
11174
|
["start_date", "number", "int"],
|
|
11180
11175
|
["custom_parameters", "DataJSON", "flags.7?DataJSON"],
|
|
11176
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11181
11177
|
],
|
|
11182
11178
|
],
|
|
11183
11179
|
],
|
|
11184
11180
|
[
|
|
11185
11181
|
"phoneCallDiscarded",
|
|
11186
11182
|
[
|
|
11187
|
-
|
|
11183
|
+
0xF9D25503,
|
|
11188
11184
|
[
|
|
11189
11185
|
["flags", exports.flags, "#"],
|
|
11190
11186
|
["need_rating", "true", "flags.2?true"],
|
|
@@ -11193,6 +11189,7 @@ const types = new Map([
|
|
|
11193
11189
|
["id", "bigint", "long"],
|
|
11194
11190
|
["reason", "PhoneCallDiscardReason", "flags.0?PhoneCallDiscardReason"],
|
|
11195
11191
|
["duration", "number", "flags.1?int"],
|
|
11192
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11196
11193
|
],
|
|
11197
11194
|
],
|
|
11198
11195
|
],
|
|
@@ -13501,7 +13498,7 @@ const types = new Map([
|
|
|
13501
13498
|
[
|
|
13502
13499
|
"dialogFilter",
|
|
13503
13500
|
[
|
|
13504
|
-
|
|
13501
|
+
0xAA472651,
|
|
13505
13502
|
[
|
|
13506
13503
|
["flags", exports.flags, "#"],
|
|
13507
13504
|
["contacts", "true", "flags.0?true"],
|
|
@@ -13512,8 +13509,9 @@ const types = new Map([
|
|
|
13512
13509
|
["exclude_muted", "true", "flags.11?true"],
|
|
13513
13510
|
["exclude_read", "true", "flags.12?true"],
|
|
13514
13511
|
["exclude_archived", "true", "flags.13?true"],
|
|
13512
|
+
["title_noanimate", "true", "flags.28?true"],
|
|
13515
13513
|
["id", "number", "int"],
|
|
13516
|
-
["title", "
|
|
13514
|
+
["title", "TextWithEntities", "TextWithEntities"],
|
|
13517
13515
|
["emoticon", "string", "flags.25?string"],
|
|
13518
13516
|
["color", "number", "flags.27?int"],
|
|
13519
13517
|
["pinned_peers", ["InputPeer"], "Vector<InputPeer>"],
|
|
@@ -13532,12 +13530,13 @@ const types = new Map([
|
|
|
13532
13530
|
[
|
|
13533
13531
|
"dialogFilterChatlist",
|
|
13534
13532
|
[
|
|
13535
|
-
|
|
13533
|
+
0x96537BD7,
|
|
13536
13534
|
[
|
|
13537
13535
|
["flags", exports.flags, "#"],
|
|
13538
13536
|
["has_my_invites", "true", "flags.26?true"],
|
|
13537
|
+
["title_noanimate", "true", "flags.28?true"],
|
|
13539
13538
|
["id", "number", "int"],
|
|
13540
|
-
["title", "
|
|
13539
|
+
["title", "TextWithEntities", "TextWithEntities"],
|
|
13541
13540
|
["emoticon", "string", "flags.25?string"],
|
|
13542
13541
|
["color", "number", "flags.27?int"],
|
|
13543
13542
|
["pinned_peers", ["InputPeer"], "Vector<InputPeer>"],
|
|
@@ -13938,7 +13937,7 @@ const types = new Map([
|
|
|
13938
13937
|
[
|
|
13939
13938
|
"groupCall",
|
|
13940
13939
|
[
|
|
13941
|
-
|
|
13940
|
+
0xCDF8D3E3,
|
|
13942
13941
|
[
|
|
13943
13942
|
["flags", exports.flags, "#"],
|
|
13944
13943
|
["join_muted", "true", "flags.1?true"],
|
|
@@ -13959,6 +13958,7 @@ const types = new Map([
|
|
|
13959
13958
|
["unmuted_video_count", "number", "flags.10?int"],
|
|
13960
13959
|
["unmuted_video_limit", "number", "int"],
|
|
13961
13960
|
["version", "number", "int"],
|
|
13961
|
+
["conference_from_call", "bigint", "flags.14?long"],
|
|
13962
13962
|
],
|
|
13963
13963
|
],
|
|
13964
13964
|
],
|
|
@@ -14853,12 +14853,34 @@ const types = new Map([
|
|
|
14853
14853
|
[
|
|
14854
14854
|
["flags", exports.flags, "#"],
|
|
14855
14855
|
["hide_name", "true", "flags.0?true"],
|
|
14856
|
+
["include_upgrade", "true", "flags.2?true"],
|
|
14856
14857
|
["user_id", "InputUser", "InputUser"],
|
|
14857
14858
|
["gift_id", "bigint", "long"],
|
|
14858
14859
|
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
14859
14860
|
],
|
|
14860
14861
|
],
|
|
14861
14862
|
],
|
|
14863
|
+
[
|
|
14864
|
+
"inputInvoiceStarGiftUpgrade",
|
|
14865
|
+
[
|
|
14866
|
+
0x5EBE7262,
|
|
14867
|
+
[
|
|
14868
|
+
["flags", exports.flags, "#"],
|
|
14869
|
+
["keep_original_details", "true", "flags.0?true"],
|
|
14870
|
+
["msg_id", "number", "int"],
|
|
14871
|
+
],
|
|
14872
|
+
],
|
|
14873
|
+
],
|
|
14874
|
+
[
|
|
14875
|
+
"inputInvoiceStarGiftTransfer",
|
|
14876
|
+
[
|
|
14877
|
+
0xAE3BA9ED,
|
|
14878
|
+
[
|
|
14879
|
+
["msg_id", "number", "int"],
|
|
14880
|
+
["to_id", "InputUser", "InputUser"],
|
|
14881
|
+
],
|
|
14882
|
+
],
|
|
14883
|
+
],
|
|
14862
14884
|
[
|
|
14863
14885
|
"payments.exportedInvoice",
|
|
14864
14886
|
[
|
|
@@ -15663,10 +15685,11 @@ const types = new Map([
|
|
|
15663
15685
|
[
|
|
15664
15686
|
"chatlists.chatlistInvite",
|
|
15665
15687
|
[
|
|
15666
|
-
|
|
15688
|
+
0xF10ECE2F,
|
|
15667
15689
|
[
|
|
15668
15690
|
["flags", exports.flags, "#"],
|
|
15669
|
-
["
|
|
15691
|
+
["title_noanimate", "true", "flags.1?true"],
|
|
15692
|
+
["title", "TextWithEntities", "TextWithEntities"],
|
|
15670
15693
|
["emoticon", "string", "flags.0?string"],
|
|
15671
15694
|
["peers", ["Peer"], "Vector<Peer>"],
|
|
15672
15695
|
["chats", ["Chat"], "Vector<Chat>"],
|
|
@@ -17341,6 +17364,7 @@ const types = new Map([
|
|
|
17341
17364
|
["failed", "true", "flags.6?true"],
|
|
17342
17365
|
["gift", "true", "flags.10?true"],
|
|
17343
17366
|
["reaction", "true", "flags.11?true"],
|
|
17367
|
+
["stargift_upgrade", "true", "flags.18?true"],
|
|
17344
17368
|
["id", "string", "string"],
|
|
17345
17369
|
["stars", "StarsAmount", "StarsAmount"],
|
|
17346
17370
|
["date", "number", "int"],
|
|
@@ -17593,7 +17617,7 @@ const types = new Map([
|
|
|
17593
17617
|
[
|
|
17594
17618
|
"starGift",
|
|
17595
17619
|
[
|
|
17596
|
-
|
|
17620
|
+
0x02CC73C8,
|
|
17597
17621
|
[
|
|
17598
17622
|
["flags", exports.flags, "#"],
|
|
17599
17623
|
["limited", "true", "flags.0?true"],
|
|
@@ -17607,6 +17631,22 @@ const types = new Map([
|
|
|
17607
17631
|
["convert_stars", "bigint", "long"],
|
|
17608
17632
|
["first_sale_date", "number", "flags.1?int"],
|
|
17609
17633
|
["last_sale_date", "number", "flags.1?int"],
|
|
17634
|
+
["upgrade_stars", "bigint", "flags.3?long"],
|
|
17635
|
+
],
|
|
17636
|
+
],
|
|
17637
|
+
],
|
|
17638
|
+
[
|
|
17639
|
+
"starGiftUnique",
|
|
17640
|
+
[
|
|
17641
|
+
0x6A1407CD,
|
|
17642
|
+
[
|
|
17643
|
+
["id", "bigint", "long"],
|
|
17644
|
+
["title", "string", "string"],
|
|
17645
|
+
["num", "number", "int"],
|
|
17646
|
+
["owner_id", "bigint", "long"],
|
|
17647
|
+
["attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
|
|
17648
|
+
["availability_issued", "number", "int"],
|
|
17649
|
+
["availability_total", "number", "int"],
|
|
17610
17650
|
],
|
|
17611
17651
|
],
|
|
17612
17652
|
],
|
|
@@ -17630,17 +17670,22 @@ const types = new Map([
|
|
|
17630
17670
|
[
|
|
17631
17671
|
"userStarGift",
|
|
17632
17672
|
[
|
|
17633
|
-
|
|
17673
|
+
0x325835E1,
|
|
17634
17674
|
[
|
|
17635
17675
|
["flags", exports.flags, "#"],
|
|
17636
17676
|
["name_hidden", "true", "flags.0?true"],
|
|
17637
17677
|
["unsaved", "true", "flags.5?true"],
|
|
17678
|
+
["refunded", "true", "flags.9?true"],
|
|
17679
|
+
["can_upgrade", "true", "flags.10?true"],
|
|
17638
17680
|
["from_id", "bigint", "flags.1?long"],
|
|
17639
17681
|
["date", "number", "int"],
|
|
17640
17682
|
["gift", "StarGift", "StarGift"],
|
|
17641
17683
|
["message", "TextWithEntities", "flags.2?TextWithEntities"],
|
|
17642
17684
|
["msg_id", "number", "flags.3?int"],
|
|
17643
17685
|
["convert_stars", "bigint", "flags.4?long"],
|
|
17686
|
+
["upgrade_stars", "bigint", "flags.6?long"],
|
|
17687
|
+
["can_export_at", "number", "flags.7?int"],
|
|
17688
|
+
["transfer_stars", "bigint", "flags.8?long"],
|
|
17644
17689
|
],
|
|
17645
17690
|
],
|
|
17646
17691
|
],
|
|
@@ -17819,6 +17864,107 @@ const types = new Map([
|
|
|
17819
17864
|
],
|
|
17820
17865
|
],
|
|
17821
17866
|
],
|
|
17867
|
+
[
|
|
17868
|
+
"botVerifierSettings",
|
|
17869
|
+
[
|
|
17870
|
+
0xB0CD6617,
|
|
17871
|
+
[
|
|
17872
|
+
["flags", exports.flags, "#"],
|
|
17873
|
+
["can_modify_custom_description", "true", "flags.1?true"],
|
|
17874
|
+
["icon", "bigint", "long"],
|
|
17875
|
+
["company", "string", "string"],
|
|
17876
|
+
["custom_description", "string", "flags.0?string"],
|
|
17877
|
+
],
|
|
17878
|
+
],
|
|
17879
|
+
],
|
|
17880
|
+
[
|
|
17881
|
+
"botVerification",
|
|
17882
|
+
[
|
|
17883
|
+
0xF93CD45C,
|
|
17884
|
+
[
|
|
17885
|
+
["bot_id", "bigint", "long"],
|
|
17886
|
+
["icon", "bigint", "long"],
|
|
17887
|
+
["description", "string", "string"],
|
|
17888
|
+
],
|
|
17889
|
+
],
|
|
17890
|
+
],
|
|
17891
|
+
[
|
|
17892
|
+
"starGiftAttributeModel",
|
|
17893
|
+
[
|
|
17894
|
+
0x39D99013,
|
|
17895
|
+
[
|
|
17896
|
+
["name", "string", "string"],
|
|
17897
|
+
["document", "Document", "Document"],
|
|
17898
|
+
["rarity_permille", "number", "int"],
|
|
17899
|
+
],
|
|
17900
|
+
],
|
|
17901
|
+
],
|
|
17902
|
+
[
|
|
17903
|
+
"starGiftAttributePattern",
|
|
17904
|
+
[
|
|
17905
|
+
0x13ACFF19,
|
|
17906
|
+
[
|
|
17907
|
+
["name", "string", "string"],
|
|
17908
|
+
["document", "Document", "Document"],
|
|
17909
|
+
["rarity_permille", "number", "int"],
|
|
17910
|
+
],
|
|
17911
|
+
],
|
|
17912
|
+
],
|
|
17913
|
+
[
|
|
17914
|
+
"starGiftAttributeBackdrop",
|
|
17915
|
+
[
|
|
17916
|
+
0x94271762,
|
|
17917
|
+
[
|
|
17918
|
+
["name", "string", "string"],
|
|
17919
|
+
["center_color", "number", "int"],
|
|
17920
|
+
["edge_color", "number", "int"],
|
|
17921
|
+
["pattern_color", "number", "int"],
|
|
17922
|
+
["text_color", "number", "int"],
|
|
17923
|
+
["rarity_permille", "number", "int"],
|
|
17924
|
+
],
|
|
17925
|
+
],
|
|
17926
|
+
],
|
|
17927
|
+
[
|
|
17928
|
+
"starGiftAttributeOriginalDetails",
|
|
17929
|
+
[
|
|
17930
|
+
0xC02C4F4B,
|
|
17931
|
+
[
|
|
17932
|
+
["flags", exports.flags, "#"],
|
|
17933
|
+
["sender_id", "bigint", "flags.0?long"],
|
|
17934
|
+
["recipient_id", "bigint", "long"],
|
|
17935
|
+
["date", "number", "int"],
|
|
17936
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
17937
|
+
],
|
|
17938
|
+
],
|
|
17939
|
+
],
|
|
17940
|
+
[
|
|
17941
|
+
"payments.starGiftUpgradePreview",
|
|
17942
|
+
[
|
|
17943
|
+
0x167BD90B,
|
|
17944
|
+
[
|
|
17945
|
+
["sample_attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
|
|
17946
|
+
],
|
|
17947
|
+
],
|
|
17948
|
+
],
|
|
17949
|
+
[
|
|
17950
|
+
"users.users",
|
|
17951
|
+
[
|
|
17952
|
+
0x62D706B8,
|
|
17953
|
+
[
|
|
17954
|
+
["users", ["User"], "Vector<User>"],
|
|
17955
|
+
],
|
|
17956
|
+
],
|
|
17957
|
+
],
|
|
17958
|
+
[
|
|
17959
|
+
"users.usersSlice",
|
|
17960
|
+
[
|
|
17961
|
+
0x315A4974,
|
|
17962
|
+
[
|
|
17963
|
+
["count", "number", "int"],
|
|
17964
|
+
["users", ["User"], "Vector<User>"],
|
|
17965
|
+
],
|
|
17966
|
+
],
|
|
17967
|
+
],
|
|
17822
17968
|
[
|
|
17823
17969
|
"req_pq_multi",
|
|
17824
17970
|
[
|
|
@@ -17906,35 +18052,6 @@ const types = new Map([
|
|
|
17906
18052
|
[],
|
|
17907
18053
|
],
|
|
17908
18054
|
],
|
|
17909
|
-
[
|
|
17910
|
-
"invokeWithBusinessConnectionPrefix",
|
|
17911
|
-
[
|
|
17912
|
-
0xDD289F8E,
|
|
17913
|
-
[
|
|
17914
|
-
["connection_id", "string", "string"],
|
|
17915
|
-
],
|
|
17916
|
-
],
|
|
17917
|
-
],
|
|
17918
|
-
[
|
|
17919
|
-
"invokeWithGooglePlayIntegrityPrefix",
|
|
17920
|
-
[
|
|
17921
|
-
0x1DF92984,
|
|
17922
|
-
[
|
|
17923
|
-
["nonce", "string", "string"],
|
|
17924
|
-
["token", "string", "string"],
|
|
17925
|
-
],
|
|
17926
|
-
],
|
|
17927
|
-
],
|
|
17928
|
-
[
|
|
17929
|
-
"invokeWithApnsSecretPrefix",
|
|
17930
|
-
[
|
|
17931
|
-
0x0DAE54F8,
|
|
17932
|
-
[
|
|
17933
|
-
["nonce", "string", "string"],
|
|
17934
|
-
["secret", "string", "string"],
|
|
17935
|
-
],
|
|
17936
|
-
],
|
|
17937
|
-
],
|
|
17938
18055
|
[
|
|
17939
18056
|
"invokeAfterMsg",
|
|
17940
18057
|
[
|
|
@@ -20231,6 +20348,8 @@ const types = new Map([
|
|
|
20231
20348
|
[
|
|
20232
20349
|
["flags", exports.flags, "#"],
|
|
20233
20350
|
["broadcasts_only", "true", "flags.1?true"],
|
|
20351
|
+
["groups_only", "true", "flags.2?true"],
|
|
20352
|
+
["users_only", "true", "flags.3?true"],
|
|
20234
20353
|
["folder_id", "number", "flags.0?int"],
|
|
20235
20354
|
["q", "string", "string"],
|
|
20236
20355
|
["filter", "MessagesFilter", "MessagesFilter"],
|
|
@@ -22223,6 +22342,18 @@ const types = new Map([
|
|
|
22223
22342
|
],
|
|
22224
22343
|
],
|
|
22225
22344
|
],
|
|
22345
|
+
[
|
|
22346
|
+
"messages.reportMessagesDelivery",
|
|
22347
|
+
[
|
|
22348
|
+
0x5A6D7395,
|
|
22349
|
+
[
|
|
22350
|
+
["flags", exports.flags, "#"],
|
|
22351
|
+
["push", "true", "flags.0?true"],
|
|
22352
|
+
["peer", "InputPeer", "InputPeer"],
|
|
22353
|
+
["id", ["number"], "Vector<int>"],
|
|
22354
|
+
],
|
|
22355
|
+
],
|
|
22356
|
+
],
|
|
22226
22357
|
[
|
|
22227
22358
|
"updates.getState",
|
|
22228
22359
|
[
|
|
@@ -23563,6 +23694,29 @@ const types = new Map([
|
|
|
23563
23694
|
],
|
|
23564
23695
|
],
|
|
23565
23696
|
],
|
|
23697
|
+
[
|
|
23698
|
+
"bots.setCustomVerification",
|
|
23699
|
+
[
|
|
23700
|
+
0x8B89DFBD,
|
|
23701
|
+
[
|
|
23702
|
+
["flags", exports.flags, "#"],
|
|
23703
|
+
["enabled", "true", "flags.1?true"],
|
|
23704
|
+
["bot", "InputUser", "flags.0?InputUser"],
|
|
23705
|
+
["peer", "InputPeer", "InputPeer"],
|
|
23706
|
+
["custom_description", "string", "flags.2?string"],
|
|
23707
|
+
],
|
|
23708
|
+
],
|
|
23709
|
+
],
|
|
23710
|
+
[
|
|
23711
|
+
"bots.getBotRecommendations",
|
|
23712
|
+
[
|
|
23713
|
+
0x2855BE61,
|
|
23714
|
+
[
|
|
23715
|
+
["flags", exports.flags, "#"],
|
|
23716
|
+
["bot", "InputUser", "InputUser"],
|
|
23717
|
+
],
|
|
23718
|
+
],
|
|
23719
|
+
],
|
|
23566
23720
|
[
|
|
23567
23721
|
"payments.getPaymentForm",
|
|
23568
23722
|
[
|
|
@@ -23892,11 +24046,10 @@ const types = new Map([
|
|
|
23892
24046
|
[
|
|
23893
24047
|
"payments.saveStarGift",
|
|
23894
24048
|
[
|
|
23895
|
-
|
|
24049
|
+
0x92FD2AAE,
|
|
23896
24050
|
[
|
|
23897
24051
|
["flags", exports.flags, "#"],
|
|
23898
24052
|
["unsave", "true", "flags.0?true"],
|
|
23899
|
-
["user_id", "InputUser", "InputUser"],
|
|
23900
24053
|
["msg_id", "number", "int"],
|
|
23901
24054
|
],
|
|
23902
24055
|
],
|
|
@@ -23904,9 +24057,8 @@ const types = new Map([
|
|
|
23904
24057
|
[
|
|
23905
24058
|
"payments.convertStarGift",
|
|
23906
24059
|
[
|
|
23907
|
-
|
|
24060
|
+
0x72770C83,
|
|
23908
24061
|
[
|
|
23909
|
-
["user_id", "InputUser", "InputUser"],
|
|
23910
24062
|
["msg_id", "number", "int"],
|
|
23911
24063
|
],
|
|
23912
24064
|
],
|
|
@@ -23982,6 +24134,45 @@ const types = new Map([
|
|
|
23982
24134
|
],
|
|
23983
24135
|
],
|
|
23984
24136
|
],
|
|
24137
|
+
[
|
|
24138
|
+
"payments.getStarGiftUpgradePreview",
|
|
24139
|
+
[
|
|
24140
|
+
0x9C9ABCB1,
|
|
24141
|
+
[
|
|
24142
|
+
["gift_id", "bigint", "long"],
|
|
24143
|
+
],
|
|
24144
|
+
],
|
|
24145
|
+
],
|
|
24146
|
+
[
|
|
24147
|
+
"payments.upgradeStarGift",
|
|
24148
|
+
[
|
|
24149
|
+
0xCF4F0781,
|
|
24150
|
+
[
|
|
24151
|
+
["flags", exports.flags, "#"],
|
|
24152
|
+
["keep_original_details", "true", "flags.0?true"],
|
|
24153
|
+
["msg_id", "number", "int"],
|
|
24154
|
+
],
|
|
24155
|
+
],
|
|
24156
|
+
],
|
|
24157
|
+
[
|
|
24158
|
+
"payments.transferStarGift",
|
|
24159
|
+
[
|
|
24160
|
+
0x333FB526,
|
|
24161
|
+
[
|
|
24162
|
+
["msg_id", "number", "int"],
|
|
24163
|
+
["to_id", "InputUser", "InputUser"],
|
|
24164
|
+
],
|
|
24165
|
+
],
|
|
24166
|
+
],
|
|
24167
|
+
[
|
|
24168
|
+
"payments.getUserStarGift",
|
|
24169
|
+
[
|
|
24170
|
+
0xB502E4A5,
|
|
24171
|
+
[
|
|
24172
|
+
["msg_id", ["number"], "Vector<int>"],
|
|
24173
|
+
],
|
|
24174
|
+
],
|
|
24175
|
+
],
|
|
23985
24176
|
[
|
|
23986
24177
|
"stickers.createStickerSet",
|
|
23987
24178
|
[
|
|
@@ -24111,11 +24302,12 @@ const types = new Map([
|
|
|
24111
24302
|
[
|
|
24112
24303
|
"phone.requestCall",
|
|
24113
24304
|
[
|
|
24114
|
-
|
|
24305
|
+
0xA6C4600C,
|
|
24115
24306
|
[
|
|
24116
24307
|
["flags", exports.flags, "#"],
|
|
24117
24308
|
["video", "true", "flags.0?true"],
|
|
24118
24309
|
["user_id", "InputUser", "InputUser"],
|
|
24310
|
+
["conference_call", "InputGroupCall", "flags.1?InputGroupCall"],
|
|
24119
24311
|
["random_id", "number", "int"],
|
|
24120
24312
|
["g_a_hash", Uint8Array, "bytes"],
|
|
24121
24313
|
["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
|
|
@@ -24218,7 +24410,7 @@ const types = new Map([
|
|
|
24218
24410
|
[
|
|
24219
24411
|
"phone.joinGroupCall",
|
|
24220
24412
|
[
|
|
24221
|
-
|
|
24413
|
+
0xD61E1DF3,
|
|
24222
24414
|
[
|
|
24223
24415
|
["flags", exports.flags, "#"],
|
|
24224
24416
|
["muted", "true", "flags.0?true"],
|
|
@@ -24226,6 +24418,7 @@ const types = new Map([
|
|
|
24226
24418
|
["call", "InputGroupCall", "InputGroupCall"],
|
|
24227
24419
|
["join_as", "InputPeer", "InputPeer"],
|
|
24228
24420
|
["invite_hash", "string", "flags.1?string"],
|
|
24421
|
+
["key_fingerprint", "bigint", "flags.3?long"],
|
|
24229
24422
|
["params", "DataJSON", "DataJSON"],
|
|
24230
24423
|
],
|
|
24231
24424
|
],
|
|
@@ -24442,6 +24635,16 @@ const types = new Map([
|
|
|
24442
24635
|
],
|
|
24443
24636
|
],
|
|
24444
24637
|
],
|
|
24638
|
+
[
|
|
24639
|
+
"phone.createConferenceCall",
|
|
24640
|
+
[
|
|
24641
|
+
0xDFC909AB,
|
|
24642
|
+
[
|
|
24643
|
+
["peer", "InputPhoneCall", "InputPhoneCall"],
|
|
24644
|
+
["key_fingerprint", "bigint", "long"],
|
|
24645
|
+
],
|
|
24646
|
+
],
|
|
24647
|
+
],
|
|
24445
24648
|
[
|
|
24446
24649
|
"langpack.getLangPack",
|
|
24447
24650
|
[
|