@mtkruto/node 0.13.0 → 0.15.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 +5 -1
- package/esm/3_types.d.ts.map +1 -1
- package/esm/3_types.js +5 -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 +31 -9
- 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_update_processor.d.ts +7 -0
- package/esm/client/0_update_processor.d.ts.map +1 -0
- package/esm/client/0_update_processor.js +1 -0
- 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 +4 -3
- package/esm/client/2_business_connection_manager.d.ts.map +1 -1
- package/esm/client/2_business_connection_manager.js +2 -2
- package/esm/client/2_file_manager.js +1 -1
- package/esm/client/2_gift_manager.d.ts +29 -0
- package/esm/client/2_gift_manager.d.ts.map +1 -0
- package/esm/client/2_gift_manager.js +62 -0
- 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 +4 -3
- package/esm/client/2_payment_manager.d.ts.map +1 -1
- package/esm/client/2_payment_manager.js +2 -2
- package/esm/client/2_reaction_manager.d.ts +4 -3
- package/esm/client/2_reaction_manager.d.ts.map +1 -1
- package/esm/client/2_reaction_manager.js +2 -2
- package/esm/client/2_translations_manager.d.ts +3 -2
- package/esm/client/2_translations_manager.d.ts.map +1 -1
- package/esm/client/2_translations_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 +10 -26
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +64 -241
- package/esm/client/3_video_chat_manager.d.ts +5 -4
- package/esm/client/3_video_chat_manager.d.ts.map +1 -1
- package/esm/client/3_video_chat_manager.js +5 -2
- package/esm/client/4_callback_query_manager.d.ts +4 -3
- package/esm/client/4_callback_query_manager.d.ts.map +1 -1
- package/esm/client/4_callback_query_manager.js +2 -2
- package/esm/client/4_chat_list_manager.d.ts +5 -4
- package/esm/client/4_chat_list_manager.d.ts.map +1 -1
- package/esm/client/4_chat_list_manager.js +3 -2
- package/esm/client/4_chat_manager.d.ts +61 -0
- package/esm/client/4_chat_manager.d.ts.map +1 -0
- package/esm/client/4_chat_manager.js +293 -0
- package/esm/client/4_inline_query_manager.d.ts +4 -3
- package/esm/client/4_inline_query_manager.d.ts.map +1 -1
- package/esm/client/4_inline_query_manager.js +2 -2
- package/esm/client/4_poll_manager.d.ts +4 -3
- package/esm/client/4_poll_manager.d.ts.map +1 -1
- package/esm/client/4_poll_manager.js +2 -2
- package/esm/client/4_story_manager.d.ts +4 -3
- package/esm/client/4_story_manager.d.ts.map +1 -1
- package/esm/client/4_story_manager.js +2 -2
- package/esm/client/5_client.d.ts +44 -7
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +182 -73
- 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 +2 -1
- package/esm/types/1_sticker.d.ts.map +1 -1
- package/esm/types/1_sticker.js +7 -3
- 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_gift_upgraded_component.d.ts +95 -0
- package/esm/types/2_gift_upgraded_component.d.ts.map +1 -0
- package/esm/types/2_gift_upgraded_component.js +88 -0
- 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_gift.d.ts +82 -0
- package/esm/types/3_gift.d.ts.map +1 -0
- package/esm/types/3_gift.js +88 -0
- 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/4_user_gift.d.ts +44 -0
- package/esm/types/4_user_gift.d.ts.map +1 -0
- package/esm/types/4_user_gift.js +43 -0
- 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/5_user_gifts.d.ts +32 -0
- package/esm/types/5_user_gifts.d.ts.map +1 -0
- package/esm/types/5_user_gifts.js +29 -0
- 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 +5 -1
- package/script/3_types.d.ts.map +1 -1
- package/script/3_types.js +5 -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 +31 -9
- 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_update_processor.d.ts +7 -0
- package/script/client/0_update_processor.d.ts.map +1 -0
- package/script/client/0_update_processor.js +2 -0
- 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 +4 -3
- package/script/client/2_business_connection_manager.d.ts.map +1 -1
- package/script/client/2_business_connection_manager.js +2 -2
- package/script/client/2_file_manager.js +1 -1
- package/script/client/2_gift_manager.d.ts +29 -0
- package/script/client/2_gift_manager.d.ts.map +1 -0
- package/script/client/2_gift_manager.js +66 -0
- 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 +4 -3
- package/script/client/2_payment_manager.d.ts.map +1 -1
- package/script/client/2_payment_manager.js +2 -2
- package/script/client/2_reaction_manager.d.ts +4 -3
- package/script/client/2_reaction_manager.d.ts.map +1 -1
- package/script/client/2_reaction_manager.js +2 -2
- package/script/client/2_translations_manager.d.ts +3 -2
- package/script/client/2_translations_manager.d.ts.map +1 -1
- package/script/client/2_translations_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 +10 -26
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +61 -238
- package/script/client/3_video_chat_manager.d.ts +5 -4
- package/script/client/3_video_chat_manager.d.ts.map +1 -1
- package/script/client/3_video_chat_manager.js +5 -2
- package/script/client/4_callback_query_manager.d.ts +4 -3
- package/script/client/4_callback_query_manager.d.ts.map +1 -1
- package/script/client/4_callback_query_manager.js +2 -2
- package/script/client/4_chat_list_manager.d.ts +5 -4
- package/script/client/4_chat_list_manager.d.ts.map +1 -1
- package/script/client/4_chat_list_manager.js +3 -2
- package/script/client/4_chat_manager.d.ts +61 -0
- package/script/client/4_chat_manager.d.ts.map +1 -0
- package/script/client/4_chat_manager.js +297 -0
- package/script/client/4_inline_query_manager.d.ts +4 -3
- package/script/client/4_inline_query_manager.d.ts.map +1 -1
- package/script/client/4_inline_query_manager.js +2 -2
- package/script/client/4_poll_manager.d.ts +4 -3
- package/script/client/4_poll_manager.d.ts.map +1 -1
- package/script/client/4_poll_manager.js +2 -2
- package/script/client/4_story_manager.d.ts +4 -3
- package/script/client/4_story_manager.d.ts.map +1 -1
- package/script/client/4_story_manager.js +2 -2
- package/script/client/5_client.d.ts +44 -7
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +182 -73
- 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 +2 -1
- package/script/types/1_sticker.d.ts.map +1 -1
- package/script/types/1_sticker.js +8 -3
- 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_gift_upgraded_component.d.ts +95 -0
- package/script/types/2_gift_upgraded_component.d.ts.map +1 -0
- package/script/types/2_gift_upgraded_component.js +91 -0
- 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_gift.d.ts +82 -0
- package/script/types/3_gift.d.ts.map +1 -0
- package/script/types/3_gift.js +93 -0
- 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/4_user_gift.d.ts +44 -0
- package/script/types/4_user_gift.d.ts.map +1 -0
- package/script/types/4_user_gift.js +46 -0
- 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/5_user_gifts.d.ts +32 -0
- package/script/types/5_user_gifts.d.ts.map +1 -0
- package/script/types/5_user_gifts.js +32 -0
- 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/script/tl/0_api.d.ts
CHANGED
|
@@ -202,41 +202,8 @@ export interface error {
|
|
|
202
202
|
code: number;
|
|
203
203
|
text: string;
|
|
204
204
|
}
|
|
205
|
-
export interface
|
|
206
|
-
_: "
|
|
207
|
-
ipv4: number;
|
|
208
|
-
port: number;
|
|
209
|
-
}
|
|
210
|
-
export interface ipPortSecret {
|
|
211
|
-
_: "ipPortSecret";
|
|
212
|
-
ipv4: number;
|
|
213
|
-
port: number;
|
|
214
|
-
secret: Uint8Array;
|
|
215
|
-
}
|
|
216
|
-
export interface accessPointRule {
|
|
217
|
-
_: "accessPointRule";
|
|
218
|
-
phone_prefix_rules: string;
|
|
219
|
-
dc_id: number;
|
|
220
|
-
ips: Array<IpPort>;
|
|
221
|
-
}
|
|
222
|
-
export interface help_configSimple {
|
|
223
|
-
_: "help.configSimple";
|
|
224
|
-
date: number;
|
|
225
|
-
expires: number;
|
|
226
|
-
rules: Array<AccessPointRule>;
|
|
227
|
-
}
|
|
228
|
-
export interface inputPeerPhotoFileLocationLegacy {
|
|
229
|
-
_: "inputPeerPhotoFileLocationLegacy";
|
|
230
|
-
big?: true;
|
|
231
|
-
peer: InputPeer;
|
|
232
|
-
volume_id: bigint;
|
|
233
|
-
local_id: number;
|
|
234
|
-
}
|
|
235
|
-
export interface inputStickerSetThumbLegacy {
|
|
236
|
-
_: "inputStickerSetThumbLegacy";
|
|
237
|
-
stickerset: InputStickerSet;
|
|
238
|
-
volume_id: bigint;
|
|
239
|
-
local_id: number;
|
|
205
|
+
export interface null_ {
|
|
206
|
+
_: "null";
|
|
240
207
|
}
|
|
241
208
|
export interface inputPeerEmpty {
|
|
242
209
|
_: "inputPeerEmpty";
|
|
@@ -616,6 +583,7 @@ export interface user {
|
|
|
616
583
|
color?: PeerColor;
|
|
617
584
|
profile_color?: PeerColor;
|
|
618
585
|
bot_active_users?: number;
|
|
586
|
+
bot_verification_icon?: bigint;
|
|
619
587
|
}
|
|
620
588
|
export interface userProfilePhotoEmpty {
|
|
621
589
|
_: "userProfilePhotoEmpty";
|
|
@@ -722,6 +690,7 @@ export interface channel {
|
|
|
722
690
|
emoji_status?: EmojiStatus;
|
|
723
691
|
level?: number;
|
|
724
692
|
subscription_until_date?: number;
|
|
693
|
+
bot_verification_icon?: bigint;
|
|
725
694
|
}
|
|
726
695
|
export interface channelForbidden {
|
|
727
696
|
_: "channelForbidden";
|
|
@@ -817,6 +786,7 @@ export interface channelFull {
|
|
|
817
786
|
boosts_applied?: number;
|
|
818
787
|
boosts_unrestrict?: number;
|
|
819
788
|
emojiset?: StickerSet;
|
|
789
|
+
bot_verification?: BotVerification;
|
|
820
790
|
}
|
|
821
791
|
export interface chatParticipant {
|
|
822
792
|
_: "chatParticipant";
|
|
@@ -901,12 +871,14 @@ export interface message {
|
|
|
901
871
|
quick_reply_shortcut_id?: number;
|
|
902
872
|
effect?: bigint;
|
|
903
873
|
factcheck?: FactCheck;
|
|
874
|
+
report_delivery_until_date?: number;
|
|
904
875
|
}
|
|
905
876
|
export interface messageService {
|
|
906
877
|
_: "messageService";
|
|
907
878
|
out?: true;
|
|
908
879
|
mentioned?: true;
|
|
909
880
|
media_unread?: true;
|
|
881
|
+
reactions_are_possible?: true;
|
|
910
882
|
silent?: true;
|
|
911
883
|
post?: true;
|
|
912
884
|
legacy?: true;
|
|
@@ -916,6 +888,7 @@ export interface messageService {
|
|
|
916
888
|
reply_to?: MessageReplyHeader;
|
|
917
889
|
date: number;
|
|
918
890
|
action: MessageAction;
|
|
891
|
+
reactions?: MessageReactions;
|
|
919
892
|
ttl_period?: number;
|
|
920
893
|
}
|
|
921
894
|
export interface messageMediaEmpty {
|
|
@@ -1293,9 +1266,24 @@ export interface messageActionStarGift {
|
|
|
1293
1266
|
name_hidden?: true;
|
|
1294
1267
|
saved?: true;
|
|
1295
1268
|
converted?: true;
|
|
1269
|
+
upgraded?: true;
|
|
1270
|
+
refunded?: true;
|
|
1271
|
+
can_upgrade?: true;
|
|
1296
1272
|
gift: StarGift;
|
|
1297
1273
|
message?: TextWithEntities;
|
|
1298
1274
|
convert_stars?: bigint;
|
|
1275
|
+
upgrade_msg_id?: number;
|
|
1276
|
+
upgrade_stars?: bigint;
|
|
1277
|
+
}
|
|
1278
|
+
export interface messageActionStarGiftUnique {
|
|
1279
|
+
_: "messageActionStarGiftUnique";
|
|
1280
|
+
upgrade?: true;
|
|
1281
|
+
transferred?: true;
|
|
1282
|
+
saved?: true;
|
|
1283
|
+
refunded?: true;
|
|
1284
|
+
gift: StarGift;
|
|
1285
|
+
can_export_at?: number;
|
|
1286
|
+
transfer_stars?: bigint;
|
|
1299
1287
|
}
|
|
1300
1288
|
export interface dialog {
|
|
1301
1289
|
_: "dialog";
|
|
@@ -1571,6 +1559,7 @@ export interface userFull {
|
|
|
1571
1559
|
personal_channel_message?: number;
|
|
1572
1560
|
stargifts_count?: number;
|
|
1573
1561
|
starref_program?: StarRefProgram;
|
|
1562
|
+
bot_verification?: BotVerification;
|
|
1574
1563
|
}
|
|
1575
1564
|
export interface contact {
|
|
1576
1565
|
_: "contact";
|
|
@@ -2228,7 +2217,7 @@ export interface updateGroupCallParticipants {
|
|
|
2228
2217
|
}
|
|
2229
2218
|
export interface updateGroupCall {
|
|
2230
2219
|
_: "updateGroupCall";
|
|
2231
|
-
chat_id
|
|
2220
|
+
chat_id?: bigint;
|
|
2232
2221
|
call: GroupCall;
|
|
2233
2222
|
}
|
|
2234
2223
|
export interface updatePeerHistoryTTL {
|
|
@@ -3364,6 +3353,7 @@ export interface chatInvite {
|
|
|
3364
3353
|
color: number;
|
|
3365
3354
|
subscription_pricing?: StarsSubscriptionPricing;
|
|
3366
3355
|
subscription_form_id?: bigint;
|
|
3356
|
+
bot_verification?: BotVerification;
|
|
3367
3357
|
}
|
|
3368
3358
|
export interface chatInvitePeek {
|
|
3369
3359
|
_: "chatInvitePeek";
|
|
@@ -3454,6 +3444,7 @@ export interface botInfo {
|
|
|
3454
3444
|
menu_button?: BotMenuButton;
|
|
3455
3445
|
privacy_policy_url?: string;
|
|
3456
3446
|
app_settings?: BotAppSettings;
|
|
3447
|
+
verifier_settings?: BotVerifierSettings;
|
|
3457
3448
|
}
|
|
3458
3449
|
export interface keyboardButton {
|
|
3459
3450
|
_: "keyboardButton";
|
|
@@ -4582,6 +4573,10 @@ export interface phoneCallDiscardReasonHangup {
|
|
|
4582
4573
|
export interface phoneCallDiscardReasonBusy {
|
|
4583
4574
|
_: "phoneCallDiscardReasonBusy";
|
|
4584
4575
|
}
|
|
4576
|
+
export interface phoneCallDiscardReasonAllowGroupCall {
|
|
4577
|
+
_: "phoneCallDiscardReasonAllowGroupCall";
|
|
4578
|
+
encrypted_key: Uint8Array;
|
|
4579
|
+
}
|
|
4585
4580
|
export interface dataJSON {
|
|
4586
4581
|
_: "dataJSON";
|
|
4587
4582
|
data: string;
|
|
@@ -4823,6 +4818,7 @@ export interface phoneCallWaiting {
|
|
|
4823
4818
|
participant_id: bigint;
|
|
4824
4819
|
protocol: PhoneCallProtocol;
|
|
4825
4820
|
receive_date?: number;
|
|
4821
|
+
conference_call?: InputGroupCall;
|
|
4826
4822
|
}
|
|
4827
4823
|
export interface phoneCallRequested {
|
|
4828
4824
|
_: "phoneCallRequested";
|
|
@@ -4834,6 +4830,7 @@ export interface phoneCallRequested {
|
|
|
4834
4830
|
participant_id: bigint;
|
|
4835
4831
|
g_a_hash: Uint8Array;
|
|
4836
4832
|
protocol: PhoneCallProtocol;
|
|
4833
|
+
conference_call?: InputGroupCall;
|
|
4837
4834
|
}
|
|
4838
4835
|
export interface phoneCallAccepted {
|
|
4839
4836
|
_: "phoneCallAccepted";
|
|
@@ -4845,6 +4842,7 @@ export interface phoneCallAccepted {
|
|
|
4845
4842
|
participant_id: bigint;
|
|
4846
4843
|
g_b: Uint8Array;
|
|
4847
4844
|
protocol: PhoneCallProtocol;
|
|
4845
|
+
conference_call?: InputGroupCall;
|
|
4848
4846
|
}
|
|
4849
4847
|
export interface phoneCall {
|
|
4850
4848
|
_: "phoneCall";
|
|
@@ -4861,6 +4859,7 @@ export interface phoneCall {
|
|
|
4861
4859
|
connections: Array<PhoneConnection>;
|
|
4862
4860
|
start_date: number;
|
|
4863
4861
|
custom_parameters?: DataJSON;
|
|
4862
|
+
conference_call?: InputGroupCall;
|
|
4864
4863
|
}
|
|
4865
4864
|
export interface phoneCallDiscarded {
|
|
4866
4865
|
_: "phoneCallDiscarded";
|
|
@@ -4870,6 +4869,7 @@ export interface phoneCallDiscarded {
|
|
|
4870
4869
|
id: bigint;
|
|
4871
4870
|
reason?: PhoneCallDiscardReason;
|
|
4872
4871
|
duration?: number;
|
|
4872
|
+
conference_call?: InputGroupCall;
|
|
4873
4873
|
}
|
|
4874
4874
|
export interface phoneConnection {
|
|
4875
4875
|
_: "phoneConnection";
|
|
@@ -6082,8 +6082,9 @@ export interface dialogFilter {
|
|
|
6082
6082
|
exclude_muted?: true;
|
|
6083
6083
|
exclude_read?: true;
|
|
6084
6084
|
exclude_archived?: true;
|
|
6085
|
+
title_noanimate?: true;
|
|
6085
6086
|
id: number;
|
|
6086
|
-
title:
|
|
6087
|
+
title: TextWithEntities;
|
|
6087
6088
|
emoticon?: string;
|
|
6088
6089
|
color?: number;
|
|
6089
6090
|
pinned_peers: Array<InputPeer>;
|
|
@@ -6096,8 +6097,9 @@ export interface dialogFilterDefault {
|
|
|
6096
6097
|
export interface dialogFilterChatlist {
|
|
6097
6098
|
_: "dialogFilterChatlist";
|
|
6098
6099
|
has_my_invites?: true;
|
|
6100
|
+
title_noanimate?: true;
|
|
6099
6101
|
id: number;
|
|
6100
|
-
title:
|
|
6102
|
+
title: TextWithEntities;
|
|
6101
6103
|
emoticon?: string;
|
|
6102
6104
|
color?: number;
|
|
6103
6105
|
pinned_peers: Array<InputPeer>;
|
|
@@ -6349,6 +6351,7 @@ export interface groupCall {
|
|
|
6349
6351
|
unmuted_video_count?: number;
|
|
6350
6352
|
unmuted_video_limit: number;
|
|
6351
6353
|
version: number;
|
|
6354
|
+
conference_from_call?: bigint;
|
|
6352
6355
|
}
|
|
6353
6356
|
export interface inputGroupCall {
|
|
6354
6357
|
_: "inputGroupCall";
|
|
@@ -6815,10 +6818,21 @@ export interface inputInvoiceChatInviteSubscription {
|
|
|
6815
6818
|
export interface inputInvoiceStarGift {
|
|
6816
6819
|
_: "inputInvoiceStarGift";
|
|
6817
6820
|
hide_name?: true;
|
|
6821
|
+
include_upgrade?: true;
|
|
6818
6822
|
user_id: InputUser;
|
|
6819
6823
|
gift_id: bigint;
|
|
6820
6824
|
message?: TextWithEntities;
|
|
6821
6825
|
}
|
|
6826
|
+
export interface inputInvoiceStarGiftUpgrade {
|
|
6827
|
+
_: "inputInvoiceStarGiftUpgrade";
|
|
6828
|
+
keep_original_details?: true;
|
|
6829
|
+
msg_id: number;
|
|
6830
|
+
}
|
|
6831
|
+
export interface inputInvoiceStarGiftTransfer {
|
|
6832
|
+
_: "inputInvoiceStarGiftTransfer";
|
|
6833
|
+
msg_id: number;
|
|
6834
|
+
to_id: InputUser;
|
|
6835
|
+
}
|
|
6822
6836
|
export interface payments_exportedInvoice {
|
|
6823
6837
|
_: "payments.exportedInvoice";
|
|
6824
6838
|
url: string;
|
|
@@ -7244,7 +7258,8 @@ export interface chatlists_chatlistInviteAlready {
|
|
|
7244
7258
|
}
|
|
7245
7259
|
export interface chatlists_chatlistInvite {
|
|
7246
7260
|
_: "chatlists.chatlistInvite";
|
|
7247
|
-
|
|
7261
|
+
title_noanimate?: true;
|
|
7262
|
+
title: TextWithEntities;
|
|
7248
7263
|
emoticon?: string;
|
|
7249
7264
|
peers: Array<Peer>;
|
|
7250
7265
|
chats: Array<Chat>;
|
|
@@ -8157,6 +8172,7 @@ export interface starsTransaction {
|
|
|
8157
8172
|
failed?: true;
|
|
8158
8173
|
gift?: true;
|
|
8159
8174
|
reaction?: true;
|
|
8175
|
+
stargift_upgrade?: true;
|
|
8160
8176
|
id: string;
|
|
8161
8177
|
stars: StarsAmount;
|
|
8162
8178
|
date: number;
|
|
@@ -8316,6 +8332,17 @@ export interface starGift {
|
|
|
8316
8332
|
convert_stars: bigint;
|
|
8317
8333
|
first_sale_date?: number;
|
|
8318
8334
|
last_sale_date?: number;
|
|
8335
|
+
upgrade_stars?: bigint;
|
|
8336
|
+
}
|
|
8337
|
+
export interface starGiftUnique {
|
|
8338
|
+
_: "starGiftUnique";
|
|
8339
|
+
id: bigint;
|
|
8340
|
+
title: string;
|
|
8341
|
+
num: number;
|
|
8342
|
+
owner_id: bigint;
|
|
8343
|
+
attributes: Array<StarGiftAttribute>;
|
|
8344
|
+
availability_issued: number;
|
|
8345
|
+
availability_total: number;
|
|
8319
8346
|
}
|
|
8320
8347
|
export interface payments_starGiftsNotModified {
|
|
8321
8348
|
_: "payments.starGiftsNotModified";
|
|
@@ -8329,12 +8356,17 @@ export interface userStarGift {
|
|
|
8329
8356
|
_: "userStarGift";
|
|
8330
8357
|
name_hidden?: true;
|
|
8331
8358
|
unsaved?: true;
|
|
8359
|
+
refunded?: true;
|
|
8360
|
+
can_upgrade?: true;
|
|
8332
8361
|
from_id?: bigint;
|
|
8333
8362
|
date: number;
|
|
8334
8363
|
gift: StarGift;
|
|
8335
8364
|
message?: TextWithEntities;
|
|
8336
8365
|
msg_id?: number;
|
|
8337
8366
|
convert_stars?: bigint;
|
|
8367
|
+
upgrade_stars?: bigint;
|
|
8368
|
+
can_export_at?: number;
|
|
8369
|
+
transfer_stars?: bigint;
|
|
8338
8370
|
}
|
|
8339
8371
|
export interface payments_userStarGifts {
|
|
8340
8372
|
_: "payments.userStarGifts";
|
|
@@ -8429,6 +8461,60 @@ export interface messages_foundStickers {
|
|
|
8429
8461
|
hash: bigint;
|
|
8430
8462
|
stickers: Array<Document>;
|
|
8431
8463
|
}
|
|
8464
|
+
export interface botVerifierSettings {
|
|
8465
|
+
_: "botVerifierSettings";
|
|
8466
|
+
can_modify_custom_description?: true;
|
|
8467
|
+
icon: bigint;
|
|
8468
|
+
company: string;
|
|
8469
|
+
custom_description?: string;
|
|
8470
|
+
}
|
|
8471
|
+
export interface botVerification {
|
|
8472
|
+
_: "botVerification";
|
|
8473
|
+
bot_id: bigint;
|
|
8474
|
+
icon: bigint;
|
|
8475
|
+
description: string;
|
|
8476
|
+
}
|
|
8477
|
+
export interface starGiftAttributeModel {
|
|
8478
|
+
_: "starGiftAttributeModel";
|
|
8479
|
+
name: string;
|
|
8480
|
+
document: Document;
|
|
8481
|
+
rarity_permille: number;
|
|
8482
|
+
}
|
|
8483
|
+
export interface starGiftAttributePattern {
|
|
8484
|
+
_: "starGiftAttributePattern";
|
|
8485
|
+
name: string;
|
|
8486
|
+
document: Document;
|
|
8487
|
+
rarity_permille: number;
|
|
8488
|
+
}
|
|
8489
|
+
export interface starGiftAttributeBackdrop {
|
|
8490
|
+
_: "starGiftAttributeBackdrop";
|
|
8491
|
+
name: string;
|
|
8492
|
+
center_color: number;
|
|
8493
|
+
edge_color: number;
|
|
8494
|
+
pattern_color: number;
|
|
8495
|
+
text_color: number;
|
|
8496
|
+
rarity_permille: number;
|
|
8497
|
+
}
|
|
8498
|
+
export interface starGiftAttributeOriginalDetails {
|
|
8499
|
+
_: "starGiftAttributeOriginalDetails";
|
|
8500
|
+
sender_id?: bigint;
|
|
8501
|
+
recipient_id: bigint;
|
|
8502
|
+
date: number;
|
|
8503
|
+
message?: TextWithEntities;
|
|
8504
|
+
}
|
|
8505
|
+
export interface payments_starGiftUpgradePreview {
|
|
8506
|
+
_: "payments.starGiftUpgradePreview";
|
|
8507
|
+
sample_attributes: Array<StarGiftAttribute>;
|
|
8508
|
+
}
|
|
8509
|
+
export interface users_users {
|
|
8510
|
+
_: "users.users";
|
|
8511
|
+
users: Array<User>;
|
|
8512
|
+
}
|
|
8513
|
+
export interface users_usersSlice {
|
|
8514
|
+
_: "users.usersSlice";
|
|
8515
|
+
count: number;
|
|
8516
|
+
users: Array<User>;
|
|
8517
|
+
}
|
|
8432
8518
|
export interface req_pq_multi {
|
|
8433
8519
|
_: "req_pq_multi";
|
|
8434
8520
|
nonce: bigint;
|
|
@@ -8481,23 +8567,6 @@ export interface destroy_auth_key {
|
|
|
8481
8567
|
_: "destroy_auth_key";
|
|
8482
8568
|
[R]?: DestroyAuthKeyRes;
|
|
8483
8569
|
}
|
|
8484
|
-
export interface invokeWithBusinessConnectionPrefix {
|
|
8485
|
-
_: "invokeWithBusinessConnectionPrefix";
|
|
8486
|
-
connection_id: string;
|
|
8487
|
-
[R]?: Error;
|
|
8488
|
-
}
|
|
8489
|
-
export interface invokeWithGooglePlayIntegrityPrefix {
|
|
8490
|
-
_: "invokeWithGooglePlayIntegrityPrefix";
|
|
8491
|
-
nonce: string;
|
|
8492
|
-
token: string;
|
|
8493
|
-
[R]?: Error;
|
|
8494
|
-
}
|
|
8495
|
-
export interface invokeWithApnsSecretPrefix {
|
|
8496
|
-
_: "invokeWithApnsSecretPrefix";
|
|
8497
|
-
nonce: string;
|
|
8498
|
-
secret: string;
|
|
8499
|
-
[R]?: Error;
|
|
8500
|
-
}
|
|
8501
8570
|
export interface invokeAfterMsg<T> {
|
|
8502
8571
|
_: "invokeAfterMsg";
|
|
8503
8572
|
msg_id: bigint;
|
|
@@ -9879,6 +9948,8 @@ export interface messages_migrateChat {
|
|
|
9879
9948
|
export interface messages_searchGlobal {
|
|
9880
9949
|
_: "messages.searchGlobal";
|
|
9881
9950
|
broadcasts_only?: true;
|
|
9951
|
+
groups_only?: true;
|
|
9952
|
+
users_only?: true;
|
|
9882
9953
|
folder_id?: number;
|
|
9883
9954
|
q: string;
|
|
9884
9955
|
filter: MessagesFilter;
|
|
@@ -11109,6 +11180,13 @@ export interface messages_searchStickers {
|
|
|
11109
11180
|
hash: bigint;
|
|
11110
11181
|
[R]?: messages_FoundStickers;
|
|
11111
11182
|
}
|
|
11183
|
+
export interface messages_reportMessagesDelivery {
|
|
11184
|
+
_: "messages.reportMessagesDelivery";
|
|
11185
|
+
push?: true;
|
|
11186
|
+
peer: InputPeer;
|
|
11187
|
+
id: Array<number>;
|
|
11188
|
+
[R]?: boolean;
|
|
11189
|
+
}
|
|
11112
11190
|
export interface updates_getState {
|
|
11113
11191
|
_: "updates.getState";
|
|
11114
11192
|
[R]?: updates_State;
|
|
@@ -11921,6 +11999,19 @@ export interface bots_updateStarRefProgram {
|
|
|
11921
11999
|
duration_months?: number;
|
|
11922
12000
|
[R]?: StarRefProgram;
|
|
11923
12001
|
}
|
|
12002
|
+
export interface bots_setCustomVerification {
|
|
12003
|
+
_: "bots.setCustomVerification";
|
|
12004
|
+
enabled?: true;
|
|
12005
|
+
bot?: InputUser;
|
|
12006
|
+
peer: InputPeer;
|
|
12007
|
+
custom_description?: string;
|
|
12008
|
+
[R]?: boolean;
|
|
12009
|
+
}
|
|
12010
|
+
export interface bots_getBotRecommendations {
|
|
12011
|
+
_: "bots.getBotRecommendations";
|
|
12012
|
+
bot: InputUser;
|
|
12013
|
+
[R]?: users_Users;
|
|
12014
|
+
}
|
|
11924
12015
|
export interface payments_getPaymentForm {
|
|
11925
12016
|
_: "payments.getPaymentForm";
|
|
11926
12017
|
invoice: InputInvoice;
|
|
@@ -12115,13 +12206,11 @@ export interface payments_getUserStarGifts {
|
|
|
12115
12206
|
export interface payments_saveStarGift {
|
|
12116
12207
|
_: "payments.saveStarGift";
|
|
12117
12208
|
unsave?: true;
|
|
12118
|
-
user_id: InputUser;
|
|
12119
12209
|
msg_id: number;
|
|
12120
12210
|
[R]?: boolean;
|
|
12121
12211
|
}
|
|
12122
12212
|
export interface payments_convertStarGift {
|
|
12123
12213
|
_: "payments.convertStarGift";
|
|
12124
|
-
user_id: InputUser;
|
|
12125
12214
|
msg_id: number;
|
|
12126
12215
|
[R]?: boolean;
|
|
12127
12216
|
}
|
|
@@ -12168,6 +12257,28 @@ export interface payments_editConnectedStarRefBot {
|
|
|
12168
12257
|
link: string;
|
|
12169
12258
|
[R]?: payments_ConnectedStarRefBots;
|
|
12170
12259
|
}
|
|
12260
|
+
export interface payments_getStarGiftUpgradePreview {
|
|
12261
|
+
_: "payments.getStarGiftUpgradePreview";
|
|
12262
|
+
gift_id: bigint;
|
|
12263
|
+
[R]?: payments_StarGiftUpgradePreview;
|
|
12264
|
+
}
|
|
12265
|
+
export interface payments_upgradeStarGift {
|
|
12266
|
+
_: "payments.upgradeStarGift";
|
|
12267
|
+
keep_original_details?: true;
|
|
12268
|
+
msg_id: number;
|
|
12269
|
+
[R]?: Updates;
|
|
12270
|
+
}
|
|
12271
|
+
export interface payments_transferStarGift {
|
|
12272
|
+
_: "payments.transferStarGift";
|
|
12273
|
+
msg_id: number;
|
|
12274
|
+
to_id: InputUser;
|
|
12275
|
+
[R]?: Updates;
|
|
12276
|
+
}
|
|
12277
|
+
export interface payments_getUserStarGift {
|
|
12278
|
+
_: "payments.getUserStarGift";
|
|
12279
|
+
msg_id: Array<number>;
|
|
12280
|
+
[R]?: payments_UserStarGifts;
|
|
12281
|
+
}
|
|
12171
12282
|
export interface stickers_createStickerSet {
|
|
12172
12283
|
_: "stickers.createStickerSet";
|
|
12173
12284
|
masks?: true;
|
|
@@ -12248,6 +12359,7 @@ export interface phone_requestCall {
|
|
|
12248
12359
|
_: "phone.requestCall";
|
|
12249
12360
|
video?: true;
|
|
12250
12361
|
user_id: InputUser;
|
|
12362
|
+
conference_call?: InputGroupCall;
|
|
12251
12363
|
random_id: number;
|
|
12252
12364
|
g_a_hash: Uint8Array;
|
|
12253
12365
|
protocol: PhoneCallProtocol;
|
|
@@ -12318,6 +12430,7 @@ export interface phone_joinGroupCall {
|
|
|
12318
12430
|
call: InputGroupCall;
|
|
12319
12431
|
join_as: InputPeer;
|
|
12320
12432
|
invite_hash?: string;
|
|
12433
|
+
key_fingerprint?: bigint;
|
|
12321
12434
|
params: DataJSON;
|
|
12322
12435
|
[R]?: Updates;
|
|
12323
12436
|
}
|
|
@@ -12449,6 +12562,12 @@ export interface phone_saveCallLog {
|
|
|
12449
12562
|
file: InputFile;
|
|
12450
12563
|
[R]?: boolean;
|
|
12451
12564
|
}
|
|
12565
|
+
export interface phone_createConferenceCall {
|
|
12566
|
+
_: "phone.createConferenceCall";
|
|
12567
|
+
peer: InputPhoneCall;
|
|
12568
|
+
key_fingerprint: bigint;
|
|
12569
|
+
[R]?: phone_PhoneCall;
|
|
12570
|
+
}
|
|
12452
12571
|
export interface langpack_getLangPack {
|
|
12453
12572
|
_: "langpack.getLangPack";
|
|
12454
12573
|
lang_pack: string;
|
|
@@ -12904,12 +13023,7 @@ export interface Types {
|
|
|
12904
13023
|
"http_wait": http_wait;
|
|
12905
13024
|
"true": true_;
|
|
12906
13025
|
"error": error;
|
|
12907
|
-
"
|
|
12908
|
-
"ipPortSecret": ipPortSecret;
|
|
12909
|
-
"accessPointRule": accessPointRule;
|
|
12910
|
-
"help.configSimple": help_configSimple;
|
|
12911
|
-
"inputPeerPhotoFileLocationLegacy": inputPeerPhotoFileLocationLegacy;
|
|
12912
|
-
"inputStickerSetThumbLegacy": inputStickerSetThumbLegacy;
|
|
13026
|
+
"null": null_;
|
|
12913
13027
|
"inputPeerEmpty": inputPeerEmpty;
|
|
12914
13028
|
"inputPeerSelf": inputPeerSelf;
|
|
12915
13029
|
"inputPeerChat": inputPeerChat;
|
|
@@ -13064,6 +13178,7 @@ export interface Types {
|
|
|
13064
13178
|
"messageActionGiftStars": messageActionGiftStars;
|
|
13065
13179
|
"messageActionPrizeStars": messageActionPrizeStars;
|
|
13066
13180
|
"messageActionStarGift": messageActionStarGift;
|
|
13181
|
+
"messageActionStarGiftUnique": messageActionStarGiftUnique;
|
|
13067
13182
|
"dialog": dialog;
|
|
13068
13183
|
"dialogFolder": dialogFolder;
|
|
13069
13184
|
"photoEmpty": photoEmpty;
|
|
@@ -13649,6 +13764,7 @@ export interface Types {
|
|
|
13649
13764
|
"phoneCallDiscardReasonDisconnect": phoneCallDiscardReasonDisconnect;
|
|
13650
13765
|
"phoneCallDiscardReasonHangup": phoneCallDiscardReasonHangup;
|
|
13651
13766
|
"phoneCallDiscardReasonBusy": phoneCallDiscardReasonBusy;
|
|
13767
|
+
"phoneCallDiscardReasonAllowGroupCall": phoneCallDiscardReasonAllowGroupCall;
|
|
13652
13768
|
"dataJSON": dataJSON;
|
|
13653
13769
|
"labeledPrice": labeledPrice;
|
|
13654
13770
|
"invoice": invoice;
|
|
@@ -14028,6 +14144,8 @@ export interface Types {
|
|
|
14028
14144
|
"inputInvoiceStars": inputInvoiceStars;
|
|
14029
14145
|
"inputInvoiceChatInviteSubscription": inputInvoiceChatInviteSubscription;
|
|
14030
14146
|
"inputInvoiceStarGift": inputInvoiceStarGift;
|
|
14147
|
+
"inputInvoiceStarGiftUpgrade": inputInvoiceStarGiftUpgrade;
|
|
14148
|
+
"inputInvoiceStarGiftTransfer": inputInvoiceStarGiftTransfer;
|
|
14031
14149
|
"payments.exportedInvoice": payments_exportedInvoice;
|
|
14032
14150
|
"messages.transcribedAudio": messages_transcribedAudio;
|
|
14033
14151
|
"help.premiumPromo": help_premiumPromo;
|
|
@@ -14266,6 +14384,7 @@ export interface Types {
|
|
|
14266
14384
|
"starsGiveawayOption": starsGiveawayOption;
|
|
14267
14385
|
"starsGiveawayWinnersOption": starsGiveawayWinnersOption;
|
|
14268
14386
|
"starGift": starGift;
|
|
14387
|
+
"starGiftUnique": starGiftUnique;
|
|
14269
14388
|
"payments.starGiftsNotModified": payments_starGiftsNotModified;
|
|
14270
14389
|
"payments.starGifts": payments_starGifts;
|
|
14271
14390
|
"userStarGift": userStarGift;
|
|
@@ -14284,6 +14403,15 @@ export interface Types {
|
|
|
14284
14403
|
"starsAmount": starsAmount;
|
|
14285
14404
|
"messages.foundStickersNotModified": messages_foundStickersNotModified;
|
|
14286
14405
|
"messages.foundStickers": messages_foundStickers;
|
|
14406
|
+
"botVerifierSettings": botVerifierSettings;
|
|
14407
|
+
"botVerification": botVerification;
|
|
14408
|
+
"starGiftAttributeModel": starGiftAttributeModel;
|
|
14409
|
+
"starGiftAttributePattern": starGiftAttributePattern;
|
|
14410
|
+
"starGiftAttributeBackdrop": starGiftAttributeBackdrop;
|
|
14411
|
+
"starGiftAttributeOriginalDetails": starGiftAttributeOriginalDetails;
|
|
14412
|
+
"payments.starGiftUpgradePreview": payments_starGiftUpgradePreview;
|
|
14413
|
+
"users.users": users_users;
|
|
14414
|
+
"users.usersSlice": users_usersSlice;
|
|
14287
14415
|
}
|
|
14288
14416
|
export interface Functions<T = Function> {
|
|
14289
14417
|
"req_pq_multi": req_pq_multi;
|
|
@@ -14295,9 +14423,6 @@ export interface Functions<T = Function> {
|
|
|
14295
14423
|
"ping_delay_disconnect": ping_delay_disconnect;
|
|
14296
14424
|
"destroy_session": destroy_session;
|
|
14297
14425
|
"destroy_auth_key": destroy_auth_key;
|
|
14298
|
-
"invokeWithBusinessConnectionPrefix": invokeWithBusinessConnectionPrefix;
|
|
14299
|
-
"invokeWithGooglePlayIntegrityPrefix": invokeWithGooglePlayIntegrityPrefix;
|
|
14300
|
-
"invokeWithApnsSecretPrefix": invokeWithApnsSecretPrefix;
|
|
14301
14426
|
"invokeAfterMsg": invokeAfterMsg<T>;
|
|
14302
14427
|
"invokeAfterMsgs": invokeAfterMsgs<T>;
|
|
14303
14428
|
"initConnection": initConnection<T>;
|
|
@@ -14697,6 +14822,7 @@ export interface Functions<T = Function> {
|
|
|
14697
14822
|
"messages.savePreparedInlineMessage": messages_savePreparedInlineMessage;
|
|
14698
14823
|
"messages.getPreparedInlineMessage": messages_getPreparedInlineMessage;
|
|
14699
14824
|
"messages.searchStickers": messages_searchStickers;
|
|
14825
|
+
"messages.reportMessagesDelivery": messages_reportMessagesDelivery;
|
|
14700
14826
|
"updates.getState": updates_getState;
|
|
14701
14827
|
"updates.getDifference": updates_getDifference;
|
|
14702
14828
|
"updates.getChannelDifference": updates_getChannelDifference;
|
|
@@ -14827,6 +14953,8 @@ export interface Functions<T = Function> {
|
|
|
14827
14953
|
"bots.checkDownloadFileParams": bots_checkDownloadFileParams;
|
|
14828
14954
|
"bots.getAdminedBots": bots_getAdminedBots;
|
|
14829
14955
|
"bots.updateStarRefProgram": bots_updateStarRefProgram;
|
|
14956
|
+
"bots.setCustomVerification": bots_setCustomVerification;
|
|
14957
|
+
"bots.getBotRecommendations": bots_getBotRecommendations;
|
|
14830
14958
|
"payments.getPaymentForm": payments_getPaymentForm;
|
|
14831
14959
|
"payments.getPaymentReceipt": payments_getPaymentReceipt;
|
|
14832
14960
|
"payments.validateRequestedInfo": payments_validateRequestedInfo;
|
|
@@ -14867,6 +14995,10 @@ export interface Functions<T = Function> {
|
|
|
14867
14995
|
"payments.getSuggestedStarRefBots": payments_getSuggestedStarRefBots;
|
|
14868
14996
|
"payments.connectStarRefBot": payments_connectStarRefBot;
|
|
14869
14997
|
"payments.editConnectedStarRefBot": payments_editConnectedStarRefBot;
|
|
14998
|
+
"payments.getStarGiftUpgradePreview": payments_getStarGiftUpgradePreview;
|
|
14999
|
+
"payments.upgradeStarGift": payments_upgradeStarGift;
|
|
15000
|
+
"payments.transferStarGift": payments_transferStarGift;
|
|
15001
|
+
"payments.getUserStarGift": payments_getUserStarGift;
|
|
14870
15002
|
"stickers.createStickerSet": stickers_createStickerSet;
|
|
14871
15003
|
"stickers.removeStickerFromSet": stickers_removeStickerFromSet;
|
|
14872
15004
|
"stickers.changeStickerPosition": stickers_changeStickerPosition;
|
|
@@ -14909,6 +15041,7 @@ export interface Functions<T = Function> {
|
|
|
14909
15041
|
"phone.getGroupCallStreamChannels": phone_getGroupCallStreamChannels;
|
|
14910
15042
|
"phone.getGroupCallStreamRtmpUrl": phone_getGroupCallStreamRtmpUrl;
|
|
14911
15043
|
"phone.saveCallLog": phone_saveCallLog;
|
|
15044
|
+
"phone.createConferenceCall": phone_createConferenceCall;
|
|
14912
15045
|
"langpack.getLangPack": langpack_getLangPack;
|
|
14913
15046
|
"langpack.getStrings": langpack_getStrings;
|
|
14914
15047
|
"langpack.getDifference": langpack_getDifference;
|
|
@@ -15003,10 +15136,7 @@ export interface Enums {
|
|
|
15003
15136
|
"HttpWait": HttpWait;
|
|
15004
15137
|
"True": True;
|
|
15005
15138
|
"Error": Error;
|
|
15006
|
-
"
|
|
15007
|
-
"AccessPointRule": AccessPointRule;
|
|
15008
|
-
"help.ConfigSimple": help_ConfigSimple;
|
|
15009
|
-
"InputFileLocation": InputFileLocation;
|
|
15139
|
+
"Null": Null;
|
|
15010
15140
|
"InputPeer": InputPeer;
|
|
15011
15141
|
"InputUser": InputUser;
|
|
15012
15142
|
"InputContact": InputContact;
|
|
@@ -15015,6 +15145,7 @@ export interface Enums {
|
|
|
15015
15145
|
"InputChatPhoto": InputChatPhoto;
|
|
15016
15146
|
"InputGeoPoint": InputGeoPoint;
|
|
15017
15147
|
"InputPhoto": InputPhoto;
|
|
15148
|
+
"InputFileLocation": InputFileLocation;
|
|
15018
15149
|
"Peer": Peer;
|
|
15019
15150
|
"storage.FileType": storage_FileType;
|
|
15020
15151
|
"User": User;
|
|
@@ -15526,6 +15657,11 @@ export interface Enums {
|
|
|
15526
15657
|
"payments.SuggestedStarRefBots": payments_SuggestedStarRefBots;
|
|
15527
15658
|
"StarsAmount": StarsAmount;
|
|
15528
15659
|
"messages.FoundStickers": messages_FoundStickers;
|
|
15660
|
+
"BotVerifierSettings": BotVerifierSettings;
|
|
15661
|
+
"BotVerification": BotVerification;
|
|
15662
|
+
"StarGiftAttribute": StarGiftAttribute;
|
|
15663
|
+
"payments.StarGiftUpgradePreview": payments_StarGiftUpgradePreview;
|
|
15664
|
+
"users.Users": users_Users;
|
|
15529
15665
|
}
|
|
15530
15666
|
export type AnyType = Types[keyof Types];
|
|
15531
15667
|
export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
|
|
@@ -15557,10 +15693,7 @@ export type DestroyAuthKeyRes = destroy_auth_key_ok | destroy_auth_key_none | de
|
|
|
15557
15693
|
export type HttpWait = http_wait;
|
|
15558
15694
|
export type True = true_;
|
|
15559
15695
|
export type Error = error;
|
|
15560
|
-
export type
|
|
15561
|
-
export type AccessPointRule = accessPointRule;
|
|
15562
|
-
export type help_ConfigSimple = help_configSimple;
|
|
15563
|
-
export type InputFileLocation = inputPeerPhotoFileLocationLegacy | inputStickerSetThumbLegacy | inputFileLocation | inputEncryptedFileLocation | inputDocumentFileLocation | inputSecureFileLocation | inputTakeoutFileLocation | inputPhotoFileLocation | inputPhotoLegacyFileLocation | inputPeerPhotoFileLocation | inputStickerSetThumb | inputGroupCallStream;
|
|
15696
|
+
export type Null = null_;
|
|
15564
15697
|
export type InputPeer = inputPeerEmpty | inputPeerSelf | inputPeerChat | inputPeerUser | inputPeerChannel | inputPeerUserFromMessage | inputPeerChannelFromMessage;
|
|
15565
15698
|
export type InputUser = inputUserEmpty | inputUserSelf | inputUser | inputUserFromMessage;
|
|
15566
15699
|
export type InputContact = inputPhoneContact;
|
|
@@ -15569,6 +15702,7 @@ export type InputMedia = inputMediaEmpty | inputMediaUploadedPhoto | inputMediaP
|
|
|
15569
15702
|
export type InputChatPhoto = inputChatPhotoEmpty | inputChatUploadedPhoto | inputChatPhoto;
|
|
15570
15703
|
export type InputGeoPoint = inputGeoPointEmpty | inputGeoPoint;
|
|
15571
15704
|
export type InputPhoto = inputPhotoEmpty | inputPhoto;
|
|
15705
|
+
export type InputFileLocation = inputFileLocation | inputEncryptedFileLocation | inputDocumentFileLocation | inputSecureFileLocation | inputTakeoutFileLocation | inputPhotoFileLocation | inputPhotoLegacyFileLocation | inputPeerPhotoFileLocation | inputStickerSetThumb | inputGroupCallStream;
|
|
15572
15706
|
export type Peer = peerUser | peerChat | peerChannel;
|
|
15573
15707
|
export type storage_FileType = storage_fileUnknown | storage_filePartial | storage_fileJpeg | storage_fileGif | storage_filePng | storage_filePdf | storage_fileMp3 | storage_fileMov | storage_fileMp4 | storage_fileWebp;
|
|
15574
15708
|
export type User = userEmpty | user;
|
|
@@ -15581,7 +15715,7 @@ export type ChatParticipants = chatParticipantsForbidden | chatParticipants;
|
|
|
15581
15715
|
export type ChatPhoto = chatPhotoEmpty | chatPhoto;
|
|
15582
15716
|
export type Message = messageEmpty | message | messageService;
|
|
15583
15717
|
export type MessageMedia = messageMediaEmpty | messageMediaPhoto | messageMediaGeo | messageMediaContact | messageMediaUnsupported | messageMediaDocument | messageMediaWebPage | messageMediaVenue | messageMediaGame | messageMediaInvoice | messageMediaGeoLive | messageMediaPoll | messageMediaDice | messageMediaStory | messageMediaGiveaway | messageMediaGiveawayResults | messageMediaPaidMedia;
|
|
15584
|
-
export type 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;
|
|
15718
|
+
export type 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;
|
|
15585
15719
|
export type Dialog = dialog | dialogFolder;
|
|
15586
15720
|
export type Photo = photoEmpty | photo;
|
|
15587
15721
|
export type PhotoSize = photoSizeEmpty | photoSize | photoCachedSize | photoStrippedSize | photoSizeProgressive | photoPathSize;
|
|
@@ -15706,7 +15840,7 @@ export type HighScore = highScore;
|
|
|
15706
15840
|
export type messages_HighScores = messages_highScores;
|
|
15707
15841
|
export type RichText = textEmpty | textPlain | textBold | textItalic | textUnderline | textStrike | textFixed | textUrl | textEmail | textConcat | textSubscript | textSuperscript | textMarked | textPhone | textImage | textAnchor;
|
|
15708
15842
|
export type 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;
|
|
15709
|
-
export type PhoneCallDiscardReason = phoneCallDiscardReasonMissed | phoneCallDiscardReasonDisconnect | phoneCallDiscardReasonHangup | phoneCallDiscardReasonBusy;
|
|
15843
|
+
export type PhoneCallDiscardReason = phoneCallDiscardReasonMissed | phoneCallDiscardReasonDisconnect | phoneCallDiscardReasonHangup | phoneCallDiscardReasonBusy | phoneCallDiscardReasonAllowGroupCall;
|
|
15710
15844
|
export type DataJSON = dataJSON;
|
|
15711
15845
|
export type LabeledPrice = labeledPrice;
|
|
15712
15846
|
export type Invoice = invoice;
|
|
@@ -15906,7 +16040,7 @@ export type account_SavedRingtones = account_savedRingtonesNotModified | account
|
|
|
15906
16040
|
export type NotificationSound = notificationSoundDefault | notificationSoundNone | notificationSoundLocal | notificationSoundRingtone;
|
|
15907
16041
|
export type account_SavedRingtone = account_savedRingtone | account_savedRingtoneConverted;
|
|
15908
16042
|
export type AttachMenuPeerType = attachMenuPeerTypeSameBotPM | attachMenuPeerTypeBotPM | attachMenuPeerTypePM | attachMenuPeerTypeChat | attachMenuPeerTypeBroadcast;
|
|
15909
|
-
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift;
|
|
16043
|
+
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift | inputInvoiceStarGiftUpgrade | inputInvoiceStarGiftTransfer;
|
|
15910
16044
|
export type payments_ExportedInvoice = payments_exportedInvoice;
|
|
15911
16045
|
export type messages_TranscribedAudio = messages_transcribedAudio;
|
|
15912
16046
|
export type help_PremiumPromo = help_premiumPromo;
|
|
@@ -16065,7 +16199,7 @@ export type StarsSubscription = starsSubscription;
|
|
|
16065
16199
|
export type MessageReactor = messageReactor;
|
|
16066
16200
|
export type StarsGiveawayOption = starsGiveawayOption;
|
|
16067
16201
|
export type StarsGiveawayWinnersOption = starsGiveawayWinnersOption;
|
|
16068
|
-
export type StarGift = starGift;
|
|
16202
|
+
export type StarGift = starGift | starGiftUnique;
|
|
16069
16203
|
export type payments_StarGifts = payments_starGiftsNotModified | payments_starGifts;
|
|
16070
16204
|
export type UserStarGift = userStarGift;
|
|
16071
16205
|
export type payments_UserStarGifts = payments_userStarGifts;
|
|
@@ -16080,6 +16214,11 @@ export type payments_ConnectedStarRefBots = payments_connectedStarRefBots;
|
|
|
16080
16214
|
export type payments_SuggestedStarRefBots = payments_suggestedStarRefBots;
|
|
16081
16215
|
export type StarsAmount = starsAmount;
|
|
16082
16216
|
export type messages_FoundStickers = messages_foundStickersNotModified | messages_foundStickers;
|
|
16217
|
+
export type BotVerifierSettings = botVerifierSettings;
|
|
16218
|
+
export type BotVerification = botVerification;
|
|
16219
|
+
export type StarGiftAttribute = starGiftAttributeModel | starGiftAttributePattern | starGiftAttributeBackdrop | starGiftAttributeOriginalDetails;
|
|
16220
|
+
export type payments_StarGiftUpgradePreview = payments_starGiftUpgradePreview;
|
|
16221
|
+
export type users_Users = users_users | users_usersSlice;
|
|
16083
16222
|
export declare const getTypeName: (id: number) => string | undefined;
|
|
16084
16223
|
export declare const flags: symbol;
|
|
16085
16224
|
export type Parameters = [number, [string, unknown, string][]];
|