@mtkruto/node 0.13.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 +1 -1
- package/esm/0_deps.js +1 -1
- 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 +1 -1
- package/esm/client/0_storage_operations.js +1 -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 +40 -5
- 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 +1 -1
- package/esm/client/4_poll_manager.js +1 -1
- 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 +12 -2
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +19 -2
- 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/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 +1 -1
- package/esm/types/1_poll_option.js +1 -1
- 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.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 +2 -1
- package/esm/types/4_message.d.ts.map +1 -1
- package/esm/types/4_message.js +9 -3
- 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 +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 +1 -1
- package/script/0_deps.js +1 -1
- 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 +1 -1
- package/script/client/0_storage_operations.js +1 -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 +39 -4
- 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 +1 -1
- package/script/client/4_poll_manager.js +1 -1
- 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 +12 -2
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +19 -2
- 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/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 +1 -1
- package/script/types/1_poll_option.js +1 -1
- 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.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 +2 -1
- package/script/types/4_message.d.ts.map +1 -1
- package/script/types/4_message.js +10 -3
- 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 +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/tl/0_api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* MTKruto - Cross-runtime JavaScript library for building Telegram clients
|
|
3
|
-
* Copyright (C) 2023-
|
|
3
|
+
* Copyright (C) 2023-2025 Roj <https://roj.im/>
|
|
4
4
|
*
|
|
5
5
|
* This file is part of MTKruto.
|
|
6
6
|
*
|
|
@@ -55,12 +55,7 @@ const map = new Map([
|
|
|
55
55
|
[0x9299359F, "http_wait"],
|
|
56
56
|
[0x3FEDD339, "true"],
|
|
57
57
|
[0xC4B9F9BB, "error"],
|
|
58
|
-
[
|
|
59
|
-
[0x37982646, "ipPortSecret"],
|
|
60
|
-
[0x4679B65F, "accessPointRule"],
|
|
61
|
-
[0x5A592A6C, "help.configSimple"],
|
|
62
|
-
[0x27D69997, "inputPeerPhotoFileLocationLegacy"],
|
|
63
|
-
[0x0DBAEAE9, "inputStickerSetThumbLegacy"],
|
|
58
|
+
[0x56730BCC, "null"],
|
|
64
59
|
[0x7F3B18EA, "inputPeerEmpty"],
|
|
65
60
|
[0x7DA07EC9, "inputPeerSelf"],
|
|
66
61
|
[0x35A95CB9, "inputPeerChat"],
|
|
@@ -125,7 +120,7 @@ const map = new Map([
|
|
|
125
120
|
[0xB3CEA0E4, "storage.fileMp4"],
|
|
126
121
|
[0x1081464C, "storage.fileWebp"],
|
|
127
122
|
[0xD3BC4B7A, "userEmpty"],
|
|
128
|
-
[
|
|
123
|
+
[0x4B46C37E, "user"],
|
|
129
124
|
[0x4F11BAE1, "userProfilePhotoEmpty"],
|
|
130
125
|
[0x82D1F706, "userProfilePhoto"],
|
|
131
126
|
[0x09D05049, "userStatusEmpty"],
|
|
@@ -137,10 +132,10 @@ const map = new Map([
|
|
|
137
132
|
[0x29562865, "chatEmpty"],
|
|
138
133
|
[0x41CBF256, "chat"],
|
|
139
134
|
[0x6592A1A7, "chatForbidden"],
|
|
140
|
-
[
|
|
135
|
+
[0xE00998B7, "channel"],
|
|
141
136
|
[0x17D493D5, "channelForbidden"],
|
|
142
137
|
[0x2633421B, "chatFull"],
|
|
143
|
-
[
|
|
138
|
+
[0x9FF3B858, "channelFull"],
|
|
144
139
|
[0xC02D4007, "chatParticipant"],
|
|
145
140
|
[0xE46BCEE4, "chatParticipantCreator"],
|
|
146
141
|
[0xA0933F5B, "chatParticipantAdmin"],
|
|
@@ -149,8 +144,8 @@ const map = new Map([
|
|
|
149
144
|
[0x37C1011C, "chatPhotoEmpty"],
|
|
150
145
|
[0x1C6E1C11, "chatPhoto"],
|
|
151
146
|
[0x90A6CA84, "messageEmpty"],
|
|
152
|
-
[
|
|
153
|
-
[
|
|
147
|
+
[0x96FDBBE9, "message"],
|
|
148
|
+
[0xD3D28540, "messageService"],
|
|
154
149
|
[0x3DED6320, "messageMediaEmpty"],
|
|
155
150
|
[0x695150D7, "messageMediaPhoto"],
|
|
156
151
|
[0x56E0D474, "messageMediaGeo"],
|
|
@@ -214,7 +209,8 @@ const map = new Map([
|
|
|
214
209
|
[0x41B3E202, "messageActionPaymentRefunded"],
|
|
215
210
|
[0x45D5B021, "messageActionGiftStars"],
|
|
216
211
|
[0xB00C47A2, "messageActionPrizeStars"],
|
|
217
|
-
[
|
|
212
|
+
[0xD8F4F0A7, "messageActionStarGift"],
|
|
213
|
+
[0x26077B99, "messageActionStarGiftUnique"],
|
|
218
214
|
[0xD58A08C6, "dialog"],
|
|
219
215
|
[0x71BD134C, "dialogFolder"],
|
|
220
216
|
[0x2331B22D, "photoEmpty"],
|
|
@@ -252,7 +248,7 @@ const map = new Map([
|
|
|
252
248
|
[0xF5DDD6E7, "inputReportReasonFake"],
|
|
253
249
|
[0x0A8EB2BE, "inputReportReasonIllegalDrugs"],
|
|
254
250
|
[0x9EC7863D, "inputReportReasonPersonalDetails"],
|
|
255
|
-
[
|
|
251
|
+
[0x4D975BBC, "userFull"],
|
|
256
252
|
[0x145ADE0B, "contact"],
|
|
257
253
|
[0xC13E3C50, "importedContact"],
|
|
258
254
|
[0x16D9703B, "contactStatus"],
|
|
@@ -375,7 +371,7 @@ const map = new Map([
|
|
|
375
371
|
[0x5BB98608, "updatePinnedChannelMessages"],
|
|
376
372
|
[0xF89A6A4E, "updateChat"],
|
|
377
373
|
[0xF2EBDB4E, "updateGroupCallParticipants"],
|
|
378
|
-
[
|
|
374
|
+
[0x97D64341, "updateGroupCall"],
|
|
379
375
|
[0xBB9BB9A5, "updatePeerHistoryTTL"],
|
|
380
376
|
[0xD087663A, "updateChatParticipant"],
|
|
381
377
|
[0x985D3ABB, "updateChannelParticipant"],
|
|
@@ -578,7 +574,7 @@ const map = new Map([
|
|
|
578
574
|
[0xA22CBD96, "chatInviteExported"],
|
|
579
575
|
[0xED107AB7, "chatInvitePublicJoinRequests"],
|
|
580
576
|
[0x5A686D7C, "chatInviteAlready"],
|
|
581
|
-
[
|
|
577
|
+
[0x5C9D3702, "chatInvite"],
|
|
582
578
|
[0x61695CB0, "chatInvitePeek"],
|
|
583
579
|
[0xFFB62B95, "inputStickerSetEmpty"],
|
|
584
580
|
[0x9DE7A269, "inputStickerSetID"],
|
|
@@ -595,7 +591,7 @@ const map = new Map([
|
|
|
595
591
|
[0x6E153F16, "messages.stickerSet"],
|
|
596
592
|
[0xD3F924EB, "messages.stickerSetNotModified"],
|
|
597
593
|
[0xC27AC8C7, "botCommand"],
|
|
598
|
-
[
|
|
594
|
+
[0x4D8A0299, "botInfo"],
|
|
599
595
|
[0xA2FA4880, "keyboardButton"],
|
|
600
596
|
[0x258AFF05, "keyboardButtonUrl"],
|
|
601
597
|
[0x35BBDB6B, "keyboardButtonCallback"],
|
|
@@ -800,6 +796,7 @@ const map = new Map([
|
|
|
800
796
|
[0xE095C1A0, "phoneCallDiscardReasonDisconnect"],
|
|
801
797
|
[0x57ADC690, "phoneCallDiscardReasonHangup"],
|
|
802
798
|
[0xFAF7E8C9, "phoneCallDiscardReasonBusy"],
|
|
799
|
+
[0xAFE2B839, "phoneCallDiscardReasonAllowGroupCall"],
|
|
803
800
|
[0x7D748D04, "dataJSON"],
|
|
804
801
|
[0xCB296BF8, "labeledPrice"],
|
|
805
802
|
[0x049EE584, "invoice"],
|
|
@@ -832,11 +829,11 @@ const map = new Map([
|
|
|
832
829
|
[0x32DA9E9C, "inputStickerSetItem"],
|
|
833
830
|
[0x1E36FDED, "inputPhoneCall"],
|
|
834
831
|
[0x5366C915, "phoneCallEmpty"],
|
|
835
|
-
[
|
|
836
|
-
[
|
|
837
|
-
[
|
|
838
|
-
[
|
|
839
|
-
[
|
|
832
|
+
[0xEED42858, "phoneCallWaiting"],
|
|
833
|
+
[0x45361C63, "phoneCallRequested"],
|
|
834
|
+
[0x22FD7181, "phoneCallAccepted"],
|
|
835
|
+
[0x3BA5940C, "phoneCall"],
|
|
836
|
+
[0xF9D25503, "phoneCallDiscarded"],
|
|
840
837
|
[0x9CC123C7, "phoneConnection"],
|
|
841
838
|
[0x635FE375, "phoneConnectionWebrtc"],
|
|
842
839
|
[0xFC878FC8, "phoneCallProtocol"],
|
|
@@ -1057,9 +1054,9 @@ const map = new Map([
|
|
|
1057
1054
|
[0x4899484E, "messages.votesList"],
|
|
1058
1055
|
[0xF568028A, "bankCardOpenUrl"],
|
|
1059
1056
|
[0x3E24E573, "payments.bankCardData"],
|
|
1060
|
-
[
|
|
1057
|
+
[0xAA472651, "dialogFilter"],
|
|
1061
1058
|
[0x363293AE, "dialogFilterDefault"],
|
|
1062
|
-
[
|
|
1059
|
+
[0x96537BD7, "dialogFilterChatlist"],
|
|
1063
1060
|
[0x77744D4A, "dialogFilterSuggested"],
|
|
1064
1061
|
[0xB637EDAF, "statsDateRangeDays"],
|
|
1065
1062
|
[0xCB43ACDE, "statsAbsValueAndPrev"],
|
|
@@ -1091,7 +1088,7 @@ const map = new Map([
|
|
|
1091
1088
|
[0xE8FD8014, "peerBlocked"],
|
|
1092
1089
|
[0x7FE91C14, "stats.messageStats"],
|
|
1093
1090
|
[0x7780BCB4, "groupCallDiscarded"],
|
|
1094
|
-
[
|
|
1091
|
+
[0xCDF8D3E3, "groupCall"],
|
|
1095
1092
|
[0xD8AA840F, "inputGroupCall"],
|
|
1096
1093
|
[0xEBA636FE, "groupCallParticipant"],
|
|
1097
1094
|
[0x9E727AAD, "phone.groupCall"],
|
|
@@ -1179,6 +1176,8 @@ const map = new Map([
|
|
|
1179
1176
|
[0x65F00CE3, "inputInvoiceStars"],
|
|
1180
1177
|
[0x34E793F1, "inputInvoiceChatInviteSubscription"],
|
|
1181
1178
|
[0x25D8C1D8, "inputInvoiceStarGift"],
|
|
1179
|
+
[0x5EBE7262, "inputInvoiceStarGiftUpgrade"],
|
|
1180
|
+
[0xAE3BA9ED, "inputInvoiceStarGiftTransfer"],
|
|
1182
1181
|
[0xAED0CBD9, "payments.exportedInvoice"],
|
|
1183
1182
|
[0xCFB9D957, "messages.transcribedAudio"],
|
|
1184
1183
|
[0x5334759C, "help.premiumPromo"],
|
|
@@ -1253,7 +1252,7 @@ const map = new Map([
|
|
|
1253
1252
|
[0x10E6E3A6, "chatlists.exportedChatlistInvite"],
|
|
1254
1253
|
[0x10AB6DC7, "chatlists.exportedInvites"],
|
|
1255
1254
|
[0xFA87F659, "chatlists.chatlistInviteAlready"],
|
|
1256
|
-
[
|
|
1255
|
+
[0xF10ECE2F, "chatlists.chatlistInvite"],
|
|
1257
1256
|
[0x93BD878D, "chatlists.chatlistUpdates"],
|
|
1258
1257
|
[0xE8A775B0, "bots.botInfo"],
|
|
1259
1258
|
[0xB6CC2D5C, "messagePeerVote"],
|
|
@@ -1416,10 +1415,11 @@ const map = new Map([
|
|
|
1416
1415
|
[0x4BA3A95A, "messageReactor"],
|
|
1417
1416
|
[0x94CE852A, "starsGiveawayOption"],
|
|
1418
1417
|
[0x54236209, "starsGiveawayWinnersOption"],
|
|
1419
|
-
[
|
|
1418
|
+
[0x02CC73C8, "starGift"],
|
|
1419
|
+
[0x6A1407CD, "starGiftUnique"],
|
|
1420
1420
|
[0xA388A368, "payments.starGiftsNotModified"],
|
|
1421
1421
|
[0x901689EA, "payments.starGifts"],
|
|
1422
|
-
[
|
|
1422
|
+
[0x325835E1, "userStarGift"],
|
|
1423
1423
|
[0x6B65B517, "payments.userStarGifts"],
|
|
1424
1424
|
[0x7903E3D9, "messageReportOption"],
|
|
1425
1425
|
[0xF0E4E0B6, "reportResultChooseOption"],
|
|
@@ -1435,6 +1435,15 @@ const map = new Map([
|
|
|
1435
1435
|
[0xBBB6B4A3, "starsAmount"],
|
|
1436
1436
|
[0x6010C534, "messages.foundStickersNotModified"],
|
|
1437
1437
|
[0x82C9E290, "messages.foundStickers"],
|
|
1438
|
+
[0xB0CD6617, "botVerifierSettings"],
|
|
1439
|
+
[0xF93CD45C, "botVerification"],
|
|
1440
|
+
[0x39D99013, "starGiftAttributeModel"],
|
|
1441
|
+
[0x13ACFF19, "starGiftAttributePattern"],
|
|
1442
|
+
[0x94271762, "starGiftAttributeBackdrop"],
|
|
1443
|
+
[0xC02C4F4B, "starGiftAttributeOriginalDetails"],
|
|
1444
|
+
[0x167BD90B, "payments.starGiftUpgradePreview"],
|
|
1445
|
+
[0x62D706B8, "users.users"],
|
|
1446
|
+
[0x315A4974, "users.usersSlice"],
|
|
1438
1447
|
]);
|
|
1439
1448
|
export const getTypeName = map.get.bind(map);
|
|
1440
1449
|
export const flags = Symbol();
|
|
@@ -1465,10 +1474,7 @@ const enums = new Map([
|
|
|
1465
1474
|
["HttpWait", ["http_wait"]],
|
|
1466
1475
|
["True", ["true"]],
|
|
1467
1476
|
["Error", ["error"]],
|
|
1468
|
-
["
|
|
1469
|
-
["AccessPointRule", ["accessPointRule"]],
|
|
1470
|
-
["help.ConfigSimple", ["help.configSimple"]],
|
|
1471
|
-
["InputFileLocation", ["inputPeerPhotoFileLocationLegacy", "inputStickerSetThumbLegacy", "inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
|
|
1477
|
+
["Null", ["null"]],
|
|
1472
1478
|
["InputPeer", ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]],
|
|
1473
1479
|
["InputUser", ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]],
|
|
1474
1480
|
["InputContact", ["inputPhoneContact"]],
|
|
@@ -1477,6 +1483,7 @@ const enums = new Map([
|
|
|
1477
1483
|
["InputChatPhoto", ["inputChatPhotoEmpty", "inputChatUploadedPhoto", "inputChatPhoto"]],
|
|
1478
1484
|
["InputGeoPoint", ["inputGeoPointEmpty", "inputGeoPoint"]],
|
|
1479
1485
|
["InputPhoto", ["inputPhotoEmpty", "inputPhoto"]],
|
|
1486
|
+
["InputFileLocation", ["inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
|
|
1480
1487
|
["Peer", ["peerUser", "peerChat", "peerChannel"]],
|
|
1481
1488
|
["storage.FileType", ["storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp"]],
|
|
1482
1489
|
["User", ["userEmpty", "user"]],
|
|
@@ -1489,7 +1496,7 @@ const enums = new Map([
|
|
|
1489
1496
|
["ChatPhoto", ["chatPhotoEmpty", "chatPhoto"]],
|
|
1490
1497
|
["Message", ["messageEmpty", "message", "messageService"]],
|
|
1491
1498
|
["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia"]],
|
|
1492
|
-
["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"]],
|
|
1499
|
+
["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"]],
|
|
1493
1500
|
["Dialog", ["dialog", "dialogFolder"]],
|
|
1494
1501
|
["Photo", ["photoEmpty", "photo"]],
|
|
1495
1502
|
["PhotoSize", ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]],
|
|
@@ -1756,7 +1763,7 @@ const enums = new Map([
|
|
|
1756
1763
|
["messages.HighScores", ["messages.highScores"]],
|
|
1757
1764
|
["RichText", ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor"]],
|
|
1758
1765
|
["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"]],
|
|
1759
|
-
["PhoneCallDiscardReason", ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy"]],
|
|
1766
|
+
["PhoneCallDiscardReason", ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonAllowGroupCall"]],
|
|
1760
1767
|
["DataJSON", ["dataJSON"]],
|
|
1761
1768
|
["LabeledPrice", ["labeledPrice"]],
|
|
1762
1769
|
["Invoice", ["invoice"]],
|
|
@@ -2007,7 +2014,7 @@ const enums = new Map([
|
|
|
2007
2014
|
["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
|
|
2008
2015
|
["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
|
|
2009
2016
|
["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
|
|
2010
|
-
["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift"]],
|
|
2017
|
+
["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift", "inputInvoiceStarGiftUpgrade", "inputInvoiceStarGiftTransfer"]],
|
|
2011
2018
|
["payments.ExportedInvoice", ["payments.exportedInvoice"]],
|
|
2012
2019
|
["messages.TranscribedAudio", ["messages.transcribedAudio"]],
|
|
2013
2020
|
["help.PremiumPromo", ["help.premiumPromo"]],
|
|
@@ -2166,7 +2173,7 @@ const enums = new Map([
|
|
|
2166
2173
|
["MessageReactor", ["messageReactor"]],
|
|
2167
2174
|
["StarsGiveawayOption", ["starsGiveawayOption"]],
|
|
2168
2175
|
["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
|
|
2169
|
-
["StarGift", ["starGift"]],
|
|
2176
|
+
["StarGift", ["starGift", "starGiftUnique"]],
|
|
2170
2177
|
["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
|
|
2171
2178
|
["UserStarGift", ["userStarGift"]],
|
|
2172
2179
|
["payments.UserStarGifts", ["payments.userStarGifts"]],
|
|
@@ -2181,6 +2188,11 @@ const enums = new Map([
|
|
|
2181
2188
|
["payments.SuggestedStarRefBots", ["payments.suggestedStarRefBots"]],
|
|
2182
2189
|
["StarsAmount", ["starsAmount"]],
|
|
2183
2190
|
["messages.FoundStickers", ["messages.foundStickersNotModified", "messages.foundStickers"]],
|
|
2191
|
+
["BotVerifierSettings", ["botVerifierSettings"]],
|
|
2192
|
+
["BotVerification", ["botVerification"]],
|
|
2193
|
+
["StarGiftAttribute", ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]],
|
|
2194
|
+
["payments.StarGiftUpgradePreview", ["payments.starGiftUpgradePreview"]],
|
|
2195
|
+
["users.Users", ["users.users", "users.usersSlice"]],
|
|
2184
2196
|
]);
|
|
2185
2197
|
const types = new Map([
|
|
2186
2198
|
[
|
|
@@ -2557,70 +2569,10 @@ const types = new Map([
|
|
|
2557
2569
|
],
|
|
2558
2570
|
],
|
|
2559
2571
|
[
|
|
2560
|
-
"
|
|
2572
|
+
"null",
|
|
2561
2573
|
[
|
|
2562
|
-
|
|
2563
|
-
[
|
|
2564
|
-
["ipv4", "number", "int"],
|
|
2565
|
-
["port", "number", "int"],
|
|
2566
|
-
],
|
|
2567
|
-
],
|
|
2568
|
-
],
|
|
2569
|
-
[
|
|
2570
|
-
"ipPortSecret",
|
|
2571
|
-
[
|
|
2572
|
-
0x37982646,
|
|
2573
|
-
[
|
|
2574
|
-
["ipv4", "number", "int"],
|
|
2575
|
-
["port", "number", "int"],
|
|
2576
|
-
["secret", Uint8Array, "bytes"],
|
|
2577
|
-
],
|
|
2578
|
-
],
|
|
2579
|
-
],
|
|
2580
|
-
[
|
|
2581
|
-
"accessPointRule",
|
|
2582
|
-
[
|
|
2583
|
-
0x4679B65F,
|
|
2584
|
-
[
|
|
2585
|
-
["phone_prefix_rules", "string", "string"],
|
|
2586
|
-
["dc_id", "number", "int"],
|
|
2587
|
-
["ips", ["IpPort"], "vector<IpPort>"],
|
|
2588
|
-
],
|
|
2589
|
-
],
|
|
2590
|
-
],
|
|
2591
|
-
[
|
|
2592
|
-
"help.configSimple",
|
|
2593
|
-
[
|
|
2594
|
-
0x5A592A6C,
|
|
2595
|
-
[
|
|
2596
|
-
["date", "number", "int"],
|
|
2597
|
-
["expires", "number", "int"],
|
|
2598
|
-
["rules", ["AccessPointRule"], "vector<AccessPointRule>"],
|
|
2599
|
-
],
|
|
2600
|
-
],
|
|
2601
|
-
],
|
|
2602
|
-
[
|
|
2603
|
-
"inputPeerPhotoFileLocationLegacy",
|
|
2604
|
-
[
|
|
2605
|
-
0x27D69997,
|
|
2606
|
-
[
|
|
2607
|
-
["flags", flags, "#"],
|
|
2608
|
-
["big", "true", "flags.0?true"],
|
|
2609
|
-
["peer", "InputPeer", "InputPeer"],
|
|
2610
|
-
["volume_id", "bigint", "long"],
|
|
2611
|
-
["local_id", "number", "int"],
|
|
2612
|
-
],
|
|
2613
|
-
],
|
|
2614
|
-
],
|
|
2615
|
-
[
|
|
2616
|
-
"inputStickerSetThumbLegacy",
|
|
2617
|
-
[
|
|
2618
|
-
0x0DBAEAE9,
|
|
2619
|
-
[
|
|
2620
|
-
["stickerset", "InputStickerSet", "InputStickerSet"],
|
|
2621
|
-
["volume_id", "bigint", "long"],
|
|
2622
|
-
["local_id", "number", "int"],
|
|
2623
|
-
],
|
|
2574
|
+
0x56730BCC,
|
|
2575
|
+
[],
|
|
2624
2576
|
],
|
|
2625
2577
|
],
|
|
2626
2578
|
[
|
|
@@ -3275,7 +3227,7 @@ const types = new Map([
|
|
|
3275
3227
|
[
|
|
3276
3228
|
"user",
|
|
3277
3229
|
[
|
|
3278
|
-
|
|
3230
|
+
0x4B46C37E,
|
|
3279
3231
|
[
|
|
3280
3232
|
["flags", flags, "#"],
|
|
3281
3233
|
["self", "true", "flags.10?true"],
|
|
@@ -3322,6 +3274,7 @@ const types = new Map([
|
|
|
3322
3274
|
["color", "PeerColor", "flags2.8?PeerColor"],
|
|
3323
3275
|
["profile_color", "PeerColor", "flags2.9?PeerColor"],
|
|
3324
3276
|
["bot_active_users", "number", "flags2.12?int"],
|
|
3277
|
+
["bot_verification_icon", "bigint", "flags2.14?long"],
|
|
3325
3278
|
],
|
|
3326
3279
|
],
|
|
3327
3280
|
],
|
|
@@ -3447,7 +3400,7 @@ const types = new Map([
|
|
|
3447
3400
|
[
|
|
3448
3401
|
"channel",
|
|
3449
3402
|
[
|
|
3450
|
-
|
|
3403
|
+
0xE00998B7,
|
|
3451
3404
|
[
|
|
3452
3405
|
["flags", flags, "#"],
|
|
3453
3406
|
["creator", "true", "flags.0?true"],
|
|
@@ -3493,6 +3446,7 @@ const types = new Map([
|
|
|
3493
3446
|
["emoji_status", "EmojiStatus", "flags2.9?EmojiStatus"],
|
|
3494
3447
|
["level", "number", "flags2.10?int"],
|
|
3495
3448
|
["subscription_until_date", "number", "flags2.11?int"],
|
|
3449
|
+
["bot_verification_icon", "bigint", "flags2.13?long"],
|
|
3496
3450
|
],
|
|
3497
3451
|
],
|
|
3498
3452
|
],
|
|
@@ -3543,7 +3497,7 @@ const types = new Map([
|
|
|
3543
3497
|
[
|
|
3544
3498
|
"channelFull",
|
|
3545
3499
|
[
|
|
3546
|
-
|
|
3500
|
+
0x9FF3B858,
|
|
3547
3501
|
[
|
|
3548
3502
|
["flags", flags, "#"],
|
|
3549
3503
|
["can_view_participants", "true", "flags.3?true"],
|
|
@@ -3607,6 +3561,7 @@ const types = new Map([
|
|
|
3607
3561
|
["boosts_applied", "number", "flags2.8?int"],
|
|
3608
3562
|
["boosts_unrestrict", "number", "flags2.9?int"],
|
|
3609
3563
|
["emojiset", "StickerSet", "flags2.10?StickerSet"],
|
|
3564
|
+
["bot_verification", "BotVerification", "flags2.17?BotVerification"],
|
|
3610
3565
|
],
|
|
3611
3566
|
],
|
|
3612
3567
|
],
|
|
@@ -3697,7 +3652,7 @@ const types = new Map([
|
|
|
3697
3652
|
[
|
|
3698
3653
|
"message",
|
|
3699
3654
|
[
|
|
3700
|
-
|
|
3655
|
+
0x96FDBBE9,
|
|
3701
3656
|
[
|
|
3702
3657
|
["flags", flags, "#"],
|
|
3703
3658
|
["out", "true", "flags.1?true"],
|
|
@@ -3740,18 +3695,20 @@ const types = new Map([
|
|
|
3740
3695
|
["quick_reply_shortcut_id", "number", "flags.30?int"],
|
|
3741
3696
|
["effect", "bigint", "flags2.2?long"],
|
|
3742
3697
|
["factcheck", "FactCheck", "flags2.3?FactCheck"],
|
|
3698
|
+
["report_delivery_until_date", "number", "flags2.5?int"],
|
|
3743
3699
|
],
|
|
3744
3700
|
],
|
|
3745
3701
|
],
|
|
3746
3702
|
[
|
|
3747
3703
|
"messageService",
|
|
3748
3704
|
[
|
|
3749
|
-
|
|
3705
|
+
0xD3D28540,
|
|
3750
3706
|
[
|
|
3751
3707
|
["flags", flags, "#"],
|
|
3752
3708
|
["out", "true", "flags.1?true"],
|
|
3753
3709
|
["mentioned", "true", "flags.4?true"],
|
|
3754
3710
|
["media_unread", "true", "flags.5?true"],
|
|
3711
|
+
["reactions_are_possible", "true", "flags.9?true"],
|
|
3755
3712
|
["silent", "true", "flags.13?true"],
|
|
3756
3713
|
["post", "true", "flags.14?true"],
|
|
3757
3714
|
["legacy", "true", "flags.19?true"],
|
|
@@ -3761,6 +3718,7 @@ const types = new Map([
|
|
|
3761
3718
|
["reply_to", "MessageReplyHeader", "flags.3?MessageReplyHeader"],
|
|
3762
3719
|
["date", "number", "int"],
|
|
3763
3720
|
["action", "MessageAction", "MessageAction"],
|
|
3721
|
+
["reactions", "MessageReactions", "flags.20?MessageReactions"],
|
|
3764
3722
|
["ttl_period", "number", "flags.25?int"],
|
|
3765
3723
|
],
|
|
3766
3724
|
],
|
|
@@ -4468,15 +4426,36 @@ const types = new Map([
|
|
|
4468
4426
|
[
|
|
4469
4427
|
"messageActionStarGift",
|
|
4470
4428
|
[
|
|
4471
|
-
|
|
4429
|
+
0xD8F4F0A7,
|
|
4472
4430
|
[
|
|
4473
4431
|
["flags", flags, "#"],
|
|
4474
4432
|
["name_hidden", "true", "flags.0?true"],
|
|
4475
4433
|
["saved", "true", "flags.2?true"],
|
|
4476
4434
|
["converted", "true", "flags.3?true"],
|
|
4435
|
+
["upgraded", "true", "flags.5?true"],
|
|
4436
|
+
["refunded", "true", "flags.9?true"],
|
|
4437
|
+
["can_upgrade", "true", "flags.10?true"],
|
|
4477
4438
|
["gift", "StarGift", "StarGift"],
|
|
4478
4439
|
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
4479
4440
|
["convert_stars", "bigint", "flags.4?long"],
|
|
4441
|
+
["upgrade_msg_id", "number", "flags.5?int"],
|
|
4442
|
+
["upgrade_stars", "bigint", "flags.8?long"],
|
|
4443
|
+
],
|
|
4444
|
+
],
|
|
4445
|
+
],
|
|
4446
|
+
[
|
|
4447
|
+
"messageActionStarGiftUnique",
|
|
4448
|
+
[
|
|
4449
|
+
0x26077B99,
|
|
4450
|
+
[
|
|
4451
|
+
["flags", flags, "#"],
|
|
4452
|
+
["upgrade", "true", "flags.0?true"],
|
|
4453
|
+
["transferred", "true", "flags.1?true"],
|
|
4454
|
+
["saved", "true", "flags.2?true"],
|
|
4455
|
+
["refunded", "true", "flags.5?true"],
|
|
4456
|
+
["gift", "StarGift", "StarGift"],
|
|
4457
|
+
["can_export_at", "number", "flags.3?int"],
|
|
4458
|
+
["transfer_stars", "bigint", "flags.4?long"],
|
|
4480
4459
|
],
|
|
4481
4460
|
],
|
|
4482
4461
|
],
|
|
@@ -4893,7 +4872,7 @@ const types = new Map([
|
|
|
4893
4872
|
[
|
|
4894
4873
|
"userFull",
|
|
4895
4874
|
[
|
|
4896
|
-
|
|
4875
|
+
0x4D975BBC,
|
|
4897
4876
|
[
|
|
4898
4877
|
["flags", flags, "#"],
|
|
4899
4878
|
["blocked", "true", "flags.0?true"],
|
|
@@ -4942,6 +4921,7 @@ const types = new Map([
|
|
|
4942
4921
|
["personal_channel_message", "number", "flags2.6?int"],
|
|
4943
4922
|
["stargifts_count", "number", "flags2.8?int"],
|
|
4944
4923
|
["starref_program", "StarRefProgram", "flags2.11?StarRefProgram"],
|
|
4924
|
+
["bot_verification", "BotVerification", "flags2.12?BotVerification"],
|
|
4945
4925
|
],
|
|
4946
4926
|
],
|
|
4947
4927
|
],
|
|
@@ -6215,9 +6195,10 @@ const types = new Map([
|
|
|
6215
6195
|
[
|
|
6216
6196
|
"updateGroupCall",
|
|
6217
6197
|
[
|
|
6218
|
-
|
|
6198
|
+
0x97D64341,
|
|
6219
6199
|
[
|
|
6220
|
-
["
|
|
6200
|
+
["flags", flags, "#"],
|
|
6201
|
+
["chat_id", "bigint", "flags.0?long"],
|
|
6221
6202
|
["call", "GroupCall", "GroupCall"],
|
|
6222
6203
|
],
|
|
6223
6204
|
],
|
|
@@ -8316,7 +8297,7 @@ const types = new Map([
|
|
|
8316
8297
|
[
|
|
8317
8298
|
"chatInvite",
|
|
8318
8299
|
[
|
|
8319
|
-
|
|
8300
|
+
0x5C9D3702,
|
|
8320
8301
|
[
|
|
8321
8302
|
["flags", flags, "#"],
|
|
8322
8303
|
["channel", "true", "flags.0?true"],
|
|
@@ -8336,6 +8317,7 @@ const types = new Map([
|
|
|
8336
8317
|
["color", "number", "int"],
|
|
8337
8318
|
["subscription_pricing", "StarsSubscriptionPricing", "flags.10?StarsSubscriptionPricing"],
|
|
8338
8319
|
["subscription_form_id", "bigint", "flags.12?long"],
|
|
8320
|
+
["bot_verification", "BotVerification", "flags.13?BotVerification"],
|
|
8339
8321
|
],
|
|
8340
8322
|
],
|
|
8341
8323
|
],
|
|
@@ -8492,7 +8474,7 @@ const types = new Map([
|
|
|
8492
8474
|
[
|
|
8493
8475
|
"botInfo",
|
|
8494
8476
|
[
|
|
8495
|
-
|
|
8477
|
+
0x4D8A0299,
|
|
8496
8478
|
[
|
|
8497
8479
|
["flags", flags, "#"],
|
|
8498
8480
|
["has_preview_medias", "true", "flags.6?true"],
|
|
@@ -8504,6 +8486,7 @@ const types = new Map([
|
|
|
8504
8486
|
["menu_button", "BotMenuButton", "flags.3?BotMenuButton"],
|
|
8505
8487
|
["privacy_policy_url", "string", "flags.7?string"],
|
|
8506
8488
|
["app_settings", "BotAppSettings", "flags.8?BotAppSettings"],
|
|
8489
|
+
["verifier_settings", "BotVerifierSettings", "flags.9?BotVerifierSettings"],
|
|
8507
8490
|
],
|
|
8508
8491
|
],
|
|
8509
8492
|
],
|
|
@@ -10680,6 +10663,15 @@ const types = new Map([
|
|
|
10680
10663
|
[],
|
|
10681
10664
|
],
|
|
10682
10665
|
],
|
|
10666
|
+
[
|
|
10667
|
+
"phoneCallDiscardReasonAllowGroupCall",
|
|
10668
|
+
[
|
|
10669
|
+
0xAFE2B839,
|
|
10670
|
+
[
|
|
10671
|
+
["encrypted_key", Uint8Array, "bytes"],
|
|
10672
|
+
],
|
|
10673
|
+
],
|
|
10674
|
+
],
|
|
10683
10675
|
[
|
|
10684
10676
|
"dataJSON",
|
|
10685
10677
|
[
|
|
@@ -11085,7 +11077,7 @@ const types = new Map([
|
|
|
11085
11077
|
[
|
|
11086
11078
|
"phoneCallWaiting",
|
|
11087
11079
|
[
|
|
11088
|
-
|
|
11080
|
+
0xEED42858,
|
|
11089
11081
|
[
|
|
11090
11082
|
["flags", flags, "#"],
|
|
11091
11083
|
["video", "true", "flags.6?true"],
|
|
@@ -11096,13 +11088,14 @@ const types = new Map([
|
|
|
11096
11088
|
["participant_id", "bigint", "long"],
|
|
11097
11089
|
["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
|
|
11098
11090
|
["receive_date", "number", "flags.0?int"],
|
|
11091
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11099
11092
|
],
|
|
11100
11093
|
],
|
|
11101
11094
|
],
|
|
11102
11095
|
[
|
|
11103
11096
|
"phoneCallRequested",
|
|
11104
11097
|
[
|
|
11105
|
-
|
|
11098
|
+
0x45361C63,
|
|
11106
11099
|
[
|
|
11107
11100
|
["flags", flags, "#"],
|
|
11108
11101
|
["video", "true", "flags.6?true"],
|
|
@@ -11113,13 +11106,14 @@ const types = new Map([
|
|
|
11113
11106
|
["participant_id", "bigint", "long"],
|
|
11114
11107
|
["g_a_hash", Uint8Array, "bytes"],
|
|
11115
11108
|
["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
|
|
11109
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11116
11110
|
],
|
|
11117
11111
|
],
|
|
11118
11112
|
],
|
|
11119
11113
|
[
|
|
11120
11114
|
"phoneCallAccepted",
|
|
11121
11115
|
[
|
|
11122
|
-
|
|
11116
|
+
0x22FD7181,
|
|
11123
11117
|
[
|
|
11124
11118
|
["flags", flags, "#"],
|
|
11125
11119
|
["video", "true", "flags.6?true"],
|
|
@@ -11130,13 +11124,14 @@ const types = new Map([
|
|
|
11130
11124
|
["participant_id", "bigint", "long"],
|
|
11131
11125
|
["g_b", Uint8Array, "bytes"],
|
|
11132
11126
|
["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
|
|
11127
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11133
11128
|
],
|
|
11134
11129
|
],
|
|
11135
11130
|
],
|
|
11136
11131
|
[
|
|
11137
11132
|
"phoneCall",
|
|
11138
11133
|
[
|
|
11139
|
-
|
|
11134
|
+
0x3BA5940C,
|
|
11140
11135
|
[
|
|
11141
11136
|
["flags", flags, "#"],
|
|
11142
11137
|
["p2p_allowed", "true", "flags.5?true"],
|
|
@@ -11152,13 +11147,14 @@ const types = new Map([
|
|
|
11152
11147
|
["connections", ["PhoneConnection"], "Vector<PhoneConnection>"],
|
|
11153
11148
|
["start_date", "number", "int"],
|
|
11154
11149
|
["custom_parameters", "DataJSON", "flags.7?DataJSON"],
|
|
11150
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11155
11151
|
],
|
|
11156
11152
|
],
|
|
11157
11153
|
],
|
|
11158
11154
|
[
|
|
11159
11155
|
"phoneCallDiscarded",
|
|
11160
11156
|
[
|
|
11161
|
-
|
|
11157
|
+
0xF9D25503,
|
|
11162
11158
|
[
|
|
11163
11159
|
["flags", flags, "#"],
|
|
11164
11160
|
["need_rating", "true", "flags.2?true"],
|
|
@@ -11167,6 +11163,7 @@ const types = new Map([
|
|
|
11167
11163
|
["id", "bigint", "long"],
|
|
11168
11164
|
["reason", "PhoneCallDiscardReason", "flags.0?PhoneCallDiscardReason"],
|
|
11169
11165
|
["duration", "number", "flags.1?int"],
|
|
11166
|
+
["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
|
|
11170
11167
|
],
|
|
11171
11168
|
],
|
|
11172
11169
|
],
|
|
@@ -13475,7 +13472,7 @@ const types = new Map([
|
|
|
13475
13472
|
[
|
|
13476
13473
|
"dialogFilter",
|
|
13477
13474
|
[
|
|
13478
|
-
|
|
13475
|
+
0xAA472651,
|
|
13479
13476
|
[
|
|
13480
13477
|
["flags", flags, "#"],
|
|
13481
13478
|
["contacts", "true", "flags.0?true"],
|
|
@@ -13486,8 +13483,9 @@ const types = new Map([
|
|
|
13486
13483
|
["exclude_muted", "true", "flags.11?true"],
|
|
13487
13484
|
["exclude_read", "true", "flags.12?true"],
|
|
13488
13485
|
["exclude_archived", "true", "flags.13?true"],
|
|
13486
|
+
["title_noanimate", "true", "flags.28?true"],
|
|
13489
13487
|
["id", "number", "int"],
|
|
13490
|
-
["title", "
|
|
13488
|
+
["title", "TextWithEntities", "TextWithEntities"],
|
|
13491
13489
|
["emoticon", "string", "flags.25?string"],
|
|
13492
13490
|
["color", "number", "flags.27?int"],
|
|
13493
13491
|
["pinned_peers", ["InputPeer"], "Vector<InputPeer>"],
|
|
@@ -13506,12 +13504,13 @@ const types = new Map([
|
|
|
13506
13504
|
[
|
|
13507
13505
|
"dialogFilterChatlist",
|
|
13508
13506
|
[
|
|
13509
|
-
|
|
13507
|
+
0x96537BD7,
|
|
13510
13508
|
[
|
|
13511
13509
|
["flags", flags, "#"],
|
|
13512
13510
|
["has_my_invites", "true", "flags.26?true"],
|
|
13511
|
+
["title_noanimate", "true", "flags.28?true"],
|
|
13513
13512
|
["id", "number", "int"],
|
|
13514
|
-
["title", "
|
|
13513
|
+
["title", "TextWithEntities", "TextWithEntities"],
|
|
13515
13514
|
["emoticon", "string", "flags.25?string"],
|
|
13516
13515
|
["color", "number", "flags.27?int"],
|
|
13517
13516
|
["pinned_peers", ["InputPeer"], "Vector<InputPeer>"],
|
|
@@ -13912,7 +13911,7 @@ const types = new Map([
|
|
|
13912
13911
|
[
|
|
13913
13912
|
"groupCall",
|
|
13914
13913
|
[
|
|
13915
|
-
|
|
13914
|
+
0xCDF8D3E3,
|
|
13916
13915
|
[
|
|
13917
13916
|
["flags", flags, "#"],
|
|
13918
13917
|
["join_muted", "true", "flags.1?true"],
|
|
@@ -13933,6 +13932,7 @@ const types = new Map([
|
|
|
13933
13932
|
["unmuted_video_count", "number", "flags.10?int"],
|
|
13934
13933
|
["unmuted_video_limit", "number", "int"],
|
|
13935
13934
|
["version", "number", "int"],
|
|
13935
|
+
["conference_from_call", "bigint", "flags.14?long"],
|
|
13936
13936
|
],
|
|
13937
13937
|
],
|
|
13938
13938
|
],
|
|
@@ -14827,12 +14827,34 @@ const types = new Map([
|
|
|
14827
14827
|
[
|
|
14828
14828
|
["flags", flags, "#"],
|
|
14829
14829
|
["hide_name", "true", "flags.0?true"],
|
|
14830
|
+
["include_upgrade", "true", "flags.2?true"],
|
|
14830
14831
|
["user_id", "InputUser", "InputUser"],
|
|
14831
14832
|
["gift_id", "bigint", "long"],
|
|
14832
14833
|
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
14833
14834
|
],
|
|
14834
14835
|
],
|
|
14835
14836
|
],
|
|
14837
|
+
[
|
|
14838
|
+
"inputInvoiceStarGiftUpgrade",
|
|
14839
|
+
[
|
|
14840
|
+
0x5EBE7262,
|
|
14841
|
+
[
|
|
14842
|
+
["flags", flags, "#"],
|
|
14843
|
+
["keep_original_details", "true", "flags.0?true"],
|
|
14844
|
+
["msg_id", "number", "int"],
|
|
14845
|
+
],
|
|
14846
|
+
],
|
|
14847
|
+
],
|
|
14848
|
+
[
|
|
14849
|
+
"inputInvoiceStarGiftTransfer",
|
|
14850
|
+
[
|
|
14851
|
+
0xAE3BA9ED,
|
|
14852
|
+
[
|
|
14853
|
+
["msg_id", "number", "int"],
|
|
14854
|
+
["to_id", "InputUser", "InputUser"],
|
|
14855
|
+
],
|
|
14856
|
+
],
|
|
14857
|
+
],
|
|
14836
14858
|
[
|
|
14837
14859
|
"payments.exportedInvoice",
|
|
14838
14860
|
[
|
|
@@ -15637,10 +15659,11 @@ const types = new Map([
|
|
|
15637
15659
|
[
|
|
15638
15660
|
"chatlists.chatlistInvite",
|
|
15639
15661
|
[
|
|
15640
|
-
|
|
15662
|
+
0xF10ECE2F,
|
|
15641
15663
|
[
|
|
15642
15664
|
["flags", flags, "#"],
|
|
15643
|
-
["
|
|
15665
|
+
["title_noanimate", "true", "flags.1?true"],
|
|
15666
|
+
["title", "TextWithEntities", "TextWithEntities"],
|
|
15644
15667
|
["emoticon", "string", "flags.0?string"],
|
|
15645
15668
|
["peers", ["Peer"], "Vector<Peer>"],
|
|
15646
15669
|
["chats", ["Chat"], "Vector<Chat>"],
|
|
@@ -17315,6 +17338,7 @@ const types = new Map([
|
|
|
17315
17338
|
["failed", "true", "flags.6?true"],
|
|
17316
17339
|
["gift", "true", "flags.10?true"],
|
|
17317
17340
|
["reaction", "true", "flags.11?true"],
|
|
17341
|
+
["stargift_upgrade", "true", "flags.18?true"],
|
|
17318
17342
|
["id", "string", "string"],
|
|
17319
17343
|
["stars", "StarsAmount", "StarsAmount"],
|
|
17320
17344
|
["date", "number", "int"],
|
|
@@ -17567,7 +17591,7 @@ const types = new Map([
|
|
|
17567
17591
|
[
|
|
17568
17592
|
"starGift",
|
|
17569
17593
|
[
|
|
17570
|
-
|
|
17594
|
+
0x02CC73C8,
|
|
17571
17595
|
[
|
|
17572
17596
|
["flags", flags, "#"],
|
|
17573
17597
|
["limited", "true", "flags.0?true"],
|
|
@@ -17581,6 +17605,22 @@ const types = new Map([
|
|
|
17581
17605
|
["convert_stars", "bigint", "long"],
|
|
17582
17606
|
["first_sale_date", "number", "flags.1?int"],
|
|
17583
17607
|
["last_sale_date", "number", "flags.1?int"],
|
|
17608
|
+
["upgrade_stars", "bigint", "flags.3?long"],
|
|
17609
|
+
],
|
|
17610
|
+
],
|
|
17611
|
+
],
|
|
17612
|
+
[
|
|
17613
|
+
"starGiftUnique",
|
|
17614
|
+
[
|
|
17615
|
+
0x6A1407CD,
|
|
17616
|
+
[
|
|
17617
|
+
["id", "bigint", "long"],
|
|
17618
|
+
["title", "string", "string"],
|
|
17619
|
+
["num", "number", "int"],
|
|
17620
|
+
["owner_id", "bigint", "long"],
|
|
17621
|
+
["attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
|
|
17622
|
+
["availability_issued", "number", "int"],
|
|
17623
|
+
["availability_total", "number", "int"],
|
|
17584
17624
|
],
|
|
17585
17625
|
],
|
|
17586
17626
|
],
|
|
@@ -17604,17 +17644,22 @@ const types = new Map([
|
|
|
17604
17644
|
[
|
|
17605
17645
|
"userStarGift",
|
|
17606
17646
|
[
|
|
17607
|
-
|
|
17647
|
+
0x325835E1,
|
|
17608
17648
|
[
|
|
17609
17649
|
["flags", flags, "#"],
|
|
17610
17650
|
["name_hidden", "true", "flags.0?true"],
|
|
17611
17651
|
["unsaved", "true", "flags.5?true"],
|
|
17652
|
+
["refunded", "true", "flags.9?true"],
|
|
17653
|
+
["can_upgrade", "true", "flags.10?true"],
|
|
17612
17654
|
["from_id", "bigint", "flags.1?long"],
|
|
17613
17655
|
["date", "number", "int"],
|
|
17614
17656
|
["gift", "StarGift", "StarGift"],
|
|
17615
17657
|
["message", "TextWithEntities", "flags.2?TextWithEntities"],
|
|
17616
17658
|
["msg_id", "number", "flags.3?int"],
|
|
17617
17659
|
["convert_stars", "bigint", "flags.4?long"],
|
|
17660
|
+
["upgrade_stars", "bigint", "flags.6?long"],
|
|
17661
|
+
["can_export_at", "number", "flags.7?int"],
|
|
17662
|
+
["transfer_stars", "bigint", "flags.8?long"],
|
|
17618
17663
|
],
|
|
17619
17664
|
],
|
|
17620
17665
|
],
|
|
@@ -17793,6 +17838,107 @@ const types = new Map([
|
|
|
17793
17838
|
],
|
|
17794
17839
|
],
|
|
17795
17840
|
],
|
|
17841
|
+
[
|
|
17842
|
+
"botVerifierSettings",
|
|
17843
|
+
[
|
|
17844
|
+
0xB0CD6617,
|
|
17845
|
+
[
|
|
17846
|
+
["flags", flags, "#"],
|
|
17847
|
+
["can_modify_custom_description", "true", "flags.1?true"],
|
|
17848
|
+
["icon", "bigint", "long"],
|
|
17849
|
+
["company", "string", "string"],
|
|
17850
|
+
["custom_description", "string", "flags.0?string"],
|
|
17851
|
+
],
|
|
17852
|
+
],
|
|
17853
|
+
],
|
|
17854
|
+
[
|
|
17855
|
+
"botVerification",
|
|
17856
|
+
[
|
|
17857
|
+
0xF93CD45C,
|
|
17858
|
+
[
|
|
17859
|
+
["bot_id", "bigint", "long"],
|
|
17860
|
+
["icon", "bigint", "long"],
|
|
17861
|
+
["description", "string", "string"],
|
|
17862
|
+
],
|
|
17863
|
+
],
|
|
17864
|
+
],
|
|
17865
|
+
[
|
|
17866
|
+
"starGiftAttributeModel",
|
|
17867
|
+
[
|
|
17868
|
+
0x39D99013,
|
|
17869
|
+
[
|
|
17870
|
+
["name", "string", "string"],
|
|
17871
|
+
["document", "Document", "Document"],
|
|
17872
|
+
["rarity_permille", "number", "int"],
|
|
17873
|
+
],
|
|
17874
|
+
],
|
|
17875
|
+
],
|
|
17876
|
+
[
|
|
17877
|
+
"starGiftAttributePattern",
|
|
17878
|
+
[
|
|
17879
|
+
0x13ACFF19,
|
|
17880
|
+
[
|
|
17881
|
+
["name", "string", "string"],
|
|
17882
|
+
["document", "Document", "Document"],
|
|
17883
|
+
["rarity_permille", "number", "int"],
|
|
17884
|
+
],
|
|
17885
|
+
],
|
|
17886
|
+
],
|
|
17887
|
+
[
|
|
17888
|
+
"starGiftAttributeBackdrop",
|
|
17889
|
+
[
|
|
17890
|
+
0x94271762,
|
|
17891
|
+
[
|
|
17892
|
+
["name", "string", "string"],
|
|
17893
|
+
["center_color", "number", "int"],
|
|
17894
|
+
["edge_color", "number", "int"],
|
|
17895
|
+
["pattern_color", "number", "int"],
|
|
17896
|
+
["text_color", "number", "int"],
|
|
17897
|
+
["rarity_permille", "number", "int"],
|
|
17898
|
+
],
|
|
17899
|
+
],
|
|
17900
|
+
],
|
|
17901
|
+
[
|
|
17902
|
+
"starGiftAttributeOriginalDetails",
|
|
17903
|
+
[
|
|
17904
|
+
0xC02C4F4B,
|
|
17905
|
+
[
|
|
17906
|
+
["flags", flags, "#"],
|
|
17907
|
+
["sender_id", "bigint", "flags.0?long"],
|
|
17908
|
+
["recipient_id", "bigint", "long"],
|
|
17909
|
+
["date", "number", "int"],
|
|
17910
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
17911
|
+
],
|
|
17912
|
+
],
|
|
17913
|
+
],
|
|
17914
|
+
[
|
|
17915
|
+
"payments.starGiftUpgradePreview",
|
|
17916
|
+
[
|
|
17917
|
+
0x167BD90B,
|
|
17918
|
+
[
|
|
17919
|
+
["sample_attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
|
|
17920
|
+
],
|
|
17921
|
+
],
|
|
17922
|
+
],
|
|
17923
|
+
[
|
|
17924
|
+
"users.users",
|
|
17925
|
+
[
|
|
17926
|
+
0x62D706B8,
|
|
17927
|
+
[
|
|
17928
|
+
["users", ["User"], "Vector<User>"],
|
|
17929
|
+
],
|
|
17930
|
+
],
|
|
17931
|
+
],
|
|
17932
|
+
[
|
|
17933
|
+
"users.usersSlice",
|
|
17934
|
+
[
|
|
17935
|
+
0x315A4974,
|
|
17936
|
+
[
|
|
17937
|
+
["count", "number", "int"],
|
|
17938
|
+
["users", ["User"], "Vector<User>"],
|
|
17939
|
+
],
|
|
17940
|
+
],
|
|
17941
|
+
],
|
|
17796
17942
|
[
|
|
17797
17943
|
"req_pq_multi",
|
|
17798
17944
|
[
|
|
@@ -17880,35 +18026,6 @@ const types = new Map([
|
|
|
17880
18026
|
[],
|
|
17881
18027
|
],
|
|
17882
18028
|
],
|
|
17883
|
-
[
|
|
17884
|
-
"invokeWithBusinessConnectionPrefix",
|
|
17885
|
-
[
|
|
17886
|
-
0xDD289F8E,
|
|
17887
|
-
[
|
|
17888
|
-
["connection_id", "string", "string"],
|
|
17889
|
-
],
|
|
17890
|
-
],
|
|
17891
|
-
],
|
|
17892
|
-
[
|
|
17893
|
-
"invokeWithGooglePlayIntegrityPrefix",
|
|
17894
|
-
[
|
|
17895
|
-
0x1DF92984,
|
|
17896
|
-
[
|
|
17897
|
-
["nonce", "string", "string"],
|
|
17898
|
-
["token", "string", "string"],
|
|
17899
|
-
],
|
|
17900
|
-
],
|
|
17901
|
-
],
|
|
17902
|
-
[
|
|
17903
|
-
"invokeWithApnsSecretPrefix",
|
|
17904
|
-
[
|
|
17905
|
-
0x0DAE54F8,
|
|
17906
|
-
[
|
|
17907
|
-
["nonce", "string", "string"],
|
|
17908
|
-
["secret", "string", "string"],
|
|
17909
|
-
],
|
|
17910
|
-
],
|
|
17911
|
-
],
|
|
17912
18029
|
[
|
|
17913
18030
|
"invokeAfterMsg",
|
|
17914
18031
|
[
|
|
@@ -20205,6 +20322,8 @@ const types = new Map([
|
|
|
20205
20322
|
[
|
|
20206
20323
|
["flags", flags, "#"],
|
|
20207
20324
|
["broadcasts_only", "true", "flags.1?true"],
|
|
20325
|
+
["groups_only", "true", "flags.2?true"],
|
|
20326
|
+
["users_only", "true", "flags.3?true"],
|
|
20208
20327
|
["folder_id", "number", "flags.0?int"],
|
|
20209
20328
|
["q", "string", "string"],
|
|
20210
20329
|
["filter", "MessagesFilter", "MessagesFilter"],
|
|
@@ -22197,6 +22316,18 @@ const types = new Map([
|
|
|
22197
22316
|
],
|
|
22198
22317
|
],
|
|
22199
22318
|
],
|
|
22319
|
+
[
|
|
22320
|
+
"messages.reportMessagesDelivery",
|
|
22321
|
+
[
|
|
22322
|
+
0x5A6D7395,
|
|
22323
|
+
[
|
|
22324
|
+
["flags", flags, "#"],
|
|
22325
|
+
["push", "true", "flags.0?true"],
|
|
22326
|
+
["peer", "InputPeer", "InputPeer"],
|
|
22327
|
+
["id", ["number"], "Vector<int>"],
|
|
22328
|
+
],
|
|
22329
|
+
],
|
|
22330
|
+
],
|
|
22200
22331
|
[
|
|
22201
22332
|
"updates.getState",
|
|
22202
22333
|
[
|
|
@@ -23537,6 +23668,29 @@ const types = new Map([
|
|
|
23537
23668
|
],
|
|
23538
23669
|
],
|
|
23539
23670
|
],
|
|
23671
|
+
[
|
|
23672
|
+
"bots.setCustomVerification",
|
|
23673
|
+
[
|
|
23674
|
+
0x8B89DFBD,
|
|
23675
|
+
[
|
|
23676
|
+
["flags", flags, "#"],
|
|
23677
|
+
["enabled", "true", "flags.1?true"],
|
|
23678
|
+
["bot", "InputUser", "flags.0?InputUser"],
|
|
23679
|
+
["peer", "InputPeer", "InputPeer"],
|
|
23680
|
+
["custom_description", "string", "flags.2?string"],
|
|
23681
|
+
],
|
|
23682
|
+
],
|
|
23683
|
+
],
|
|
23684
|
+
[
|
|
23685
|
+
"bots.getBotRecommendations",
|
|
23686
|
+
[
|
|
23687
|
+
0x2855BE61,
|
|
23688
|
+
[
|
|
23689
|
+
["flags", flags, "#"],
|
|
23690
|
+
["bot", "InputUser", "InputUser"],
|
|
23691
|
+
],
|
|
23692
|
+
],
|
|
23693
|
+
],
|
|
23540
23694
|
[
|
|
23541
23695
|
"payments.getPaymentForm",
|
|
23542
23696
|
[
|
|
@@ -23866,11 +24020,10 @@ const types = new Map([
|
|
|
23866
24020
|
[
|
|
23867
24021
|
"payments.saveStarGift",
|
|
23868
24022
|
[
|
|
23869
|
-
|
|
24023
|
+
0x92FD2AAE,
|
|
23870
24024
|
[
|
|
23871
24025
|
["flags", flags, "#"],
|
|
23872
24026
|
["unsave", "true", "flags.0?true"],
|
|
23873
|
-
["user_id", "InputUser", "InputUser"],
|
|
23874
24027
|
["msg_id", "number", "int"],
|
|
23875
24028
|
],
|
|
23876
24029
|
],
|
|
@@ -23878,9 +24031,8 @@ const types = new Map([
|
|
|
23878
24031
|
[
|
|
23879
24032
|
"payments.convertStarGift",
|
|
23880
24033
|
[
|
|
23881
|
-
|
|
24034
|
+
0x72770C83,
|
|
23882
24035
|
[
|
|
23883
|
-
["user_id", "InputUser", "InputUser"],
|
|
23884
24036
|
["msg_id", "number", "int"],
|
|
23885
24037
|
],
|
|
23886
24038
|
],
|
|
@@ -23956,6 +24108,45 @@ const types = new Map([
|
|
|
23956
24108
|
],
|
|
23957
24109
|
],
|
|
23958
24110
|
],
|
|
24111
|
+
[
|
|
24112
|
+
"payments.getStarGiftUpgradePreview",
|
|
24113
|
+
[
|
|
24114
|
+
0x9C9ABCB1,
|
|
24115
|
+
[
|
|
24116
|
+
["gift_id", "bigint", "long"],
|
|
24117
|
+
],
|
|
24118
|
+
],
|
|
24119
|
+
],
|
|
24120
|
+
[
|
|
24121
|
+
"payments.upgradeStarGift",
|
|
24122
|
+
[
|
|
24123
|
+
0xCF4F0781,
|
|
24124
|
+
[
|
|
24125
|
+
["flags", flags, "#"],
|
|
24126
|
+
["keep_original_details", "true", "flags.0?true"],
|
|
24127
|
+
["msg_id", "number", "int"],
|
|
24128
|
+
],
|
|
24129
|
+
],
|
|
24130
|
+
],
|
|
24131
|
+
[
|
|
24132
|
+
"payments.transferStarGift",
|
|
24133
|
+
[
|
|
24134
|
+
0x333FB526,
|
|
24135
|
+
[
|
|
24136
|
+
["msg_id", "number", "int"],
|
|
24137
|
+
["to_id", "InputUser", "InputUser"],
|
|
24138
|
+
],
|
|
24139
|
+
],
|
|
24140
|
+
],
|
|
24141
|
+
[
|
|
24142
|
+
"payments.getUserStarGift",
|
|
24143
|
+
[
|
|
24144
|
+
0xB502E4A5,
|
|
24145
|
+
[
|
|
24146
|
+
["msg_id", ["number"], "Vector<int>"],
|
|
24147
|
+
],
|
|
24148
|
+
],
|
|
24149
|
+
],
|
|
23959
24150
|
[
|
|
23960
24151
|
"stickers.createStickerSet",
|
|
23961
24152
|
[
|
|
@@ -24085,11 +24276,12 @@ const types = new Map([
|
|
|
24085
24276
|
[
|
|
24086
24277
|
"phone.requestCall",
|
|
24087
24278
|
[
|
|
24088
|
-
|
|
24279
|
+
0xA6C4600C,
|
|
24089
24280
|
[
|
|
24090
24281
|
["flags", flags, "#"],
|
|
24091
24282
|
["video", "true", "flags.0?true"],
|
|
24092
24283
|
["user_id", "InputUser", "InputUser"],
|
|
24284
|
+
["conference_call", "InputGroupCall", "flags.1?InputGroupCall"],
|
|
24093
24285
|
["random_id", "number", "int"],
|
|
24094
24286
|
["g_a_hash", Uint8Array, "bytes"],
|
|
24095
24287
|
["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
|
|
@@ -24192,7 +24384,7 @@ const types = new Map([
|
|
|
24192
24384
|
[
|
|
24193
24385
|
"phone.joinGroupCall",
|
|
24194
24386
|
[
|
|
24195
|
-
|
|
24387
|
+
0xD61E1DF3,
|
|
24196
24388
|
[
|
|
24197
24389
|
["flags", flags, "#"],
|
|
24198
24390
|
["muted", "true", "flags.0?true"],
|
|
@@ -24200,6 +24392,7 @@ const types = new Map([
|
|
|
24200
24392
|
["call", "InputGroupCall", "InputGroupCall"],
|
|
24201
24393
|
["join_as", "InputPeer", "InputPeer"],
|
|
24202
24394
|
["invite_hash", "string", "flags.1?string"],
|
|
24395
|
+
["key_fingerprint", "bigint", "flags.3?long"],
|
|
24203
24396
|
["params", "DataJSON", "DataJSON"],
|
|
24204
24397
|
],
|
|
24205
24398
|
],
|
|
@@ -24416,6 +24609,16 @@ const types = new Map([
|
|
|
24416
24609
|
],
|
|
24417
24610
|
],
|
|
24418
24611
|
],
|
|
24612
|
+
[
|
|
24613
|
+
"phone.createConferenceCall",
|
|
24614
|
+
[
|
|
24615
|
+
0xDFC909AB,
|
|
24616
|
+
[
|
|
24617
|
+
["peer", "InputPhoneCall", "InputPhoneCall"],
|
|
24618
|
+
["key_fingerprint", "bigint", "long"],
|
|
24619
|
+
],
|
|
24620
|
+
],
|
|
24621
|
+
],
|
|
24419
24622
|
[
|
|
24420
24623
|
"langpack.getLangPack",
|
|
24421
24624
|
[
|