@mtkruto/node 0.68.0 → 0.70.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 +14 -12
- package/esm/0_deps.d.ts.map +1 -1
- package/esm/0_deps.js +16 -14
- package/esm/3_types.d.ts +36 -33
- package/esm/3_types.d.ts.map +1 -1
- package/esm/3_types.js +36 -33
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.d.ts.map +1 -1
- package/esm/4_errors.d.ts +2 -2
- package/esm/4_errors.d.ts.map +1 -1
- package/esm/_dnt.polyfills.d.ts +7 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -1
- package/esm/_dnt.polyfills.js +109 -0
- package/esm/client/0_abortable_loop.d.ts +27 -0
- package/esm/client/0_abortable_loop.d.ts.map +1 -0
- package/esm/client/0_abortable_loop.js +49 -0
- package/esm/client/0_client_abstract.d.ts +3 -3
- package/esm/client/0_client_abstract.d.ts.map +1 -1
- package/esm/client/0_filters.d.ts +10 -4
- package/esm/client/0_filters.d.ts.map +1 -1
- package/esm/client/0_filters.js +6 -3
- package/esm/client/0_html.d.ts +1 -1
- package/esm/client/0_html.d.ts.map +1 -1
- package/esm/client/0_html.js +1 -1
- package/esm/client/0_markdown.d.ts +1 -1
- package/esm/client/0_markdown.d.ts.map +1 -1
- package/esm/client/0_markdown.js +8 -8
- package/esm/client/0_params.d.ts +42 -8
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_password.d.ts +2 -2
- package/esm/client/0_password.d.ts.map +1 -1
- package/esm/client/0_password.js +1 -1
- package/esm/client/0_storage_operations.d.ts +55 -73
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_storage_operations.js +254 -251
- package/esm/client/0_update_processor.d.ts +4 -4
- package/esm/client/0_update_processor.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +2 -2
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/0_utilities.js +8 -8
- package/esm/client/1_client_plain.d.ts +3 -3
- package/esm/client/1_client_plain.d.ts.map +1 -1
- package/esm/client/1_client_plain.js +2 -2
- package/esm/client/1_composer.d.ts +3 -3
- package/esm/client/1_composer.d.ts.map +1 -1
- package/esm/client/1_composer.js +7 -7
- package/esm/client/1_types.d.ts +5 -5
- package/esm/client/1_types.d.ts.map +1 -1
- package/esm/client/2_account_manager.d.ts +3 -3
- package/esm/client/2_account_manager.d.ts.map +1 -1
- package/esm/client/2_account_manager.js +7 -7
- package/esm/client/2_bot_info_manager.d.ts +3 -3
- package/esm/client/2_bot_info_manager.d.ts.map +1 -1
- package/esm/client/2_business_connection_manager.d.ts +4 -4
- package/esm/client/2_business_connection_manager.d.ts.map +1 -1
- package/esm/client/2_business_connection_manager.js +3 -3
- package/esm/client/2_client_encrypted.d.ts +3 -3
- package/esm/client/2_client_encrypted.d.ts.map +1 -1
- package/esm/client/2_file_manager.d.ts +3 -3
- package/esm/client/2_file_manager.d.ts.map +1 -1
- package/esm/client/2_file_manager.js +45 -31
- package/esm/client/2_network_statistics_manager.d.ts +1 -1
- package/esm/client/2_network_statistics_manager.d.ts.map +1 -1
- package/esm/client/2_payment_manager.d.ts +5 -5
- 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 -4
- 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 +5 -5
- package/esm/client/2_translations_manager.d.ts.map +1 -1
- package/esm/client/2_translations_manager.js +20 -16
- package/esm/client/2_update_manager.d.ts +6 -4
- package/esm/client/2_update_manager.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +76 -94
- package/esm/client/3_client_encrypted_pool.d.ts +1 -1
- package/esm/client/3_client_encrypted_pool.d.ts.map +1 -1
- package/esm/client/3_message_manager.d.ts +12 -9
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +166 -45
- package/esm/client/3_video_chat_manager.d.ts +6 -6
- package/esm/client/3_video_chat_manager.d.ts.map +1 -1
- package/esm/client/3_video_chat_manager.js +7 -7
- package/esm/client/4_callback_query_manager.d.ts +6 -6
- package/esm/client/4_callback_query_manager.d.ts.map +1 -1
- package/esm/client/4_callback_query_manager.js +3 -3
- package/esm/client/4_chat_list_manager.d.ts +8 -9
- package/esm/client/4_chat_list_manager.d.ts.map +1 -1
- package/esm/client/4_chat_list_manager.js +18 -273
- package/esm/client/4_chat_manager.d.ts +9 -9
- package/esm/client/4_chat_manager.d.ts.map +1 -1
- package/esm/client/4_chat_manager.js +11 -11
- package/esm/client/4_forum_manager.d.ts +4 -4
- package/esm/client/4_forum_manager.d.ts.map +1 -1
- package/esm/client/4_gift_manager.d.ts +4 -4
- package/esm/client/4_gift_manager.d.ts.map +1 -1
- package/esm/client/4_gift_manager.js +4 -4
- package/esm/client/4_inline_query_manager.d.ts +6 -6
- package/esm/client/4_inline_query_manager.d.ts.map +1 -1
- package/esm/client/4_inline_query_manager.js +4 -4
- package/esm/client/4_link_preview_manager.d.ts +6 -6
- package/esm/client/4_link_preview_manager.d.ts.map +1 -1
- package/esm/client/4_link_preview_manager.js +3 -3
- package/esm/client/4_poll_manager.d.ts +5 -5
- 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 +8 -8
- package/esm/client/4_story_manager.d.ts.map +1 -1
- package/esm/client/4_story_manager.js +9 -9
- package/esm/client/5_client.d.ts +41 -23
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +476 -411
- package/esm/connection/0_connection.d.ts +1 -1
- package/esm/connection/0_connection.d.ts.map +1 -1
- package/esm/connection/1_connection_tcp.node.d.ts +1 -1
- package/esm/connection/1_connection_tcp.node.d.ts.map +1 -1
- package/esm/connection/1_connection_tcp.node.js +4 -4
- package/esm/connection/1_connection_web_socket.d.ts +1 -1
- package/esm/connection/1_connection_web_socket.d.ts.map +1 -1
- package/esm/connection/1_connection_web_socket.js +3 -3
- package/esm/deps/jsr.io/@std/assert/1.0.14/assert.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/assertion_error.d.ts +26 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/assertion_error.js +30 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/false.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/unreachable.d.ts +15 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/unreachable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.14/unreachable.js +20 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/abortable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/deadline.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/debounce.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/delay.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/delay.js +80 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/mux_async_iterator.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/pool.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/retry.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/async/1.0.14/tee.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.d.ts +12 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.js +69 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/lru_cache.d.ts +112 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/lru_cache.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/lru_cache.js +140 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/memoize.d.ts +111 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/memoize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/cache/0.2.0/memoize.js +82 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts +39 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.js +109 -0
- package/esm/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.10/_os.js +12 -0
- package/esm/deps/jsr.io/@std/internal/1.0.10/os.d.ts +3 -0
- package/esm/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.10/os.js +5 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/basename.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/extname.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/streams/1.0.11/to_array_buffer.d.ts.map +1 -0
- package/esm/session/1_session.d.ts +2 -2
- package/esm/session/1_session.d.ts.map +1 -1
- package/esm/session/2_session_encrypted.d.ts +3 -3
- package/esm/session/2_session_encrypted.d.ts.map +1 -1
- package/esm/session/2_session_encrypted.js +76 -77
- package/esm/session/2_session_plain.js +1 -1
- package/esm/storage/0_storage.d.ts +2 -1
- package/esm/storage/0_storage.d.ts.map +1 -1
- package/esm/storage/1_utilities.d.ts +14 -11
- package/esm/storage/1_utilities.d.ts.map +1 -1
- package/esm/storage/1_utilities.js +17 -17
- package/esm/storage/2_storage_indexed_db.d.ts +2 -1
- package/esm/storage/2_storage_indexed_db.d.ts.map +1 -1
- package/esm/storage/2_storage_indexed_db.js +6 -3
- package/esm/storage/2_storage_local_storage.node.d.ts +2 -1
- package/esm/storage/2_storage_local_storage.node.d.ts.map +1 -1
- package/esm/storage/2_storage_local_storage.node.js +6 -3
- package/esm/storage/2_storage_memory.d.ts +3 -2
- package/esm/storage/2_storage_memory.d.ts.map +1 -1
- package/esm/storage/2_storage_memory.js +5 -2
- package/esm/storage/2_storage_session_storage.d.ts +3 -2
- package/esm/storage/2_storage_session_storage.d.ts.map +1 -1
- package/esm/storage/2_storage_session_storage.js +6 -3
- package/esm/tl/0_utilities.d.ts +1 -0
- package/esm/tl/0_utilities.d.ts.map +1 -1
- package/esm/tl/0_utilities.js +21 -2
- package/esm/tl/1_telegram_api.d.ts +810 -254
- package/esm/tl/1_telegram_api.d.ts.map +1 -1
- package/esm/tl/1_telegram_api.js +912 -213
- package/esm/tl/1_tl_reader.d.ts +3 -3
- package/esm/tl/1_tl_reader.d.ts.map +1 -1
- package/esm/tl/1_tl_reader.js +8 -8
- package/esm/tl/1_tl_writer.d.ts +3 -3
- package/esm/tl/1_tl_writer.d.ts.map +1 -1
- package/esm/tl/1_tl_writer.js +6 -6
- package/esm/tl/1_utilities.d.ts +1 -1
- package/esm/tl/1_utilities.d.ts.map +1 -1
- package/esm/tl/1_utilities.js +2 -2
- package/esm/tl/2_message.js +1 -1
- package/esm/tl/2_mtproto.d.ts +2 -2
- package/esm/tl/2_mtproto.d.ts.map +1 -1
- package/esm/tl/2_telegram.d.ts +1 -1
- package/esm/tl/2_telegram.d.ts.map +1 -1
- package/esm/transport/0_obfuscation.d.ts +1 -1
- package/esm/transport/0_obfuscation.d.ts.map +1 -1
- package/esm/transport/0_obfuscation.js +2 -2
- package/esm/transport/0_transport.d.ts +1 -1
- package/esm/transport/0_transport.d.ts.map +1 -1
- package/esm/transport/1_transport_abridged.d.ts +1 -1
- package/esm/transport/1_transport_abridged.d.ts.map +1 -1
- package/esm/transport/1_transport_intermediate.d.ts +1 -1
- package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
- package/esm/transport/1_transport_provider.d.ts +2 -2
- package/esm/transport/1_transport_provider.d.ts.map +1 -1
- package/esm/transport/2_transport_provider_tcp.d.ts +1 -1
- package/esm/transport/2_transport_provider_tcp.d.ts.map +1 -1
- package/esm/transport/2_transport_provider_web_socket.d.ts +1 -1
- package/esm/transport/2_transport_provider_web_socket.d.ts.map +1 -1
- package/esm/transport/2_transport_provider_web_socket.js +1 -1
- package/esm/types/0_birthday.d.ts +1 -1
- package/esm/types/0_birthday.d.ts.map +1 -1
- package/esm/types/0_callback_query_answer.d.ts +1 -1
- package/esm/types/0_callback_query_answer.d.ts.map +1 -1
- package/esm/types/0_callback_query_question.js +2 -2
- package/esm/types/0_chat_administrator_rights.d.ts +1 -1
- package/esm/types/0_chat_administrator_rights.d.ts.map +1 -1
- package/esm/types/0_chat_member_rights.d.ts +1 -1
- package/esm/types/0_chat_member_rights.d.ts.map +1 -1
- package/esm/types/0_contact.d.ts +1 -1
- package/esm/types/0_contact.d.ts.map +1 -1
- package/esm/types/0_dice.d.ts +1 -1
- package/esm/types/0_dice.d.ts.map +1 -1
- package/esm/types/0_failed_invitation.d.ts +1 -1
- package/esm/types/0_failed_invitation.d.ts.map +1 -1
- package/esm/types/0_file_source.d.ts +1 -1
- package/esm/types/0_file_source.d.ts.map +1 -1
- package/esm/types/0_invoice.d.ts +1 -1
- package/esm/types/0_invoice.d.ts.map +1 -1
- package/esm/types/0_live_stream_channel.d.ts +1 -1
- package/esm/types/0_live_stream_channel.d.ts.map +1 -1
- package/esm/types/0_mask_position.d.ts +1 -1
- package/esm/types/0_mask_position.d.ts.map +1 -1
- package/esm/types/0_mask_position.js +1 -1
- package/esm/types/0_message_search_filter.d.ts +1 -1
- package/esm/types/0_message_search_filter.d.ts.map +1 -1
- package/esm/types/0_opening_hours.d.ts +1 -1
- package/esm/types/0_opening_hours.d.ts.map +1 -1
- package/esm/types/0_reaction.js +5 -5
- package/esm/types/0_refunded_payment.d.ts +1 -1
- package/esm/types/0_refunded_payment.d.ts.map +1 -1
- package/esm/types/0_restriction_reason.d.ts +1 -1
- package/esm/types/0_restriction_reason.d.ts.map +1 -1
- package/esm/types/0_self_destruct_option.js +3 -3
- package/esm/types/0_shipping_address.d.ts +1 -1
- package/esm/types/0_shipping_address.d.ts.map +1 -1
- package/esm/types/0_slow_mode_duration.js +2 -2
- package/esm/types/0_voice.d.ts +1 -1
- package/esm/types/0_voice.d.ts.map +1 -1
- package/esm/types/0_voice_transcription.d.ts +1 -1
- package/esm/types/0_voice_transcription.d.ts.map +1 -1
- package/esm/types/1_animation.d.ts +1 -1
- package/esm/types/1_animation.d.ts.map +1 -1
- package/esm/types/1_audio.d.ts +1 -1
- package/esm/types/1_audio.d.ts.map +1 -1
- package/esm/types/1_bot_command_scope.d.ts +2 -2
- package/esm/types/1_bot_command_scope.d.ts.map +1 -1
- package/esm/types/1_chat_p.d.ts +12 -2
- package/esm/types/1_chat_p.d.ts.map +1 -1
- package/esm/types/1_chat_p.js +6 -2
- package/esm/types/1_document.d.ts +1 -1
- package/esm/types/1_document.d.ts.map +1 -1
- package/esm/types/1_giveaway.d.ts +2 -2
- package/esm/types/1_giveaway.d.ts.map +1 -1
- package/esm/types/1_inline_keyboard_button.d.ts +3 -3
- package/esm/types/1_inline_keyboard_button.d.ts.map +1 -1
- package/esm/types/1_inline_keyboard_button.js +4 -4
- package/esm/types/1_inline_query_result_button.d.ts +1 -1
- package/esm/types/1_inline_query_result_button.d.ts.map +1 -1
- package/esm/types/1_input_story_content.d.ts +1 -1
- package/esm/types/1_input_story_content.d.ts.map +1 -1
- package/esm/types/1_keyboard_button.d.ts +3 -3
- package/esm/types/1_keyboard_button.d.ts.map +1 -1
- package/esm/types/1_keyboard_button.js +1 -1
- package/esm/types/1_message_reaction.d.ts +1 -1
- package/esm/types/1_message_reaction.d.ts.map +1 -1
- package/esm/types/1_message_reaction.js +2 -2
- package/esm/types/1_mini_app_info.d.ts +2 -2
- package/esm/types/1_mini_app_info.d.ts.map +1 -1
- package/esm/types/1_network_statistics.d.ts +1 -1
- package/esm/types/1_network_statistics.d.ts.map +1 -1
- package/esm/types/1_order_info.d.ts +2 -2
- package/esm/types/1_order_info.d.ts.map +1 -1
- package/esm/types/1_photo.d.ts +1 -1
- package/esm/types/1_photo.d.ts.map +1 -1
- package/esm/types/1_reaction_count.d.ts +2 -2
- package/esm/types/1_reaction_count.d.ts.map +1 -1
- package/esm/types/1_sticker.d.ts +3 -3
- package/esm/types/1_sticker.d.ts.map +1 -1
- package/esm/types/1_sticker.js +2 -2
- package/esm/types/1_story_reaction.d.ts +2 -2
- package/esm/types/1_story_reaction.d.ts.map +1 -1
- package/esm/types/1_venue.d.ts +1 -1
- package/esm/types/1_venue.d.ts.map +1 -1
- package/esm/types/1_video.d.ts +1 -1
- package/esm/types/1_video.d.ts.map +1 -1
- package/esm/types/1_video_note.d.ts +1 -1
- package/esm/types/1_video_note.d.ts.map +1 -1
- package/esm/types/2_chat.d.ts +6 -9
- package/esm/types/2_chat.d.ts.map +1 -1
- package/esm/types/2_chat.js +10 -15
- package/esm/types/2_inactive_chat.d.ts +1 -1
- package/esm/types/2_inactive_chat.d.ts.map +1 -1
- package/esm/types/2_message_entity.d.ts +139 -0
- package/esm/types/2_message_entity.d.ts.map +1 -0
- package/esm/types/2_message_entity.js +183 -0
- package/esm/types/2_message_interactions.d.ts +1 -1
- package/esm/types/2_message_interactions.d.ts.map +1 -1
- package/esm/types/2_message_reaction_count.d.ts +4 -5
- package/esm/types/2_message_reaction_count.d.ts.map +1 -1
- package/esm/types/2_message_reaction_count.js +4 -6
- package/esm/types/2_poll_answer.d.ts +3 -4
- package/esm/types/2_poll_answer.d.ts.map +1 -1
- package/esm/types/2_poll_answer.js +4 -5
- package/esm/types/2_reply_markup.d.ts +3 -3
- package/esm/types/2_reply_markup.d.ts.map +1 -1
- package/esm/types/2_sticker_set.d.ts +51 -0
- package/esm/types/2_sticker_set.d.ts.map +1 -0
- package/esm/types/2_sticker_set.js +91 -0
- package/esm/types/2_story_content.d.ts +2 -2
- package/esm/types/2_story_content.d.ts.map +1 -1
- package/esm/types/2_story_interactions.d.ts +2 -2
- package/esm/types/2_story_interactions.d.ts.map +1 -1
- package/esm/types/2_story_interactive_area.d.ts +6 -6
- package/esm/types/2_story_interactive_area.d.ts.map +1 -1
- package/esm/types/2_story_interactive_area.js +2 -2
- package/esm/types/2_story_privacy.d.ts +46 -0
- package/esm/types/2_story_privacy.d.ts.map +1 -0
- package/esm/types/2_story_privacy.js +76 -0
- package/esm/types/2_successful_payment.d.ts +2 -2
- package/esm/types/2_successful_payment.d.ts.map +1 -1
- package/esm/types/2_user.d.ts +65 -0
- package/esm/types/2_user.d.ts.map +1 -0
- package/esm/types/2_user.js +73 -0
- package/esm/types/3_business_connection.d.ts +37 -0
- package/esm/types/3_business_connection.d.ts.map +1 -0
- package/esm/types/3_business_connection.js +36 -0
- package/esm/types/3_chat_member.d.ts +70 -0
- package/esm/types/3_chat_member.d.ts.map +1 -0
- package/esm/types/3_chat_member.js +114 -0
- package/esm/types/3_chat_settings.d.ts +46 -0
- package/esm/types/3_chat_settings.d.ts.map +1 -0
- package/esm/types/3_chat_settings.js +51 -0
- package/esm/types/3_chosen_inline_result.d.ts +38 -0
- package/esm/types/3_chosen_inline_result.d.ts.map +1 -0
- package/esm/types/3_chosen_inline_result.js +37 -0
- package/esm/types/3_forward_header.d.ts +58 -0
- package/esm/types/3_forward_header.d.ts.map +1 -0
- package/esm/types/3_forward_header.js +73 -0
- package/esm/types/3_game.d.ts +40 -0
- package/esm/types/3_game.d.ts.map +1 -0
- package/esm/types/3_gift_upgraded_component.d.ts +95 -0
- package/esm/types/3_gift_upgraded_component.d.ts.map +1 -0
- package/esm/types/3_gift_upgraded_component.js +88 -0
- package/esm/types/3_inline_query.d.ts +40 -0
- package/esm/types/3_inline_query.d.ts.map +1 -0
- package/esm/types/3_inline_query.js +60 -0
- package/esm/types/3_input_media.d.ts +122 -0
- package/esm/types/3_input_media.d.ts.map +1 -0
- package/esm/types/3_invite_link.d.ts +47 -0
- package/esm/types/3_invite_link.d.ts.map +1 -0
- package/esm/types/3_invite_link.js +48 -0
- package/esm/types/3_message_reactions.d.ts +42 -0
- package/esm/types/3_message_reactions.d.ts.map +1 -0
- package/esm/types/3_message_reactions.js +54 -0
- package/esm/types/3_poll_option.d.ts +34 -0
- package/esm/types/3_poll_option.d.ts.map +1 -0
- package/esm/types/3_poll_option.js +29 -0
- package/esm/types/3_pre_checkout_query.d.ts +34 -0
- package/esm/types/3_pre_checkout_query.d.ts.map +1 -0
- package/esm/types/3_pre_checkout_query.js +39 -0
- package/esm/types/3_reply_quote.d.ts +32 -0
- package/esm/types/3_reply_quote.d.ts.map +1 -0
- package/esm/types/3_reply_quote.js +30 -0
- package/esm/types/3_story.d.ts +8 -9
- package/esm/types/3_story.d.ts.map +1 -1
- package/esm/types/3_story.js +6 -7
- package/esm/types/4_chat_member_updated.d.ts +43 -0
- package/esm/types/4_chat_member_updated.d.ts.map +1 -0
- package/esm/types/4_chat_member_updated.js +52 -0
- package/esm/types/4_gift.d.ts +94 -0
- package/esm/types/4_gift.d.ts.map +1 -0
- package/esm/types/4_gift.js +105 -0
- package/esm/types/4_join_request.d.ts +39 -0
- package/esm/types/4_join_request.d.ts.map +1 -0
- package/esm/types/4_join_request.js +62 -0
- package/esm/types/4_poll.d.ts +55 -0
- package/esm/types/4_poll.d.ts.map +1 -0
- package/esm/types/4_poll.js +43 -0
- package/esm/types/4_reply_to.d.ts +35 -0
- package/esm/types/4_reply_to.d.ts.map +1 -0
- package/esm/types/5_claimed_gift.d.ts +44 -0
- package/esm/types/5_claimed_gift.d.ts.map +1 -0
- package/esm/types/5_claimed_gift.js +48 -0
- package/esm/types/5_link_preview.d.ts +188 -0
- package/esm/types/5_link_preview.d.ts.map +1 -0
- package/esm/types/5_link_preview.js +218 -0
- package/esm/types/6_claimed_gifts.d.ts +33 -0
- package/esm/types/6_claimed_gifts.d.ts.map +1 -0
- package/esm/types/6_claimed_gifts.js +43 -0
- package/esm/types/6_message.d.ts +616 -0
- package/esm/types/6_message.d.ts.map +1 -0
- package/esm/types/6_message.js +520 -0
- package/esm/types/6_message_content.d.ts +119 -0
- package/esm/types/6_message_content.d.ts.map +1 -0
- package/esm/types/7_callback_query.d.ts +43 -0
- package/esm/types/7_callback_query.d.ts.map +1 -0
- package/esm/types/7_callback_query.js +59 -0
- package/esm/types/7_chat_list_item.d.ts +35 -0
- package/esm/types/7_chat_list_item.d.ts.map +1 -0
- package/esm/types/7_chat_list_item.js +87 -0
- package/esm/types/7_inline_query_result.d.ts +251 -0
- package/esm/types/7_inline_query_result.d.ts.map +1 -0
- package/esm/types/7_inline_query_result.js +380 -0
- package/esm/types/7_saved_chat.d.ts +35 -0
- package/esm/types/7_saved_chat.d.ts.map +1 -0
- package/esm/types/7_saved_chat.js +43 -0
- package/esm/types/7_topic.d.ts +34 -0
- package/esm/types/7_topic.d.ts.map +1 -0
- package/esm/types/7_topic.js +61 -0
- package/esm/types/8_inline_query_answer.d.ts +32 -0
- package/esm/types/8_inline_query_answer.d.ts.map +1 -0
- package/esm/types/8_inline_query_answer.js +28 -0
- package/esm/types/8_saved_chats.d.ts +33 -0
- package/esm/types/8_saved_chats.d.ts.map +1 -0
- package/esm/types/8_saved_chats.js +36 -0
- package/esm/types/8_update.d.ts +528 -0
- package/esm/types/8_update.d.ts.map +1 -0
- package/esm/types/_file_id.d.ts +61 -50
- package/esm/types/_file_id.d.ts.map +1 -1
- package/esm/types/_file_id.js +92 -73
- package/esm/types/_getters.d.ts +3 -10
- package/esm/types/_getters.d.ts.map +1 -1
- package/esm/utilities/0_bigint.js +5 -5
- package/esm/utilities/0_buffer.js +3 -3
- package/esm/utilities/0_env.js +1 -1
- package/esm/utilities/0_hash.d.ts +2 -2
- package/esm/utilities/0_hash.d.ts.map +1 -1
- package/esm/utilities/0_misc.d.ts +1 -0
- package/esm/utilities/0_misc.d.ts.map +1 -1
- package/esm/utilities/0_misc.js +18 -4
- package/esm/utilities/0_part_stream.d.ts +1 -1
- package/esm/utilities/0_part_stream.d.ts.map +1 -1
- package/esm/utilities/0_rle.js +1 -1
- package/esm/utilities/1_auth.js +1 -1
- package/esm/utilities/1_base64.js +1 -1
- package/esm/utilities/1_logger.js +2 -2
- package/esm/utilities/1_math.js +2 -2
- package/esm/utilities/2_queue.js +1 -1
- package/package.json +1 -1
- package/script/0_deps.d.ts +14 -12
- package/script/0_deps.d.ts.map +1 -1
- package/script/0_deps.js +20 -15
- package/script/3_types.d.ts +36 -33
- package/script/3_types.d.ts.map +1 -1
- package/script/3_types.js +36 -33
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.d.ts.map +1 -1
- package/script/4_errors.d.ts +2 -2
- package/script/4_errors.d.ts.map +1 -1
- package/script/_dnt.polyfills.d.ts +7 -0
- package/script/_dnt.polyfills.d.ts.map +1 -1
- package/script/_dnt.polyfills.js +109 -0
- package/script/client/0_abortable_loop.d.ts +27 -0
- package/script/client/0_abortable_loop.d.ts.map +1 -0
- package/script/client/0_abortable_loop.js +53 -0
- package/script/client/0_client_abstract.d.ts +3 -3
- package/script/client/0_client_abstract.d.ts.map +1 -1
- package/script/client/0_filters.d.ts +10 -4
- package/script/client/0_filters.d.ts.map +1 -1
- package/script/client/0_filters.js +6 -3
- package/script/client/0_html.d.ts +1 -1
- package/script/client/0_html.d.ts.map +1 -1
- package/script/client/0_html.js +1 -1
- package/script/client/0_markdown.d.ts +1 -1
- package/script/client/0_markdown.d.ts.map +1 -1
- package/script/client/0_markdown.js +8 -8
- package/script/client/0_params.d.ts +42 -8
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_password.d.ts +2 -2
- package/script/client/0_password.d.ts.map +1 -1
- package/script/client/0_password.js +1 -1
- package/script/client/0_storage_operations.d.ts +55 -73
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_storage_operations.js +252 -249
- package/script/client/0_update_processor.d.ts +4 -4
- package/script/client/0_update_processor.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +2 -2
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +8 -8
- package/script/client/1_client_plain.d.ts +3 -3
- package/script/client/1_client_plain.d.ts.map +1 -1
- package/script/client/1_client_plain.js +2 -2
- package/script/client/1_composer.d.ts +3 -3
- package/script/client/1_composer.d.ts.map +1 -1
- package/script/client/1_composer.js +7 -7
- package/script/client/1_types.d.ts +5 -5
- package/script/client/1_types.d.ts.map +1 -1
- package/script/client/2_account_manager.d.ts +3 -3
- package/script/client/2_account_manager.d.ts.map +1 -1
- package/script/client/2_account_manager.js +7 -7
- package/script/client/2_bot_info_manager.d.ts +3 -3
- package/script/client/2_bot_info_manager.d.ts.map +1 -1
- package/script/client/2_business_connection_manager.d.ts +4 -4
- package/script/client/2_business_connection_manager.d.ts.map +1 -1
- package/script/client/2_business_connection_manager.js +3 -3
- package/script/client/2_client_encrypted.d.ts +3 -3
- package/script/client/2_client_encrypted.d.ts.map +1 -1
- package/script/client/2_file_manager.d.ts +3 -3
- package/script/client/2_file_manager.d.ts.map +1 -1
- package/script/client/2_file_manager.js +45 -31
- package/script/client/2_network_statistics_manager.d.ts +1 -1
- package/script/client/2_network_statistics_manager.d.ts.map +1 -1
- package/script/client/2_payment_manager.d.ts +5 -5
- 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 -4
- 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 +5 -5
- package/script/client/2_translations_manager.d.ts.map +1 -1
- package/script/client/2_translations_manager.js +20 -16
- package/script/client/2_update_manager.d.ts +6 -4
- package/script/client/2_update_manager.d.ts.map +1 -1
- package/script/client/2_update_manager.js +76 -94
- package/script/client/3_client_encrypted_pool.d.ts +1 -1
- package/script/client/3_client_encrypted_pool.d.ts.map +1 -1
- package/script/client/3_message_manager.d.ts +12 -9
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +165 -44
- package/script/client/3_video_chat_manager.d.ts +6 -6
- package/script/client/3_video_chat_manager.d.ts.map +1 -1
- package/script/client/3_video_chat_manager.js +7 -7
- package/script/client/4_callback_query_manager.d.ts +6 -6
- package/script/client/4_callback_query_manager.d.ts.map +1 -1
- package/script/client/4_callback_query_manager.js +3 -3
- package/script/client/4_chat_list_manager.d.ts +8 -9
- package/script/client/4_chat_list_manager.d.ts.map +1 -1
- package/script/client/4_chat_list_manager.js +17 -272
- package/script/client/4_chat_manager.d.ts +9 -9
- package/script/client/4_chat_manager.d.ts.map +1 -1
- package/script/client/4_chat_manager.js +11 -11
- package/script/client/4_forum_manager.d.ts +4 -4
- package/script/client/4_forum_manager.d.ts.map +1 -1
- package/script/client/4_gift_manager.d.ts +4 -4
- package/script/client/4_gift_manager.d.ts.map +1 -1
- package/script/client/4_gift_manager.js +4 -4
- package/script/client/4_inline_query_manager.d.ts +6 -6
- package/script/client/4_inline_query_manager.d.ts.map +1 -1
- package/script/client/4_inline_query_manager.js +4 -4
- package/script/client/4_link_preview_manager.d.ts +6 -6
- package/script/client/4_link_preview_manager.d.ts.map +1 -1
- package/script/client/4_link_preview_manager.js +3 -3
- package/script/client/4_poll_manager.d.ts +5 -5
- 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 +8 -8
- package/script/client/4_story_manager.d.ts.map +1 -1
- package/script/client/4_story_manager.js +9 -9
- package/script/client/5_client.d.ts +41 -23
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +474 -409
- package/script/connection/0_connection.d.ts +1 -1
- package/script/connection/0_connection.d.ts.map +1 -1
- package/script/connection/1_connection_tcp.node.d.ts +1 -1
- package/script/connection/1_connection_tcp.node.d.ts.map +1 -1
- package/script/connection/1_connection_tcp.node.js +4 -4
- package/script/connection/1_connection_web_socket.d.ts +1 -1
- package/script/connection/1_connection_web_socket.d.ts.map +1 -1
- package/script/connection/1_connection_web_socket.js +3 -3
- package/script/deps/jsr.io/@std/assert/1.0.14/assert.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/assertion_error.d.ts +26 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/assertion_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/assertion_error.js +34 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/false.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/unreachable.d.ts +15 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/unreachable.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.14/unreachable.js +23 -0
- package/script/deps/jsr.io/@std/async/1.0.14/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/abortable.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/deadline.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/debounce.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/delay.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/delay.js +116 -0
- package/script/deps/jsr.io/@std/async/1.0.14/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/mux_async_iterator.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/pool.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/retry.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/async/1.0.14/tee.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.d.ts +12 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.js +72 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/lru_cache.d.ts +112 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/lru_cache.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/lru_cache.js +144 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/memoize.d.ts +111 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/memoize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/cache/0.2.0/memoize.js +85 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts +39 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/hex.js +113 -0
- package/script/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +2 -0
- package/script/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.10/_os.js +48 -0
- package/script/deps/jsr.io/@std/internal/1.0.10/os.d.ts +3 -0
- package/script/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.10/os.js +8 -0
- package/script/deps/jsr.io/@std/path/1.1.2/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/basename.js +38 -0
- package/script/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/extname.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.2/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.1.2/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.1.2/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/streams/1.0.11/to_array_buffer.d.ts.map +1 -0
- package/script/session/1_session.d.ts +2 -2
- package/script/session/1_session.d.ts.map +1 -1
- package/script/session/2_session_encrypted.d.ts +3 -3
- package/script/session/2_session_encrypted.d.ts.map +1 -1
- package/script/session/2_session_encrypted.js +75 -76
- package/script/session/2_session_plain.js +1 -1
- package/script/storage/0_storage.d.ts +2 -1
- package/script/storage/0_storage.d.ts.map +1 -1
- package/script/storage/1_utilities.d.ts +14 -11
- package/script/storage/1_utilities.d.ts.map +1 -1
- package/script/storage/1_utilities.js +39 -39
- package/script/storage/2_storage_indexed_db.d.ts +2 -1
- package/script/storage/2_storage_indexed_db.d.ts.map +1 -1
- package/script/storage/2_storage_indexed_db.js +6 -3
- package/script/storage/2_storage_local_storage.node.d.ts +2 -1
- package/script/storage/2_storage_local_storage.node.d.ts.map +1 -1
- package/script/storage/2_storage_local_storage.node.js +6 -3
- package/script/storage/2_storage_memory.d.ts +3 -2
- package/script/storage/2_storage_memory.d.ts.map +1 -1
- package/script/storage/2_storage_memory.js +5 -2
- package/script/storage/2_storage_session_storage.d.ts +3 -2
- package/script/storage/2_storage_session_storage.d.ts.map +1 -1
- package/script/storage/2_storage_session_storage.js +6 -3
- package/script/tl/0_utilities.d.ts +1 -0
- package/script/tl/0_utilities.d.ts.map +1 -1
- package/script/tl/0_utilities.js +21 -1
- package/script/tl/1_telegram_api.d.ts +810 -254
- package/script/tl/1_telegram_api.d.ts.map +1 -1
- package/script/tl/1_telegram_api.js +912 -213
- package/script/tl/1_tl_reader.d.ts +3 -3
- package/script/tl/1_tl_reader.d.ts.map +1 -1
- package/script/tl/1_tl_reader.js +8 -8
- package/script/tl/1_tl_writer.d.ts +3 -3
- package/script/tl/1_tl_writer.d.ts.map +1 -1
- package/script/tl/1_tl_writer.js +6 -6
- package/script/tl/1_utilities.d.ts +1 -1
- package/script/tl/1_utilities.d.ts.map +1 -1
- package/script/tl/1_utilities.js +2 -2
- package/script/tl/2_message.js +1 -1
- package/script/tl/2_mtproto.d.ts +2 -2
- package/script/tl/2_mtproto.d.ts.map +1 -1
- package/script/tl/2_telegram.d.ts +1 -1
- package/script/tl/2_telegram.d.ts.map +1 -1
- package/script/transport/0_obfuscation.d.ts +1 -1
- package/script/transport/0_obfuscation.d.ts.map +1 -1
- package/script/transport/0_obfuscation.js +2 -2
- package/script/transport/0_transport.d.ts +1 -1
- package/script/transport/0_transport.d.ts.map +1 -1
- package/script/transport/1_transport_abridged.d.ts +1 -1
- package/script/transport/1_transport_abridged.d.ts.map +1 -1
- package/script/transport/1_transport_intermediate.d.ts +1 -1
- package/script/transport/1_transport_intermediate.d.ts.map +1 -1
- package/script/transport/1_transport_provider.d.ts +2 -2
- package/script/transport/1_transport_provider.d.ts.map +1 -1
- package/script/transport/2_transport_provider_tcp.d.ts +1 -1
- package/script/transport/2_transport_provider_tcp.d.ts.map +1 -1
- package/script/transport/2_transport_provider_web_socket.d.ts +1 -1
- package/script/transport/2_transport_provider_web_socket.d.ts.map +1 -1
- package/script/transport/2_transport_provider_web_socket.js +1 -1
- package/script/types/0_birthday.d.ts +1 -1
- package/script/types/0_birthday.d.ts.map +1 -1
- package/script/types/0_callback_query_answer.d.ts +1 -1
- package/script/types/0_callback_query_answer.d.ts.map +1 -1
- package/script/types/0_callback_query_question.js +2 -2
- package/script/types/0_chat_administrator_rights.d.ts +1 -1
- package/script/types/0_chat_administrator_rights.d.ts.map +1 -1
- package/script/types/0_chat_member_rights.d.ts +1 -1
- package/script/types/0_chat_member_rights.d.ts.map +1 -1
- package/script/types/0_contact.d.ts +1 -1
- package/script/types/0_contact.d.ts.map +1 -1
- package/script/types/0_dice.d.ts +1 -1
- package/script/types/0_dice.d.ts.map +1 -1
- package/script/types/0_failed_invitation.d.ts +1 -1
- package/script/types/0_failed_invitation.d.ts.map +1 -1
- package/script/types/0_file_source.d.ts +1 -1
- package/script/types/0_file_source.d.ts.map +1 -1
- package/script/types/0_invoice.d.ts +1 -1
- package/script/types/0_invoice.d.ts.map +1 -1
- package/script/types/0_live_stream_channel.d.ts +1 -1
- package/script/types/0_live_stream_channel.d.ts.map +1 -1
- package/script/types/0_mask_position.d.ts +1 -1
- package/script/types/0_mask_position.d.ts.map +1 -1
- package/script/types/0_mask_position.js +1 -1
- package/script/types/0_message_search_filter.d.ts +1 -1
- package/script/types/0_message_search_filter.d.ts.map +1 -1
- package/script/types/0_opening_hours.d.ts +1 -1
- package/script/types/0_opening_hours.d.ts.map +1 -1
- package/script/types/0_reaction.js +5 -5
- package/script/types/0_refunded_payment.d.ts +1 -1
- package/script/types/0_refunded_payment.d.ts.map +1 -1
- package/script/types/0_restriction_reason.d.ts +1 -1
- package/script/types/0_restriction_reason.d.ts.map +1 -1
- package/script/types/0_self_destruct_option.js +3 -3
- package/script/types/0_shipping_address.d.ts +1 -1
- package/script/types/0_shipping_address.d.ts.map +1 -1
- package/script/types/0_slow_mode_duration.js +2 -2
- package/script/types/0_voice.d.ts +1 -1
- package/script/types/0_voice.d.ts.map +1 -1
- package/script/types/0_voice_transcription.d.ts +1 -1
- package/script/types/0_voice_transcription.d.ts.map +1 -1
- package/script/types/1_animation.d.ts +1 -1
- package/script/types/1_animation.d.ts.map +1 -1
- package/script/types/1_audio.d.ts +1 -1
- package/script/types/1_audio.d.ts.map +1 -1
- package/script/types/1_bot_command_scope.d.ts +2 -2
- package/script/types/1_bot_command_scope.d.ts.map +1 -1
- package/script/types/1_chat_p.d.ts +12 -2
- package/script/types/1_chat_p.d.ts.map +1 -1
- package/script/types/1_chat_p.js +7 -2
- package/script/types/1_document.d.ts +1 -1
- package/script/types/1_document.d.ts.map +1 -1
- package/script/types/1_giveaway.d.ts +2 -2
- package/script/types/1_giveaway.d.ts.map +1 -1
- package/script/types/1_inline_keyboard_button.d.ts +3 -3
- package/script/types/1_inline_keyboard_button.d.ts.map +1 -1
- package/script/types/1_inline_keyboard_button.js +4 -4
- package/script/types/1_inline_query_result_button.d.ts +1 -1
- package/script/types/1_inline_query_result_button.d.ts.map +1 -1
- package/script/types/1_input_story_content.d.ts +1 -1
- package/script/types/1_input_story_content.d.ts.map +1 -1
- package/script/types/1_keyboard_button.d.ts +3 -3
- package/script/types/1_keyboard_button.d.ts.map +1 -1
- package/script/types/1_keyboard_button.js +1 -1
- package/script/types/1_message_reaction.d.ts +1 -1
- package/script/types/1_message_reaction.d.ts.map +1 -1
- package/script/types/1_message_reaction.js +2 -2
- package/script/types/1_mini_app_info.d.ts +2 -2
- package/script/types/1_mini_app_info.d.ts.map +1 -1
- package/script/types/1_network_statistics.d.ts +1 -1
- package/script/types/1_network_statistics.d.ts.map +1 -1
- package/script/types/1_order_info.d.ts +2 -2
- package/script/types/1_order_info.d.ts.map +1 -1
- package/script/types/1_photo.d.ts +1 -1
- package/script/types/1_photo.d.ts.map +1 -1
- package/script/types/1_reaction_count.d.ts +2 -2
- package/script/types/1_reaction_count.d.ts.map +1 -1
- package/script/types/1_sticker.d.ts +3 -3
- package/script/types/1_sticker.d.ts.map +1 -1
- package/script/types/1_sticker.js +2 -2
- package/script/types/1_story_reaction.d.ts +2 -2
- package/script/types/1_story_reaction.d.ts.map +1 -1
- package/script/types/1_venue.d.ts +1 -1
- package/script/types/1_venue.d.ts.map +1 -1
- package/script/types/1_video.d.ts +1 -1
- package/script/types/1_video.d.ts.map +1 -1
- package/script/types/1_video_note.d.ts +1 -1
- package/script/types/1_video_note.d.ts.map +1 -1
- package/script/types/2_chat.d.ts +6 -9
- package/script/types/2_chat.d.ts.map +1 -1
- package/script/types/2_chat.js +10 -15
- package/script/types/2_inactive_chat.d.ts +1 -1
- package/script/types/2_inactive_chat.d.ts.map +1 -1
- package/script/types/2_message_entity.d.ts +139 -0
- package/script/types/2_message_entity.d.ts.map +1 -0
- package/script/types/2_message_entity.js +188 -0
- package/script/types/2_message_interactions.d.ts +1 -1
- package/script/types/2_message_interactions.d.ts.map +1 -1
- package/script/types/2_message_reaction_count.d.ts +4 -5
- package/script/types/2_message_reaction_count.d.ts.map +1 -1
- package/script/types/2_message_reaction_count.js +4 -6
- package/script/types/2_poll_answer.d.ts +3 -4
- package/script/types/2_poll_answer.d.ts.map +1 -1
- package/script/types/2_poll_answer.js +4 -5
- package/script/types/2_reply_markup.d.ts +3 -3
- package/script/types/2_reply_markup.d.ts.map +1 -1
- package/script/types/2_sticker_set.d.ts +51 -0
- package/script/types/2_sticker_set.d.ts.map +1 -0
- package/script/types/2_sticker_set.js +94 -0
- package/script/types/2_story_content.d.ts +2 -2
- package/script/types/2_story_content.d.ts.map +1 -1
- package/script/types/2_story_interactions.d.ts +2 -2
- package/script/types/2_story_interactions.d.ts.map +1 -1
- package/script/types/2_story_interactive_area.d.ts +6 -6
- package/script/types/2_story_interactive_area.d.ts.map +1 -1
- package/script/types/2_story_interactive_area.js +2 -2
- package/script/types/2_story_privacy.d.ts +46 -0
- package/script/types/2_story_privacy.d.ts.map +1 -0
- package/script/types/2_story_privacy.js +80 -0
- package/script/types/2_successful_payment.d.ts +2 -2
- package/script/types/2_successful_payment.d.ts.map +1 -1
- package/script/types/2_user.d.ts +65 -0
- package/script/types/2_user.d.ts.map +1 -0
- package/script/types/2_user.js +77 -0
- package/script/types/3_business_connection.d.ts +37 -0
- package/script/types/3_business_connection.d.ts.map +1 -0
- package/script/types/3_business_connection.js +39 -0
- package/script/types/3_chat_member.d.ts +70 -0
- package/script/types/3_chat_member.d.ts.map +1 -0
- package/script/types/3_chat_member.js +117 -0
- package/script/types/3_chat_settings.d.ts +46 -0
- package/script/types/3_chat_settings.d.ts.map +1 -0
- package/script/types/3_chat_settings.js +54 -0
- package/script/types/3_chosen_inline_result.d.ts +38 -0
- package/script/types/3_chosen_inline_result.d.ts.map +1 -0
- package/script/types/3_chosen_inline_result.js +40 -0
- package/script/types/3_forward_header.d.ts +58 -0
- package/script/types/3_forward_header.d.ts.map +1 -0
- package/script/types/3_forward_header.js +76 -0
- package/script/types/3_game.d.ts +40 -0
- package/script/types/3_game.d.ts.map +1 -0
- package/script/types/3_gift_upgraded_component.d.ts +95 -0
- package/script/types/3_gift_upgraded_component.d.ts.map +1 -0
- package/script/types/3_gift_upgraded_component.js +91 -0
- package/script/types/3_inline_query.d.ts +40 -0
- package/script/types/3_inline_query.d.ts.map +1 -0
- package/script/types/3_inline_query.js +63 -0
- package/script/types/3_input_media.d.ts +122 -0
- package/script/types/3_input_media.d.ts.map +1 -0
- package/script/types/3_invite_link.d.ts +47 -0
- package/script/types/3_invite_link.d.ts.map +1 -0
- package/script/types/3_invite_link.js +51 -0
- package/script/types/3_message_reactions.d.ts +42 -0
- package/script/types/3_message_reactions.d.ts.map +1 -0
- package/script/types/3_message_reactions.js +57 -0
- package/script/types/3_poll_option.d.ts +34 -0
- package/script/types/3_poll_option.d.ts.map +1 -0
- package/script/types/3_poll_option.js +32 -0
- package/script/types/3_pre_checkout_query.d.ts +34 -0
- package/script/types/3_pre_checkout_query.d.ts.map +1 -0
- package/script/types/3_pre_checkout_query.js +42 -0
- package/script/types/3_reply_quote.d.ts +32 -0
- package/script/types/3_reply_quote.d.ts.map +1 -0
- package/script/types/3_reply_quote.js +33 -0
- package/script/types/3_story.d.ts +8 -9
- package/script/types/3_story.d.ts.map +1 -1
- package/script/types/3_story.js +8 -9
- package/script/types/4_chat_member_updated.d.ts +43 -0
- package/script/types/4_chat_member_updated.d.ts.map +1 -0
- package/script/types/4_chat_member_updated.js +55 -0
- package/script/types/4_gift.d.ts +94 -0
- package/script/types/4_gift.d.ts.map +1 -0
- package/script/types/4_gift.js +110 -0
- package/script/types/4_join_request.d.ts +39 -0
- package/script/types/4_join_request.d.ts.map +1 -0
- package/script/types/4_join_request.js +66 -0
- package/script/types/4_poll.d.ts +55 -0
- package/script/types/4_poll.d.ts.map +1 -0
- package/script/types/4_poll.js +46 -0
- package/script/types/4_reply_to.d.ts +35 -0
- package/script/types/4_reply_to.d.ts.map +1 -0
- package/script/types/5_claimed_gift.d.ts +44 -0
- package/script/types/5_claimed_gift.d.ts.map +1 -0
- package/script/types/5_claimed_gift.js +51 -0
- package/script/types/5_link_preview.d.ts +188 -0
- package/script/types/5_link_preview.d.ts.map +1 -0
- package/script/types/5_link_preview.js +221 -0
- package/script/types/6_claimed_gifts.d.ts +33 -0
- package/script/types/6_claimed_gifts.d.ts.map +1 -0
- package/script/types/6_claimed_gifts.js +46 -0
- package/script/types/6_message.d.ts +616 -0
- package/script/types/6_message.d.ts.map +1 -0
- package/script/types/6_message.js +525 -0
- package/script/types/6_message_content.d.ts +119 -0
- package/script/types/6_message_content.d.ts.map +1 -0
- package/script/types/7_callback_query.d.ts +43 -0
- package/script/types/7_callback_query.d.ts.map +1 -0
- package/script/types/7_callback_query.js +63 -0
- package/script/types/7_chat_list_item.d.ts +35 -0
- package/script/types/7_chat_list_item.d.ts.map +1 -0
- package/script/types/7_chat_list_item.js +94 -0
- package/script/types/7_inline_query_result.d.ts +251 -0
- package/script/types/7_inline_query_result.d.ts.map +1 -0
- package/script/types/7_inline_query_result.js +384 -0
- package/script/types/7_saved_chat.d.ts +35 -0
- package/script/types/7_saved_chat.d.ts.map +1 -0
- package/script/types/7_saved_chat.js +46 -0
- package/script/types/7_topic.d.ts +34 -0
- package/script/types/7_topic.d.ts.map +1 -0
- package/script/types/7_topic.js +64 -0
- package/script/types/8_inline_query_answer.d.ts +32 -0
- package/script/types/8_inline_query_answer.d.ts.map +1 -0
- package/script/types/8_inline_query_answer.js +31 -0
- package/script/types/8_saved_chats.d.ts +33 -0
- package/script/types/8_saved_chats.d.ts.map +1 -0
- package/script/types/8_saved_chats.js +39 -0
- package/script/types/8_update.d.ts +528 -0
- package/script/types/8_update.d.ts.map +1 -0
- package/script/types/_file_id.d.ts +61 -50
- package/script/types/_file_id.d.ts.map +1 -1
- package/script/types/_file_id.js +155 -136
- package/script/types/_getters.d.ts +3 -10
- package/script/types/_getters.d.ts.map +1 -1
- package/script/utilities/0_bigint.js +5 -5
- package/script/utilities/0_buffer.js +3 -3
- package/script/utilities/0_env.js +1 -1
- package/script/utilities/0_hash.d.ts +2 -2
- package/script/utilities/0_hash.d.ts.map +1 -1
- package/script/utilities/0_misc.d.ts +1 -0
- package/script/utilities/0_misc.d.ts.map +1 -1
- package/script/utilities/0_misc.js +18 -3
- package/script/utilities/0_part_stream.d.ts +1 -1
- package/script/utilities/0_part_stream.d.ts.map +1 -1
- package/script/utilities/0_rle.js +1 -1
- package/script/utilities/1_auth.js +1 -1
- package/script/utilities/1_base64.js +1 -1
- package/script/utilities/1_logger.js +2 -2
- package/script/utilities/1_math.js +2 -2
- package/script/utilities/2_queue.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.13/assert.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.13/equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.13/equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.13/false.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/abortable.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/deadline.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/debounce.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/delay.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/delay.js +0 -65
- package/esm/deps/jsr.io/@std/async/1.0.13/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/mux_async_iterator.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/pool.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/retry.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/async/1.0.13/tee.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/assert_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/normalize_string.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/strip_trailing_separators.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_common/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_os.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.0/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/_os.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.0/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/basename.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.0/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/extname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.0/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/is_absolute.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.0/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/join.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/posix/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/to_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.0/windows/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/streams/1.0.10/to_array_buffer.d.ts.map +0 -1
- package/esm/types/0_message_entity.d.ts +0 -139
- package/esm/types/0_message_entity.d.ts.map +0 -1
- package/esm/types/0_message_entity.js +0 -183
- package/esm/types/1_input_media.d.ts +0 -122
- package/esm/types/1_input_media.d.ts.map +0 -1
- package/esm/types/1_poll_option.d.ts +0 -34
- package/esm/types/1_poll_option.d.ts.map +0 -1
- package/esm/types/1_poll_option.js +0 -29
- package/esm/types/1_reply_quote.d.ts +0 -32
- package/esm/types/1_reply_quote.d.ts.map +0 -1
- package/esm/types/1_reply_quote.js +0 -30
- package/esm/types/1_story_privacy.d.ts +0 -46
- package/esm/types/1_story_privacy.d.ts.map +0 -1
- package/esm/types/1_story_privacy.js +0 -76
- package/esm/types/1_user.d.ts +0 -61
- package/esm/types/1_user.d.ts.map +0 -1
- package/esm/types/1_user.js +0 -49
- package/esm/types/2_business_connection.d.ts +0 -37
- package/esm/types/2_business_connection.d.ts.map +0 -1
- package/esm/types/2_business_connection.js +0 -29
- package/esm/types/2_chat_member.d.ts +0 -68
- package/esm/types/2_chat_member.d.ts.map +0 -1
- package/esm/types/2_chat_member.js +0 -114
- package/esm/types/2_chat_settings.d.ts +0 -46
- package/esm/types/2_chat_settings.d.ts.map +0 -1
- package/esm/types/2_chat_settings.js +0 -51
- package/esm/types/2_chosen_inline_result.d.ts +0 -38
- package/esm/types/2_chosen_inline_result.d.ts.map +0 -1
- package/esm/types/2_chosen_inline_result.js +0 -37
- package/esm/types/2_forward_header.d.ts +0 -59
- package/esm/types/2_forward_header.d.ts.map +0 -1
- package/esm/types/2_forward_header.js +0 -74
- package/esm/types/2_game.d.ts +0 -40
- package/esm/types/2_game.d.ts.map +0 -1
- package/esm/types/2_gift_upgraded_component.d.ts +0 -95
- package/esm/types/2_gift_upgraded_component.d.ts.map +0 -1
- package/esm/types/2_gift_upgraded_component.js +0 -88
- package/esm/types/2_inline_query.d.ts +0 -40
- package/esm/types/2_inline_query.d.ts.map +0 -1
- package/esm/types/2_inline_query.js +0 -60
- package/esm/types/2_invite_link.d.ts +0 -47
- package/esm/types/2_invite_link.d.ts.map +0 -1
- package/esm/types/2_invite_link.js +0 -48
- package/esm/types/2_message_reactions.d.ts +0 -43
- package/esm/types/2_message_reactions.d.ts.map +0 -1
- package/esm/types/2_message_reactions.js +0 -56
- package/esm/types/2_poll.d.ts +0 -55
- package/esm/types/2_poll.d.ts.map +0 -1
- package/esm/types/2_poll.js +0 -43
- package/esm/types/2_pre_checkout_query.d.ts +0 -34
- package/esm/types/2_pre_checkout_query.d.ts.map +0 -1
- package/esm/types/2_pre_checkout_query.js +0 -39
- package/esm/types/2_reply_to.d.ts +0 -35
- package/esm/types/2_reply_to.d.ts.map +0 -1
- package/esm/types/3_chat_member_updated.d.ts +0 -44
- package/esm/types/3_chat_member_updated.d.ts.map +0 -1
- package/esm/types/3_chat_member_updated.js +0 -53
- package/esm/types/3_gift.d.ts +0 -94
- package/esm/types/3_gift.d.ts.map +0 -1
- package/esm/types/3_gift.js +0 -105
- package/esm/types/3_join_request.d.ts +0 -40
- package/esm/types/3_join_request.d.ts.map +0 -1
- package/esm/types/3_join_request.js +0 -63
- package/esm/types/4_claimed_gift.d.ts +0 -45
- package/esm/types/4_claimed_gift.d.ts.map +0 -1
- package/esm/types/4_claimed_gift.js +0 -48
- package/esm/types/4_link_preview.d.ts +0 -188
- package/esm/types/4_link_preview.d.ts.map +0 -1
- package/esm/types/4_link_preview.js +0 -218
- package/esm/types/5_claimed_gifts.d.ts +0 -33
- package/esm/types/5_claimed_gifts.d.ts.map +0 -1
- package/esm/types/5_claimed_gifts.js +0 -43
- package/esm/types/5_message.d.ts +0 -617
- package/esm/types/5_message.d.ts.map +0 -1
- package/esm/types/5_message.js +0 -545
- package/esm/types/5_message_content.d.ts +0 -119
- package/esm/types/5_message_content.d.ts.map +0 -1
- package/esm/types/6_callback_query.d.ts +0 -43
- package/esm/types/6_callback_query.d.ts.map +0 -1
- package/esm/types/6_callback_query.js +0 -59
- package/esm/types/6_chat_list_item.d.ts +0 -36
- package/esm/types/6_chat_list_item.d.ts.map +0 -1
- package/esm/types/6_chat_list_item.js +0 -87
- package/esm/types/6_inline_query_result.d.ts +0 -251
- package/esm/types/6_inline_query_result.d.ts.map +0 -1
- package/esm/types/6_inline_query_result.js +0 -380
- package/esm/types/6_topic.d.ts +0 -34
- package/esm/types/6_topic.d.ts.map +0 -1
- package/esm/types/6_topic.js +0 -61
- package/esm/types/7_inline_query_answer.d.ts +0 -32
- package/esm/types/7_inline_query_answer.d.ts.map +0 -1
- package/esm/types/7_inline_query_answer.js +0 -28
- package/esm/types/7_update.d.ts +0 -509
- package/esm/types/7_update.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.13/assert.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.13/equal.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.13/equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.13/false.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/abortable.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/deadline.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/debounce.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/delay.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/delay.js +0 -101
- package/script/deps/jsr.io/@std/async/1.0.13/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/mux_async_iterator.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/pool.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/retry.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/async/1.0.13/tee.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/assert_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/normalize_string.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/strip_trailing_separators.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_common/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_os.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.0/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/_os.js +0 -45
- package/script/deps/jsr.io/@std/path/1.1.0/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/basename.js +0 -38
- package/script/deps/jsr.io/@std/path/1.1.0/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/extname.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.0/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/is_absolute.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.0/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/join.js +0 -32
- package/script/deps/jsr.io/@std/path/1.1.0/posix/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/posix/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/posix/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/posix/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/posix/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/posix/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/posix/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/posix/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/to_file_url.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.0/windows/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/windows/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/windows/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/windows/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/windows/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/windows/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/windows/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.0/windows/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/streams/1.0.10/to_array_buffer.d.ts.map +0 -1
- package/script/types/0_message_entity.d.ts +0 -139
- package/script/types/0_message_entity.d.ts.map +0 -1
- package/script/types/0_message_entity.js +0 -188
- package/script/types/1_input_media.d.ts +0 -122
- package/script/types/1_input_media.d.ts.map +0 -1
- package/script/types/1_poll_option.d.ts +0 -34
- package/script/types/1_poll_option.d.ts.map +0 -1
- package/script/types/1_poll_option.js +0 -32
- package/script/types/1_reply_quote.d.ts +0 -32
- package/script/types/1_reply_quote.d.ts.map +0 -1
- package/script/types/1_reply_quote.js +0 -33
- package/script/types/1_story_privacy.d.ts +0 -46
- package/script/types/1_story_privacy.d.ts.map +0 -1
- package/script/types/1_story_privacy.js +0 -80
- package/script/types/1_user.d.ts +0 -61
- package/script/types/1_user.d.ts.map +0 -1
- package/script/types/1_user.js +0 -52
- package/script/types/2_business_connection.d.ts +0 -37
- package/script/types/2_business_connection.d.ts.map +0 -1
- package/script/types/2_business_connection.js +0 -32
- package/script/types/2_chat_member.d.ts +0 -68
- package/script/types/2_chat_member.d.ts.map +0 -1
- package/script/types/2_chat_member.js +0 -117
- package/script/types/2_chat_settings.d.ts +0 -46
- package/script/types/2_chat_settings.d.ts.map +0 -1
- package/script/types/2_chat_settings.js +0 -54
- package/script/types/2_chosen_inline_result.d.ts +0 -38
- package/script/types/2_chosen_inline_result.d.ts.map +0 -1
- package/script/types/2_chosen_inline_result.js +0 -40
- package/script/types/2_forward_header.d.ts +0 -59
- package/script/types/2_forward_header.d.ts.map +0 -1
- package/script/types/2_forward_header.js +0 -77
- package/script/types/2_game.d.ts +0 -40
- package/script/types/2_game.d.ts.map +0 -1
- package/script/types/2_gift_upgraded_component.d.ts +0 -95
- package/script/types/2_gift_upgraded_component.d.ts.map +0 -1
- package/script/types/2_gift_upgraded_component.js +0 -91
- package/script/types/2_inline_query.d.ts +0 -40
- package/script/types/2_inline_query.d.ts.map +0 -1
- package/script/types/2_inline_query.js +0 -63
- package/script/types/2_invite_link.d.ts +0 -47
- package/script/types/2_invite_link.d.ts.map +0 -1
- package/script/types/2_invite_link.js +0 -51
- package/script/types/2_message_reactions.d.ts +0 -43
- package/script/types/2_message_reactions.d.ts.map +0 -1
- package/script/types/2_message_reactions.js +0 -59
- package/script/types/2_poll.d.ts +0 -55
- package/script/types/2_poll.d.ts.map +0 -1
- package/script/types/2_poll.js +0 -46
- package/script/types/2_pre_checkout_query.d.ts +0 -34
- package/script/types/2_pre_checkout_query.d.ts.map +0 -1
- package/script/types/2_pre_checkout_query.js +0 -42
- package/script/types/2_reply_to.d.ts +0 -35
- package/script/types/2_reply_to.d.ts.map +0 -1
- package/script/types/3_chat_member_updated.d.ts +0 -44
- package/script/types/3_chat_member_updated.d.ts.map +0 -1
- package/script/types/3_chat_member_updated.js +0 -56
- package/script/types/3_gift.d.ts +0 -94
- package/script/types/3_gift.d.ts.map +0 -1
- package/script/types/3_gift.js +0 -110
- package/script/types/3_join_request.d.ts +0 -40
- package/script/types/3_join_request.d.ts.map +0 -1
- package/script/types/3_join_request.js +0 -67
- package/script/types/4_claimed_gift.d.ts +0 -45
- package/script/types/4_claimed_gift.d.ts.map +0 -1
- package/script/types/4_claimed_gift.js +0 -51
- package/script/types/4_link_preview.d.ts +0 -188
- package/script/types/4_link_preview.d.ts.map +0 -1
- package/script/types/4_link_preview.js +0 -221
- package/script/types/5_claimed_gifts.d.ts +0 -33
- package/script/types/5_claimed_gifts.d.ts.map +0 -1
- package/script/types/5_claimed_gifts.js +0 -46
- package/script/types/5_message.d.ts +0 -617
- package/script/types/5_message.d.ts.map +0 -1
- package/script/types/5_message.js +0 -550
- package/script/types/5_message_content.d.ts +0 -119
- package/script/types/5_message_content.d.ts.map +0 -1
- package/script/types/6_callback_query.d.ts +0 -43
- package/script/types/6_callback_query.d.ts.map +0 -1
- package/script/types/6_callback_query.js +0 -63
- package/script/types/6_chat_list_item.d.ts +0 -36
- package/script/types/6_chat_list_item.d.ts.map +0 -1
- package/script/types/6_chat_list_item.js +0 -94
- package/script/types/6_inline_query_result.d.ts +0 -251
- package/script/types/6_inline_query_result.d.ts.map +0 -1
- package/script/types/6_inline_query_result.js +0 -384
- package/script/types/6_topic.d.ts +0 -34
- package/script/types/6_topic.d.ts.map +0 -1
- package/script/types/6_topic.js +0 -64
- package/script/types/7_inline_query_answer.d.ts +0 -32
- package/script/types/7_inline_query_answer.d.ts.map +0 -1
- package/script/types/7_inline_query_answer.js +0 -31
- package/script/types/7_update.d.ts +0 -509
- package/script/types/7_update.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/assert.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/assert.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/delay.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.js +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/extname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/basename.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/basename.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/extname.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/extname.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/is_absolute.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/to_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/to_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.js +0 -0
- /package/esm/types/{2_game.js → 3_game.js} +0 -0
- /package/esm/types/{1_input_media.js → 3_input_media.js} +0 -0
- /package/esm/types/{2_reply_to.js → 4_reply_to.js} +0 -0
- /package/esm/types/{5_message_content.js → 6_message_content.js} +0 -0
- /package/esm/types/{7_update.js → 8_update.js} +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/assert.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/assert.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/delay.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.js +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.d.ts +0 -0
- /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/basename.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/extname.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/basename.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/basename.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/extname.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/extname.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/is_absolute.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/is_absolute.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/to_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/to_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.d.ts +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.js +0 -0
- /package/script/types/{2_game.js → 3_game.js} +0 -0
- /package/script/types/{1_input_media.js → 3_input_media.js} +0 -0
- /package/script/types/{2_reply_to.js → 4_reply_to.js} +0 -0
- /package/script/types/{5_message_content.js → 6_message_content.js} +0 -0
- /package/script/types/{7_update.js → 8_update.js} +0 -0
|
@@ -190,7 +190,7 @@ export interface inputMediaInvoice {
|
|
|
190
190
|
description: string;
|
|
191
191
|
photo?: InputWebDocument;
|
|
192
192
|
invoice: Invoice;
|
|
193
|
-
payload: Uint8Array
|
|
193
|
+
payload: Uint8Array<ArrayBuffer>;
|
|
194
194
|
provider?: string;
|
|
195
195
|
provider_data: DataJSON;
|
|
196
196
|
start_param?: string;
|
|
@@ -207,7 +207,7 @@ export interface inputMediaGeoLive {
|
|
|
207
207
|
export interface inputMediaPoll {
|
|
208
208
|
_: "inputMediaPoll";
|
|
209
209
|
poll: Poll;
|
|
210
|
-
correct_answers?: Array<Uint8Array
|
|
210
|
+
correct_answers?: Array<Uint8Array<ArrayBuffer>>;
|
|
211
211
|
solution?: string;
|
|
212
212
|
solution_entities?: Array<MessageEntity>;
|
|
213
213
|
}
|
|
@@ -233,6 +233,10 @@ export interface inputMediaPaidMedia {
|
|
|
233
233
|
extended_media: Array<InputMedia>;
|
|
234
234
|
payload?: string;
|
|
235
235
|
}
|
|
236
|
+
export interface inputMediaTodo {
|
|
237
|
+
_: "inputMediaTodo";
|
|
238
|
+
todo: TodoList;
|
|
239
|
+
}
|
|
236
240
|
export interface inputChatPhotoEmpty {
|
|
237
241
|
_: "inputChatPhotoEmpty";
|
|
238
242
|
}
|
|
@@ -263,14 +267,14 @@ export interface inputPhoto {
|
|
|
263
267
|
_: "inputPhoto";
|
|
264
268
|
id: bigint;
|
|
265
269
|
access_hash: bigint;
|
|
266
|
-
file_reference: Uint8Array
|
|
270
|
+
file_reference: Uint8Array<ArrayBuffer>;
|
|
267
271
|
}
|
|
268
272
|
export interface inputFileLocation {
|
|
269
273
|
_: "inputFileLocation";
|
|
270
274
|
volume_id: bigint;
|
|
271
275
|
local_id: number;
|
|
272
276
|
secret: bigint;
|
|
273
|
-
file_reference: Uint8Array
|
|
277
|
+
file_reference: Uint8Array<ArrayBuffer>;
|
|
274
278
|
}
|
|
275
279
|
export interface inputEncryptedFileLocation {
|
|
276
280
|
_: "inputEncryptedFileLocation";
|
|
@@ -281,7 +285,7 @@ export interface inputDocumentFileLocation {
|
|
|
281
285
|
_: "inputDocumentFileLocation";
|
|
282
286
|
id: bigint;
|
|
283
287
|
access_hash: bigint;
|
|
284
|
-
file_reference: Uint8Array
|
|
288
|
+
file_reference: Uint8Array<ArrayBuffer>;
|
|
285
289
|
thumb_size: string;
|
|
286
290
|
}
|
|
287
291
|
export interface inputSecureFileLocation {
|
|
@@ -296,14 +300,14 @@ export interface inputPhotoFileLocation {
|
|
|
296
300
|
_: "inputPhotoFileLocation";
|
|
297
301
|
id: bigint;
|
|
298
302
|
access_hash: bigint;
|
|
299
|
-
file_reference: Uint8Array
|
|
303
|
+
file_reference: Uint8Array<ArrayBuffer>;
|
|
300
304
|
thumb_size: string;
|
|
301
305
|
}
|
|
302
306
|
export interface inputPhotoLegacyFileLocation {
|
|
303
307
|
_: "inputPhotoLegacyFileLocation";
|
|
304
308
|
id: bigint;
|
|
305
309
|
access_hash: bigint;
|
|
306
|
-
file_reference: Uint8Array
|
|
310
|
+
file_reference: Uint8Array<ArrayBuffer>;
|
|
307
311
|
volume_id: bigint;
|
|
308
312
|
local_id: number;
|
|
309
313
|
secret: bigint;
|
|
@@ -429,7 +433,7 @@ export interface userProfilePhoto {
|
|
|
429
433
|
has_video?: true;
|
|
430
434
|
personal?: true;
|
|
431
435
|
photo_id: bigint;
|
|
432
|
-
stripped_thumb?: Uint8Array
|
|
436
|
+
stripped_thumb?: Uint8Array<ArrayBuffer>;
|
|
433
437
|
dc_id: number;
|
|
434
438
|
}
|
|
435
439
|
export interface userStatusEmpty {
|
|
@@ -509,6 +513,9 @@ export interface channel {
|
|
|
509
513
|
stories_unavailable?: true;
|
|
510
514
|
signature_profiles?: true;
|
|
511
515
|
autotranslation?: true;
|
|
516
|
+
broadcast_messages_allowed?: true;
|
|
517
|
+
monoforum?: true;
|
|
518
|
+
forum_tabs?: true;
|
|
512
519
|
id: bigint;
|
|
513
520
|
access_hash?: bigint;
|
|
514
521
|
title: string;
|
|
@@ -529,6 +536,7 @@ export interface channel {
|
|
|
529
536
|
subscription_until_date?: number;
|
|
530
537
|
bot_verification_icon?: bigint;
|
|
531
538
|
send_paid_messages_stars?: bigint;
|
|
539
|
+
linked_monoforum_id?: bigint;
|
|
532
540
|
}
|
|
533
541
|
export interface channelForbidden {
|
|
534
542
|
_: "channelForbidden";
|
|
@@ -628,6 +636,8 @@ export interface channelFull {
|
|
|
628
636
|
emojiset?: StickerSet;
|
|
629
637
|
bot_verification?: BotVerification;
|
|
630
638
|
stargifts_count?: number;
|
|
639
|
+
send_paid_messages_stars?: bigint;
|
|
640
|
+
main_tab?: ProfileTab;
|
|
631
641
|
}
|
|
632
642
|
export interface chatParticipant {
|
|
633
643
|
_: "chatParticipant";
|
|
@@ -663,7 +673,7 @@ export interface chatPhoto {
|
|
|
663
673
|
_: "chatPhoto";
|
|
664
674
|
has_video?: true;
|
|
665
675
|
photo_id: bigint;
|
|
666
|
-
stripped_thumb?: Uint8Array
|
|
676
|
+
stripped_thumb?: Uint8Array<ArrayBuffer>;
|
|
667
677
|
dc_id: number;
|
|
668
678
|
}
|
|
669
679
|
export interface messageEmpty {
|
|
@@ -686,6 +696,8 @@ export interface message {
|
|
|
686
696
|
invert_media?: true;
|
|
687
697
|
offline?: true;
|
|
688
698
|
video_processing_pending?: true;
|
|
699
|
+
paid_suggested_post_stars?: true;
|
|
700
|
+
paid_suggested_post_ton?: true;
|
|
689
701
|
id: number;
|
|
690
702
|
from_id?: Peer;
|
|
691
703
|
from_boosts_applied?: number;
|
|
@@ -714,6 +726,7 @@ export interface message {
|
|
|
714
726
|
factcheck?: FactCheck;
|
|
715
727
|
report_delivery_until_date?: number;
|
|
716
728
|
paid_message_stars?: bigint;
|
|
729
|
+
suggested_post?: SuggestedPost;
|
|
717
730
|
}
|
|
718
731
|
export interface messageService {
|
|
719
732
|
_: "messageService";
|
|
@@ -727,6 +740,7 @@ export interface messageService {
|
|
|
727
740
|
id: number;
|
|
728
741
|
from_id?: Peer;
|
|
729
742
|
peer_id: Peer;
|
|
743
|
+
saved_peer_id?: Peer;
|
|
730
744
|
reply_to?: MessageReplyHeader;
|
|
731
745
|
date: number;
|
|
732
746
|
action: MessageAction;
|
|
@@ -860,6 +874,11 @@ export interface messageMediaPaidMedia {
|
|
|
860
874
|
stars_amount: bigint;
|
|
861
875
|
extended_media: Array<MessageExtendedMedia>;
|
|
862
876
|
}
|
|
877
|
+
export interface messageMediaToDo {
|
|
878
|
+
_: "messageMediaToDo";
|
|
879
|
+
todo: TodoList;
|
|
880
|
+
completions?: Array<TodoCompletion>;
|
|
881
|
+
}
|
|
863
882
|
export interface messageActionEmpty {
|
|
864
883
|
_: "messageActionEmpty";
|
|
865
884
|
}
|
|
@@ -921,7 +940,7 @@ export interface messageActionPaymentSentMe {
|
|
|
921
940
|
recurring_used?: true;
|
|
922
941
|
currency: string;
|
|
923
942
|
total_amount: bigint;
|
|
924
|
-
payload: Uint8Array
|
|
943
|
+
payload: Uint8Array<ArrayBuffer>;
|
|
925
944
|
info?: PaymentRequestedInfo;
|
|
926
945
|
shipping_option_id?: string;
|
|
927
946
|
charge: PaymentCharge;
|
|
@@ -997,7 +1016,7 @@ export interface messageActionGroupCallScheduled {
|
|
|
997
1016
|
}
|
|
998
1017
|
export interface messageActionSetChatTheme {
|
|
999
1018
|
_: "messageActionSetChatTheme";
|
|
1000
|
-
|
|
1019
|
+
theme: ChatTheme;
|
|
1001
1020
|
}
|
|
1002
1021
|
export interface messageActionChatJoinedByRequest {
|
|
1003
1022
|
_: "messageActionChatJoinedByRequest";
|
|
@@ -1085,7 +1104,7 @@ export interface messageActionPaymentRefunded {
|
|
|
1085
1104
|
peer: Peer;
|
|
1086
1105
|
currency: string;
|
|
1087
1106
|
total_amount: bigint;
|
|
1088
|
-
payload?: Uint8Array
|
|
1107
|
+
payload?: Uint8Array<ArrayBuffer>;
|
|
1089
1108
|
charge: PaymentCharge;
|
|
1090
1109
|
}
|
|
1091
1110
|
export interface messageActionGiftStars {
|
|
@@ -1113,6 +1132,8 @@ export interface messageActionStarGift {
|
|
|
1113
1132
|
upgraded?: true;
|
|
1114
1133
|
refunded?: true;
|
|
1115
1134
|
can_upgrade?: true;
|
|
1135
|
+
prepaid_upgrade?: true;
|
|
1136
|
+
upgrade_separate?: true;
|
|
1116
1137
|
gift: StarGift;
|
|
1117
1138
|
message?: TextWithEntities;
|
|
1118
1139
|
convert_stars?: bigint;
|
|
@@ -1121,6 +1142,8 @@ export interface messageActionStarGift {
|
|
|
1121
1142
|
from_id?: Peer;
|
|
1122
1143
|
peer?: Peer;
|
|
1123
1144
|
saved_id?: bigint;
|
|
1145
|
+
prepaid_upgrade_hash?: string;
|
|
1146
|
+
gift_msg_id?: number;
|
|
1124
1147
|
}
|
|
1125
1148
|
export interface messageActionStarGiftUnique {
|
|
1126
1149
|
_: "messageActionStarGiftUnique";
|
|
@@ -1128,13 +1151,14 @@ export interface messageActionStarGiftUnique {
|
|
|
1128
1151
|
transferred?: true;
|
|
1129
1152
|
saved?: true;
|
|
1130
1153
|
refunded?: true;
|
|
1154
|
+
prepaid_upgrade?: true;
|
|
1131
1155
|
gift: StarGift;
|
|
1132
1156
|
can_export_at?: number;
|
|
1133
1157
|
transfer_stars?: bigint;
|
|
1134
1158
|
from_id?: Peer;
|
|
1135
1159
|
peer?: Peer;
|
|
1136
1160
|
saved_id?: bigint;
|
|
1137
|
-
|
|
1161
|
+
resale_amount?: StarsAmount;
|
|
1138
1162
|
can_transfer_at?: number;
|
|
1139
1163
|
can_resell_at?: number;
|
|
1140
1164
|
}
|
|
@@ -1145,6 +1169,7 @@ export interface messageActionPaidMessagesRefunded {
|
|
|
1145
1169
|
}
|
|
1146
1170
|
export interface messageActionPaidMessagesPrice {
|
|
1147
1171
|
_: "messageActionPaidMessagesPrice";
|
|
1172
|
+
broadcast_messages_allowed?: true;
|
|
1148
1173
|
stars: bigint;
|
|
1149
1174
|
}
|
|
1150
1175
|
export interface messageActionConferenceCall {
|
|
@@ -1156,6 +1181,39 @@ export interface messageActionConferenceCall {
|
|
|
1156
1181
|
duration?: number;
|
|
1157
1182
|
other_participants?: Array<Peer>;
|
|
1158
1183
|
}
|
|
1184
|
+
export interface messageActionTodoCompletions {
|
|
1185
|
+
_: "messageActionTodoCompletions";
|
|
1186
|
+
completed: Array<number>;
|
|
1187
|
+
incompleted: Array<number>;
|
|
1188
|
+
}
|
|
1189
|
+
export interface messageActionTodoAppendTasks {
|
|
1190
|
+
_: "messageActionTodoAppendTasks";
|
|
1191
|
+
list: Array<TodoItem>;
|
|
1192
|
+
}
|
|
1193
|
+
export interface messageActionSuggestedPostApproval {
|
|
1194
|
+
_: "messageActionSuggestedPostApproval";
|
|
1195
|
+
rejected?: true;
|
|
1196
|
+
balance_too_low?: true;
|
|
1197
|
+
reject_comment?: string;
|
|
1198
|
+
schedule_date?: number;
|
|
1199
|
+
price?: StarsAmount;
|
|
1200
|
+
}
|
|
1201
|
+
export interface messageActionSuggestedPostSuccess {
|
|
1202
|
+
_: "messageActionSuggestedPostSuccess";
|
|
1203
|
+
price: StarsAmount;
|
|
1204
|
+
}
|
|
1205
|
+
export interface messageActionSuggestedPostRefund {
|
|
1206
|
+
_: "messageActionSuggestedPostRefund";
|
|
1207
|
+
payer_initiated?: true;
|
|
1208
|
+
}
|
|
1209
|
+
export interface messageActionGiftTon {
|
|
1210
|
+
_: "messageActionGiftTon";
|
|
1211
|
+
currency: string;
|
|
1212
|
+
amount: bigint;
|
|
1213
|
+
crypto_currency: string;
|
|
1214
|
+
crypto_amount: bigint;
|
|
1215
|
+
transaction_id?: string;
|
|
1216
|
+
}
|
|
1159
1217
|
export interface dialog {
|
|
1160
1218
|
_: "dialog";
|
|
1161
1219
|
pinned?: true;
|
|
@@ -1194,7 +1252,7 @@ export interface photo {
|
|
|
1194
1252
|
has_stickers?: true;
|
|
1195
1253
|
id: bigint;
|
|
1196
1254
|
access_hash: bigint;
|
|
1197
|
-
file_reference: Uint8Array
|
|
1255
|
+
file_reference: Uint8Array<ArrayBuffer>;
|
|
1198
1256
|
date: number;
|
|
1199
1257
|
sizes: Array<PhotoSize>;
|
|
1200
1258
|
video_sizes?: Array<VideoSize>;
|
|
@@ -1216,12 +1274,12 @@ export interface photoCachedSize {
|
|
|
1216
1274
|
type: string;
|
|
1217
1275
|
w: number;
|
|
1218
1276
|
h: number;
|
|
1219
|
-
bytes: Uint8Array
|
|
1277
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
1220
1278
|
}
|
|
1221
1279
|
export interface photoStrippedSize {
|
|
1222
1280
|
_: "photoStrippedSize";
|
|
1223
1281
|
type: string;
|
|
1224
|
-
bytes: Uint8Array
|
|
1282
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
1225
1283
|
}
|
|
1226
1284
|
export interface photoSizeProgressive {
|
|
1227
1285
|
_: "photoSizeProgressive";
|
|
@@ -1233,7 +1291,7 @@ export interface photoSizeProgressive {
|
|
|
1233
1291
|
export interface photoPathSize {
|
|
1234
1292
|
_: "photoPathSize";
|
|
1235
1293
|
type: string;
|
|
1236
|
-
bytes: Uint8Array
|
|
1294
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
1237
1295
|
}
|
|
1238
1296
|
export interface geoPointEmpty {
|
|
1239
1297
|
_: "geoPointEmpty";
|
|
@@ -1260,13 +1318,15 @@ export interface auth_sentCodePaymentRequired {
|
|
|
1260
1318
|
_: "auth.sentCodePaymentRequired";
|
|
1261
1319
|
store_product: string;
|
|
1262
1320
|
phone_code_hash: string;
|
|
1321
|
+
support_email_address: string;
|
|
1322
|
+
support_email_subject: string;
|
|
1263
1323
|
}
|
|
1264
1324
|
export interface auth_authorization {
|
|
1265
1325
|
_: "auth.authorization";
|
|
1266
1326
|
setup_password_required?: true;
|
|
1267
1327
|
otherwise_relogin_days?: number;
|
|
1268
1328
|
tmp_sessions?: number;
|
|
1269
|
-
future_auth_token?: Uint8Array
|
|
1329
|
+
future_auth_token?: Uint8Array<ArrayBuffer>;
|
|
1270
1330
|
user: User;
|
|
1271
1331
|
}
|
|
1272
1332
|
export interface auth_authorizationSignUpRequired {
|
|
@@ -1276,7 +1336,7 @@ export interface auth_authorizationSignUpRequired {
|
|
|
1276
1336
|
export interface auth_exportedAuthorization {
|
|
1277
1337
|
_: "auth.exportedAuthorization";
|
|
1278
1338
|
id: bigint;
|
|
1279
|
-
bytes: Uint8Array
|
|
1339
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
1280
1340
|
}
|
|
1281
1341
|
export interface inputNotifyPeer {
|
|
1282
1342
|
_: "inputNotifyPeer";
|
|
@@ -1424,7 +1484,7 @@ export interface userFull {
|
|
|
1424
1484
|
common_chats_count: number;
|
|
1425
1485
|
folder_id?: number;
|
|
1426
1486
|
ttl_period?: number;
|
|
1427
|
-
|
|
1487
|
+
theme?: ChatTheme;
|
|
1428
1488
|
private_forward_name?: string;
|
|
1429
1489
|
bot_group_admin_rights?: ChatAdminRights;
|
|
1430
1490
|
bot_broadcast_admin_rights?: ChatAdminRights;
|
|
@@ -1443,6 +1503,11 @@ export interface userFull {
|
|
|
1443
1503
|
bot_verification?: BotVerification;
|
|
1444
1504
|
send_paid_messages_stars?: bigint;
|
|
1445
1505
|
disallowed_gifts?: DisallowedGiftsSettings;
|
|
1506
|
+
stars_rating?: StarsRating;
|
|
1507
|
+
stars_my_pending_rating?: StarsRating;
|
|
1508
|
+
stars_my_pending_rating_date?: number;
|
|
1509
|
+
main_tab?: ProfileTab;
|
|
1510
|
+
saved_music?: Document;
|
|
1446
1511
|
}
|
|
1447
1512
|
export interface contact {
|
|
1448
1513
|
_: "contact";
|
|
@@ -1519,6 +1584,7 @@ export interface messages_messagesSlice {
|
|
|
1519
1584
|
count: number;
|
|
1520
1585
|
next_rate?: number;
|
|
1521
1586
|
offset_id_offset?: number;
|
|
1587
|
+
search_flood?: SearchPostsFlood;
|
|
1522
1588
|
messages: Array<Message>;
|
|
1523
1589
|
chats: Array<Chat>;
|
|
1524
1590
|
users: Array<User>;
|
|
@@ -1846,7 +1912,7 @@ export interface updateBotCallbackQuery {
|
|
|
1846
1912
|
peer: Peer;
|
|
1847
1913
|
msg_id: number;
|
|
1848
1914
|
chat_instance: bigint;
|
|
1849
|
-
data?: Uint8Array
|
|
1915
|
+
data?: Uint8Array<ArrayBuffer>;
|
|
1850
1916
|
game_short_name?: string;
|
|
1851
1917
|
}
|
|
1852
1918
|
export interface updateEditMessage {
|
|
@@ -1861,7 +1927,7 @@ export interface updateInlineBotCallbackQuery {
|
|
|
1861
1927
|
user_id: bigint;
|
|
1862
1928
|
msg_id: InputBotInlineMessageID;
|
|
1863
1929
|
chat_instance: bigint;
|
|
1864
|
-
data?: Uint8Array
|
|
1930
|
+
data?: Uint8Array<ArrayBuffer>;
|
|
1865
1931
|
game_short_name?: string;
|
|
1866
1932
|
}
|
|
1867
1933
|
export interface updateReadChannelOutbox {
|
|
@@ -1873,6 +1939,7 @@ export interface updateDraftMessage {
|
|
|
1873
1939
|
_: "updateDraftMessage";
|
|
1874
1940
|
peer: Peer;
|
|
1875
1941
|
top_msg_id?: number;
|
|
1942
|
+
saved_peer_id?: Peer;
|
|
1876
1943
|
draft: DraftMessage;
|
|
1877
1944
|
}
|
|
1878
1945
|
export interface updateReadFeaturedStickers {
|
|
@@ -1919,14 +1986,14 @@ export interface updateBotShippingQuery {
|
|
|
1919
1986
|
_: "updateBotShippingQuery";
|
|
1920
1987
|
query_id: bigint;
|
|
1921
1988
|
user_id: bigint;
|
|
1922
|
-
payload: Uint8Array
|
|
1989
|
+
payload: Uint8Array<ArrayBuffer>;
|
|
1923
1990
|
shipping_address: PostAddress;
|
|
1924
1991
|
}
|
|
1925
1992
|
export interface updateBotPrecheckoutQuery {
|
|
1926
1993
|
_: "updateBotPrecheckoutQuery";
|
|
1927
1994
|
query_id: bigint;
|
|
1928
1995
|
user_id: bigint;
|
|
1929
|
-
payload: Uint8Array
|
|
1996
|
+
payload: Uint8Array<ArrayBuffer>;
|
|
1930
1997
|
info?: PaymentRequestedInfo;
|
|
1931
1998
|
shipping_option_id?: string;
|
|
1932
1999
|
currency: string;
|
|
@@ -1951,6 +2018,7 @@ export interface updateChannelReadMessagesContents {
|
|
|
1951
2018
|
_: "updateChannelReadMessagesContents";
|
|
1952
2019
|
channel_id: bigint;
|
|
1953
2020
|
top_msg_id?: number;
|
|
2021
|
+
saved_peer_id?: Peer;
|
|
1954
2022
|
messages: Array<number>;
|
|
1955
2023
|
}
|
|
1956
2024
|
export interface updateContactsReset {
|
|
@@ -1965,6 +2033,7 @@ export interface updateDialogUnreadMark {
|
|
|
1965
2033
|
_: "updateDialogUnreadMark";
|
|
1966
2034
|
unread?: true;
|
|
1967
2035
|
peer: DialogPeer;
|
|
2036
|
+
saved_peer_id?: Peer;
|
|
1968
2037
|
}
|
|
1969
2038
|
export interface updateMessagePoll {
|
|
1970
2039
|
_: "updateMessagePoll";
|
|
@@ -2019,7 +2088,7 @@ export interface updateMessagePollVote {
|
|
|
2019
2088
|
_: "updateMessagePollVote";
|
|
2020
2089
|
poll_id: bigint;
|
|
2021
2090
|
peer: Peer;
|
|
2022
|
-
options: Array<Uint8Array
|
|
2091
|
+
options: Array<Uint8Array<ArrayBuffer>>;
|
|
2023
2092
|
qts: number;
|
|
2024
2093
|
}
|
|
2025
2094
|
export interface updateDialogFilter {
|
|
@@ -2037,7 +2106,7 @@ export interface updateDialogFilters {
|
|
|
2037
2106
|
export interface updatePhoneCallSignalingData {
|
|
2038
2107
|
_: "updatePhoneCallSignalingData";
|
|
2039
2108
|
phone_call_id: bigint;
|
|
2040
|
-
data: Uint8Array
|
|
2109
|
+
data: Uint8Array<ArrayBuffer>;
|
|
2041
2110
|
}
|
|
2042
2111
|
export interface updateChannelMessageForwards {
|
|
2043
2112
|
_: "updateChannelMessageForwards";
|
|
@@ -2169,6 +2238,7 @@ export interface updateMessageReactions {
|
|
|
2169
2238
|
peer: Peer;
|
|
2170
2239
|
msg_id: number;
|
|
2171
2240
|
top_msg_id?: number;
|
|
2241
|
+
saved_peer_id?: Peer;
|
|
2172
2242
|
reactions: MessageReactions;
|
|
2173
2243
|
}
|
|
2174
2244
|
export interface updateAttachMenuBots {
|
|
@@ -2367,11 +2437,6 @@ export interface updateNewStoryReaction {
|
|
|
2367
2437
|
peer: Peer;
|
|
2368
2438
|
reaction: Reaction;
|
|
2369
2439
|
}
|
|
2370
|
-
export interface updateBroadcastRevenueTransactions {
|
|
2371
|
-
_: "updateBroadcastRevenueTransactions";
|
|
2372
|
-
peer: Peer;
|
|
2373
|
-
balances: BroadcastRevenueBalances;
|
|
2374
|
-
}
|
|
2375
2440
|
export interface updateStarsBalance {
|
|
2376
2441
|
_: "updateStarsBalance";
|
|
2377
2442
|
balance: StarsAmount;
|
|
@@ -2384,7 +2449,7 @@ export interface updateBusinessBotCallbackQuery {
|
|
|
2384
2449
|
message: Message;
|
|
2385
2450
|
reply_to_message?: Message;
|
|
2386
2451
|
chat_instance: bigint;
|
|
2387
|
-
data?: Uint8Array
|
|
2452
|
+
data?: Uint8Array<ArrayBuffer>;
|
|
2388
2453
|
}
|
|
2389
2454
|
export interface updateStarsRevenueStatus {
|
|
2390
2455
|
_: "updateStarsRevenueStatus";
|
|
@@ -2409,9 +2474,27 @@ export interface updateGroupCallChainBlocks {
|
|
|
2409
2474
|
_: "updateGroupCallChainBlocks";
|
|
2410
2475
|
call: InputGroupCall;
|
|
2411
2476
|
sub_chain_id: number;
|
|
2412
|
-
blocks: Array<Uint8Array
|
|
2477
|
+
blocks: Array<Uint8Array<ArrayBuffer>>;
|
|
2413
2478
|
next_offset: number;
|
|
2414
2479
|
}
|
|
2480
|
+
export interface updateReadMonoForumInbox {
|
|
2481
|
+
_: "updateReadMonoForumInbox";
|
|
2482
|
+
channel_id: bigint;
|
|
2483
|
+
saved_peer_id: Peer;
|
|
2484
|
+
read_max_id: number;
|
|
2485
|
+
}
|
|
2486
|
+
export interface updateReadMonoForumOutbox {
|
|
2487
|
+
_: "updateReadMonoForumOutbox";
|
|
2488
|
+
channel_id: bigint;
|
|
2489
|
+
saved_peer_id: Peer;
|
|
2490
|
+
read_max_id: number;
|
|
2491
|
+
}
|
|
2492
|
+
export interface updateMonoForumNoPaidException {
|
|
2493
|
+
_: "updateMonoForumNoPaidException";
|
|
2494
|
+
exception?: true;
|
|
2495
|
+
channel_id: bigint;
|
|
2496
|
+
saved_peer_id: Peer;
|
|
2497
|
+
}
|
|
2415
2498
|
export interface updates_state {
|
|
2416
2499
|
_: "updates.state";
|
|
2417
2500
|
pts: number;
|
|
@@ -2540,14 +2623,14 @@ export interface upload_file {
|
|
|
2540
2623
|
_: "upload.file";
|
|
2541
2624
|
type: storage_FileType;
|
|
2542
2625
|
mtime: number;
|
|
2543
|
-
bytes: Uint8Array
|
|
2626
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
2544
2627
|
}
|
|
2545
2628
|
export interface upload_fileCdnRedirect {
|
|
2546
2629
|
_: "upload.fileCdnRedirect";
|
|
2547
2630
|
dc_id: number;
|
|
2548
|
-
file_token: Uint8Array
|
|
2549
|
-
encryption_key: Uint8Array
|
|
2550
|
-
encryption_iv: Uint8Array
|
|
2631
|
+
file_token: Uint8Array<ArrayBuffer>;
|
|
2632
|
+
encryption_key: Uint8Array<ArrayBuffer>;
|
|
2633
|
+
encryption_iv: Uint8Array<ArrayBuffer>;
|
|
2551
2634
|
file_hashes: Array<FileHash>;
|
|
2552
2635
|
}
|
|
2553
2636
|
export interface dcOption {
|
|
@@ -2561,7 +2644,7 @@ export interface dcOption {
|
|
|
2561
2644
|
id: number;
|
|
2562
2645
|
ip_address: string;
|
|
2563
2646
|
port: number;
|
|
2564
|
-
secret?: Uint8Array
|
|
2647
|
+
secret?: Uint8Array<ArrayBuffer>;
|
|
2565
2648
|
}
|
|
2566
2649
|
export interface config {
|
|
2567
2650
|
_: "config";
|
|
@@ -2657,7 +2740,7 @@ export interface encryptedChatRequested {
|
|
|
2657
2740
|
date: number;
|
|
2658
2741
|
admin_id: bigint;
|
|
2659
2742
|
participant_id: bigint;
|
|
2660
|
-
g_a: Uint8Array
|
|
2743
|
+
g_a: Uint8Array<ArrayBuffer>;
|
|
2661
2744
|
}
|
|
2662
2745
|
export interface encryptedChat {
|
|
2663
2746
|
_: "encryptedChat";
|
|
@@ -2666,7 +2749,7 @@ export interface encryptedChat {
|
|
|
2666
2749
|
date: number;
|
|
2667
2750
|
admin_id: bigint;
|
|
2668
2751
|
participant_id: bigint;
|
|
2669
|
-
g_a_or_b: Uint8Array
|
|
2752
|
+
g_a_or_b: Uint8Array<ArrayBuffer>;
|
|
2670
2753
|
key_fingerprint: bigint;
|
|
2671
2754
|
}
|
|
2672
2755
|
export interface encryptedChatDiscarded {
|
|
@@ -2716,7 +2799,7 @@ export interface encryptedMessage {
|
|
|
2716
2799
|
random_id: bigint;
|
|
2717
2800
|
chat_id: number;
|
|
2718
2801
|
date: number;
|
|
2719
|
-
bytes: Uint8Array
|
|
2802
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
2720
2803
|
file: EncryptedFile;
|
|
2721
2804
|
}
|
|
2722
2805
|
export interface encryptedMessageService {
|
|
@@ -2724,18 +2807,18 @@ export interface encryptedMessageService {
|
|
|
2724
2807
|
random_id: bigint;
|
|
2725
2808
|
chat_id: number;
|
|
2726
2809
|
date: number;
|
|
2727
|
-
bytes: Uint8Array
|
|
2810
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
2728
2811
|
}
|
|
2729
2812
|
export interface messages_dhConfigNotModified {
|
|
2730
2813
|
_: "messages.dhConfigNotModified";
|
|
2731
|
-
random: Uint8Array
|
|
2814
|
+
random: Uint8Array<ArrayBuffer>;
|
|
2732
2815
|
}
|
|
2733
2816
|
export interface messages_dhConfig {
|
|
2734
2817
|
_: "messages.dhConfig";
|
|
2735
2818
|
g: number;
|
|
2736
|
-
p: Uint8Array
|
|
2819
|
+
p: Uint8Array<ArrayBuffer>;
|
|
2737
2820
|
version: number;
|
|
2738
|
-
random: Uint8Array
|
|
2821
|
+
random: Uint8Array<ArrayBuffer>;
|
|
2739
2822
|
}
|
|
2740
2823
|
export interface messages_sentEncryptedMessage {
|
|
2741
2824
|
_: "messages.sentEncryptedMessage";
|
|
@@ -2753,7 +2836,7 @@ export interface inputDocument {
|
|
|
2753
2836
|
_: "inputDocument";
|
|
2754
2837
|
id: bigint;
|
|
2755
2838
|
access_hash: bigint;
|
|
2756
|
-
file_reference: Uint8Array
|
|
2839
|
+
file_reference: Uint8Array<ArrayBuffer>;
|
|
2757
2840
|
}
|
|
2758
2841
|
export interface documentEmpty {
|
|
2759
2842
|
_: "documentEmpty";
|
|
@@ -2763,7 +2846,7 @@ export interface document {
|
|
|
2763
2846
|
_: "document";
|
|
2764
2847
|
id: bigint;
|
|
2765
2848
|
access_hash: bigint;
|
|
2766
|
-
file_reference: Uint8Array
|
|
2849
|
+
file_reference: Uint8Array<ArrayBuffer>;
|
|
2767
2850
|
date: number;
|
|
2768
2851
|
mime_type: string;
|
|
2769
2852
|
size: bigint;
|
|
@@ -3067,7 +3150,7 @@ export interface documentAttributeAudio {
|
|
|
3067
3150
|
duration: number;
|
|
3068
3151
|
title?: string;
|
|
3069
3152
|
performer?: string;
|
|
3070
|
-
waveform?: Uint8Array
|
|
3153
|
+
waveform?: Uint8Array<ArrayBuffer>;
|
|
3071
3154
|
}
|
|
3072
3155
|
export interface documentAttributeFilename {
|
|
3073
3156
|
_: "documentAttributeFilename";
|
|
@@ -3179,13 +3262,13 @@ export interface account_password {
|
|
|
3179
3262
|
has_secure_values?: true;
|
|
3180
3263
|
has_password?: true;
|
|
3181
3264
|
current_algo?: PasswordKdfAlgo;
|
|
3182
|
-
srp_B?: Uint8Array
|
|
3265
|
+
srp_B?: Uint8Array<ArrayBuffer>;
|
|
3183
3266
|
srp_id?: bigint;
|
|
3184
3267
|
hint?: string;
|
|
3185
3268
|
email_unconfirmed_pattern?: string;
|
|
3186
3269
|
new_algo: PasswordKdfAlgo;
|
|
3187
3270
|
new_secure_algo: SecurePasswordKdfAlgo;
|
|
3188
|
-
secure_random: Uint8Array
|
|
3271
|
+
secure_random: Uint8Array<ArrayBuffer>;
|
|
3189
3272
|
pending_reset_date?: number;
|
|
3190
3273
|
login_email_pattern?: string;
|
|
3191
3274
|
}
|
|
@@ -3197,7 +3280,7 @@ export interface account_passwordSettings {
|
|
|
3197
3280
|
export interface account_passwordInputSettings {
|
|
3198
3281
|
_: "account.passwordInputSettings";
|
|
3199
3282
|
new_algo?: PasswordKdfAlgo;
|
|
3200
|
-
new_password_hash?: Uint8Array
|
|
3283
|
+
new_password_hash?: Uint8Array<ArrayBuffer>;
|
|
3201
3284
|
hint?: string;
|
|
3202
3285
|
email?: string;
|
|
3203
3286
|
new_secure_settings?: SecureSecretSettings;
|
|
@@ -3298,6 +3381,9 @@ export interface inputStickerSetEmojiDefaultTopicIcons {
|
|
|
3298
3381
|
export interface inputStickerSetEmojiChannelDefaultStatuses {
|
|
3299
3382
|
_: "inputStickerSetEmojiChannelDefaultStatuses";
|
|
3300
3383
|
}
|
|
3384
|
+
export interface inputStickerSetTonGifts {
|
|
3385
|
+
_: "inputStickerSetTonGifts";
|
|
3386
|
+
}
|
|
3301
3387
|
export interface stickerSet {
|
|
3302
3388
|
_: "stickerSet";
|
|
3303
3389
|
archived?: true;
|
|
@@ -3360,7 +3446,7 @@ export interface keyboardButtonCallback {
|
|
|
3360
3446
|
_: "keyboardButtonCallback";
|
|
3361
3447
|
requires_password?: true;
|
|
3362
3448
|
text: string;
|
|
3363
|
-
data: Uint8Array
|
|
3449
|
+
data: Uint8Array<ArrayBuffer>;
|
|
3364
3450
|
}
|
|
3365
3451
|
export interface keyboardButtonRequestPhone {
|
|
3366
3452
|
_: "keyboardButtonRequestPhone";
|
|
@@ -3799,7 +3885,7 @@ export interface inputBotInlineMessageMediaInvoice {
|
|
|
3799
3885
|
description: string;
|
|
3800
3886
|
photo?: InputWebDocument;
|
|
3801
3887
|
invoice: Invoice;
|
|
3802
|
-
payload: Uint8Array
|
|
3888
|
+
payload: Uint8Array<ArrayBuffer>;
|
|
3803
3889
|
provider: string;
|
|
3804
3890
|
provider_data: DataJSON;
|
|
3805
3891
|
reply_markup?: ReplyMarkup;
|
|
@@ -4022,9 +4108,9 @@ export interface auth_sentCodeTypeFragmentSms {
|
|
|
4022
4108
|
}
|
|
4023
4109
|
export interface auth_sentCodeTypeFirebaseSms {
|
|
4024
4110
|
_: "auth.sentCodeTypeFirebaseSms";
|
|
4025
|
-
nonce?: Uint8Array
|
|
4111
|
+
nonce?: Uint8Array<ArrayBuffer>;
|
|
4026
4112
|
play_integrity_project_id?: bigint;
|
|
4027
|
-
play_integrity_nonce?: Uint8Array
|
|
4113
|
+
play_integrity_nonce?: Uint8Array<ArrayBuffer>;
|
|
4028
4114
|
receipt?: string;
|
|
4029
4115
|
push_timeout?: number;
|
|
4030
4116
|
length: number;
|
|
@@ -4140,6 +4226,7 @@ export interface draftMessage {
|
|
|
4140
4226
|
media?: InputMedia;
|
|
4141
4227
|
date: number;
|
|
4142
4228
|
effect?: bigint;
|
|
4229
|
+
suggested_post?: SuggestedPost;
|
|
4143
4230
|
}
|
|
4144
4231
|
export interface messages_featuredStickersNotModified {
|
|
4145
4232
|
_: "messages.featuredStickersNotModified";
|
|
@@ -4580,7 +4667,7 @@ export interface upload_webFile {
|
|
|
4580
4667
|
mime_type: string;
|
|
4581
4668
|
file_type: storage_FileType;
|
|
4582
4669
|
mtime: number;
|
|
4583
|
-
bytes: Uint8Array
|
|
4670
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
4584
4671
|
}
|
|
4585
4672
|
export interface payments_paymentForm {
|
|
4586
4673
|
_: "payments.paymentForm";
|
|
@@ -4667,7 +4754,7 @@ export interface payments_savedInfo {
|
|
|
4667
4754
|
export interface inputPaymentCredentialsSaved {
|
|
4668
4755
|
_: "inputPaymentCredentialsSaved";
|
|
4669
4756
|
id: string;
|
|
4670
|
-
tmp_password: Uint8Array
|
|
4757
|
+
tmp_password: Uint8Array<ArrayBuffer>;
|
|
4671
4758
|
}
|
|
4672
4759
|
export interface inputPaymentCredentials {
|
|
4673
4760
|
_: "inputPaymentCredentials";
|
|
@@ -4684,7 +4771,7 @@ export interface inputPaymentCredentialsGooglePay {
|
|
|
4684
4771
|
}
|
|
4685
4772
|
export interface account_tmpPassword {
|
|
4686
4773
|
_: "account.tmpPassword";
|
|
4687
|
-
tmp_password: Uint8Array
|
|
4774
|
+
tmp_password: Uint8Array<ArrayBuffer>;
|
|
4688
4775
|
valid_until: number;
|
|
4689
4776
|
}
|
|
4690
4777
|
export interface shippingOption {
|
|
@@ -4728,7 +4815,7 @@ export interface phoneCallRequested {
|
|
|
4728
4815
|
date: number;
|
|
4729
4816
|
admin_id: bigint;
|
|
4730
4817
|
participant_id: bigint;
|
|
4731
|
-
g_a_hash: Uint8Array
|
|
4818
|
+
g_a_hash: Uint8Array<ArrayBuffer>;
|
|
4732
4819
|
protocol: PhoneCallProtocol;
|
|
4733
4820
|
}
|
|
4734
4821
|
export interface phoneCallAccepted {
|
|
@@ -4739,7 +4826,7 @@ export interface phoneCallAccepted {
|
|
|
4739
4826
|
date: number;
|
|
4740
4827
|
admin_id: bigint;
|
|
4741
4828
|
participant_id: bigint;
|
|
4742
|
-
g_b: Uint8Array
|
|
4829
|
+
g_b: Uint8Array<ArrayBuffer>;
|
|
4743
4830
|
protocol: PhoneCallProtocol;
|
|
4744
4831
|
}
|
|
4745
4832
|
export interface phoneCall {
|
|
@@ -4752,7 +4839,7 @@ export interface phoneCall {
|
|
|
4752
4839
|
date: number;
|
|
4753
4840
|
admin_id: bigint;
|
|
4754
4841
|
participant_id: bigint;
|
|
4755
|
-
g_a_or_b: Uint8Array
|
|
4842
|
+
g_a_or_b: Uint8Array<ArrayBuffer>;
|
|
4756
4843
|
key_fingerprint: bigint;
|
|
4757
4844
|
protocol: PhoneCallProtocol;
|
|
4758
4845
|
connections: Array<PhoneConnection>;
|
|
@@ -4775,7 +4862,7 @@ export interface phoneConnection {
|
|
|
4775
4862
|
ip: string;
|
|
4776
4863
|
ipv6: string;
|
|
4777
4864
|
port: number;
|
|
4778
|
-
peer_tag: Uint8Array
|
|
4865
|
+
peer_tag: Uint8Array<ArrayBuffer>;
|
|
4779
4866
|
}
|
|
4780
4867
|
export interface phoneConnectionWebrtc {
|
|
4781
4868
|
_: "phoneConnectionWebrtc";
|
|
@@ -4803,11 +4890,11 @@ export interface phone_phoneCall {
|
|
|
4803
4890
|
}
|
|
4804
4891
|
export interface upload_cdnFileReuploadNeeded {
|
|
4805
4892
|
_: "upload.cdnFileReuploadNeeded";
|
|
4806
|
-
request_token: Uint8Array
|
|
4893
|
+
request_token: Uint8Array<ArrayBuffer>;
|
|
4807
4894
|
}
|
|
4808
4895
|
export interface upload_cdnFile {
|
|
4809
4896
|
_: "upload.cdnFile";
|
|
4810
|
-
bytes: Uint8Array
|
|
4897
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
4811
4898
|
}
|
|
4812
4899
|
export interface cdnPublicKey {
|
|
4813
4900
|
_: "cdnPublicKey";
|
|
@@ -5233,7 +5320,7 @@ export interface fileHash {
|
|
|
5233
5320
|
_: "fileHash";
|
|
5234
5321
|
offset: bigint;
|
|
5235
5322
|
limit: number;
|
|
5236
|
-
hash: Uint8Array
|
|
5323
|
+
hash: Uint8Array<ArrayBuffer>;
|
|
5237
5324
|
}
|
|
5238
5325
|
export interface inputClientProxy {
|
|
5239
5326
|
_: "inputClientProxy";
|
|
@@ -5254,8 +5341,8 @@ export interface inputSecureFileUploaded {
|
|
|
5254
5341
|
id: bigint;
|
|
5255
5342
|
parts: number;
|
|
5256
5343
|
md5_checksum: string;
|
|
5257
|
-
file_hash: Uint8Array
|
|
5258
|
-
secret: Uint8Array
|
|
5344
|
+
file_hash: Uint8Array<ArrayBuffer>;
|
|
5345
|
+
secret: Uint8Array<ArrayBuffer>;
|
|
5259
5346
|
}
|
|
5260
5347
|
export interface inputSecureFile {
|
|
5261
5348
|
_: "inputSecureFile";
|
|
@@ -5272,14 +5359,14 @@ export interface secureFile {
|
|
|
5272
5359
|
size: bigint;
|
|
5273
5360
|
dc_id: number;
|
|
5274
5361
|
date: number;
|
|
5275
|
-
file_hash: Uint8Array
|
|
5276
|
-
secret: Uint8Array
|
|
5362
|
+
file_hash: Uint8Array<ArrayBuffer>;
|
|
5363
|
+
secret: Uint8Array<ArrayBuffer>;
|
|
5277
5364
|
}
|
|
5278
5365
|
export interface secureData {
|
|
5279
5366
|
_: "secureData";
|
|
5280
|
-
data: Uint8Array
|
|
5281
|
-
data_hash: Uint8Array
|
|
5282
|
-
secret: Uint8Array
|
|
5367
|
+
data: Uint8Array<ArrayBuffer>;
|
|
5368
|
+
data_hash: Uint8Array<ArrayBuffer>;
|
|
5369
|
+
secret: Uint8Array<ArrayBuffer>;
|
|
5283
5370
|
}
|
|
5284
5371
|
export interface securePlainPhone {
|
|
5285
5372
|
_: "securePlainPhone";
|
|
@@ -5338,7 +5425,7 @@ export interface secureValue {
|
|
|
5338
5425
|
translation?: Array<SecureFile>;
|
|
5339
5426
|
files?: Array<SecureFile>;
|
|
5340
5427
|
plain_data?: SecurePlainData;
|
|
5341
|
-
hash: Uint8Array
|
|
5428
|
+
hash: Uint8Array<ArrayBuffer>;
|
|
5342
5429
|
}
|
|
5343
5430
|
export interface inputSecureValue {
|
|
5344
5431
|
_: "inputSecureValue";
|
|
@@ -5354,68 +5441,68 @@ export interface inputSecureValue {
|
|
|
5354
5441
|
export interface secureValueHash {
|
|
5355
5442
|
_: "secureValueHash";
|
|
5356
5443
|
type: SecureValueType;
|
|
5357
|
-
hash: Uint8Array
|
|
5444
|
+
hash: Uint8Array<ArrayBuffer>;
|
|
5358
5445
|
}
|
|
5359
5446
|
export interface secureValueErrorData {
|
|
5360
5447
|
_: "secureValueErrorData";
|
|
5361
5448
|
type: SecureValueType;
|
|
5362
|
-
data_hash: Uint8Array
|
|
5449
|
+
data_hash: Uint8Array<ArrayBuffer>;
|
|
5363
5450
|
field: string;
|
|
5364
5451
|
text: string;
|
|
5365
5452
|
}
|
|
5366
5453
|
export interface secureValueErrorFrontSide {
|
|
5367
5454
|
_: "secureValueErrorFrontSide";
|
|
5368
5455
|
type: SecureValueType;
|
|
5369
|
-
file_hash: Uint8Array
|
|
5456
|
+
file_hash: Uint8Array<ArrayBuffer>;
|
|
5370
5457
|
text: string;
|
|
5371
5458
|
}
|
|
5372
5459
|
export interface secureValueErrorReverseSide {
|
|
5373
5460
|
_: "secureValueErrorReverseSide";
|
|
5374
5461
|
type: SecureValueType;
|
|
5375
|
-
file_hash: Uint8Array
|
|
5462
|
+
file_hash: Uint8Array<ArrayBuffer>;
|
|
5376
5463
|
text: string;
|
|
5377
5464
|
}
|
|
5378
5465
|
export interface secureValueErrorSelfie {
|
|
5379
5466
|
_: "secureValueErrorSelfie";
|
|
5380
5467
|
type: SecureValueType;
|
|
5381
|
-
file_hash: Uint8Array
|
|
5468
|
+
file_hash: Uint8Array<ArrayBuffer>;
|
|
5382
5469
|
text: string;
|
|
5383
5470
|
}
|
|
5384
5471
|
export interface secureValueErrorFile {
|
|
5385
5472
|
_: "secureValueErrorFile";
|
|
5386
5473
|
type: SecureValueType;
|
|
5387
|
-
file_hash: Uint8Array
|
|
5474
|
+
file_hash: Uint8Array<ArrayBuffer>;
|
|
5388
5475
|
text: string;
|
|
5389
5476
|
}
|
|
5390
5477
|
export interface secureValueErrorFiles {
|
|
5391
5478
|
_: "secureValueErrorFiles";
|
|
5392
5479
|
type: SecureValueType;
|
|
5393
|
-
file_hash: Array<Uint8Array
|
|
5480
|
+
file_hash: Array<Uint8Array<ArrayBuffer>>;
|
|
5394
5481
|
text: string;
|
|
5395
5482
|
}
|
|
5396
5483
|
export interface secureValueError {
|
|
5397
5484
|
_: "secureValueError";
|
|
5398
5485
|
type: SecureValueType;
|
|
5399
|
-
hash: Uint8Array
|
|
5486
|
+
hash: Uint8Array<ArrayBuffer>;
|
|
5400
5487
|
text: string;
|
|
5401
5488
|
}
|
|
5402
5489
|
export interface secureValueErrorTranslationFile {
|
|
5403
5490
|
_: "secureValueErrorTranslationFile";
|
|
5404
5491
|
type: SecureValueType;
|
|
5405
|
-
file_hash: Uint8Array
|
|
5492
|
+
file_hash: Uint8Array<ArrayBuffer>;
|
|
5406
5493
|
text: string;
|
|
5407
5494
|
}
|
|
5408
5495
|
export interface secureValueErrorTranslationFiles {
|
|
5409
5496
|
_: "secureValueErrorTranslationFiles";
|
|
5410
5497
|
type: SecureValueType;
|
|
5411
|
-
file_hash: Array<Uint8Array
|
|
5498
|
+
file_hash: Array<Uint8Array<ArrayBuffer>>;
|
|
5412
5499
|
text: string;
|
|
5413
5500
|
}
|
|
5414
5501
|
export interface secureCredentialsEncrypted {
|
|
5415
5502
|
_: "secureCredentialsEncrypted";
|
|
5416
|
-
data: Uint8Array
|
|
5417
|
-
hash: Uint8Array
|
|
5418
|
-
secret: Uint8Array
|
|
5503
|
+
data: Uint8Array<ArrayBuffer>;
|
|
5504
|
+
hash: Uint8Array<ArrayBuffer>;
|
|
5505
|
+
secret: Uint8Array<ArrayBuffer>;
|
|
5419
5506
|
}
|
|
5420
5507
|
export interface account_authorizationForm {
|
|
5421
5508
|
_: "account.authorizationForm";
|
|
@@ -5455,26 +5542,26 @@ export interface passwordKdfAlgoUnknown {
|
|
|
5455
5542
|
}
|
|
5456
5543
|
export interface passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow {
|
|
5457
5544
|
_: "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow";
|
|
5458
|
-
salt1: Uint8Array
|
|
5459
|
-
salt2: Uint8Array
|
|
5545
|
+
salt1: Uint8Array<ArrayBuffer>;
|
|
5546
|
+
salt2: Uint8Array<ArrayBuffer>;
|
|
5460
5547
|
g: number;
|
|
5461
|
-
p: Uint8Array
|
|
5548
|
+
p: Uint8Array<ArrayBuffer>;
|
|
5462
5549
|
}
|
|
5463
5550
|
export interface securePasswordKdfAlgoUnknown {
|
|
5464
5551
|
_: "securePasswordKdfAlgoUnknown";
|
|
5465
5552
|
}
|
|
5466
5553
|
export interface securePasswordKdfAlgoPBKDF2HMACSHA512iter100000 {
|
|
5467
5554
|
_: "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000";
|
|
5468
|
-
salt: Uint8Array
|
|
5555
|
+
salt: Uint8Array<ArrayBuffer>;
|
|
5469
5556
|
}
|
|
5470
5557
|
export interface securePasswordKdfAlgoSHA512 {
|
|
5471
5558
|
_: "securePasswordKdfAlgoSHA512";
|
|
5472
|
-
salt: Uint8Array
|
|
5559
|
+
salt: Uint8Array<ArrayBuffer>;
|
|
5473
5560
|
}
|
|
5474
5561
|
export interface secureSecretSettings {
|
|
5475
5562
|
_: "secureSecretSettings";
|
|
5476
5563
|
secure_algo: SecurePasswordKdfAlgo;
|
|
5477
|
-
secure_secret: Uint8Array
|
|
5564
|
+
secure_secret: Uint8Array<ArrayBuffer>;
|
|
5478
5565
|
secure_secret_id: bigint;
|
|
5479
5566
|
}
|
|
5480
5567
|
export interface inputCheckPasswordEmpty {
|
|
@@ -5483,8 +5570,8 @@ export interface inputCheckPasswordEmpty {
|
|
|
5483
5570
|
export interface inputCheckPasswordSRP {
|
|
5484
5571
|
_: "inputCheckPasswordSRP";
|
|
5485
5572
|
srp_id: bigint;
|
|
5486
|
-
A: Uint8Array
|
|
5487
|
-
M1: Uint8Array
|
|
5573
|
+
A: Uint8Array<ArrayBuffer>;
|
|
5574
|
+
M1: Uint8Array<ArrayBuffer>;
|
|
5488
5575
|
}
|
|
5489
5576
|
export interface secureRequiredType {
|
|
5490
5577
|
_: "secureRequiredType";
|
|
@@ -5616,7 +5703,7 @@ export interface help_userInfo {
|
|
|
5616
5703
|
export interface pollAnswer {
|
|
5617
5704
|
_: "pollAnswer";
|
|
5618
5705
|
text: TextWithEntities;
|
|
5619
|
-
option: Uint8Array
|
|
5706
|
+
option: Uint8Array<ArrayBuffer>;
|
|
5620
5707
|
}
|
|
5621
5708
|
export interface poll {
|
|
5622
5709
|
_: "poll";
|
|
@@ -5634,7 +5721,7 @@ export interface pollAnswerVoters {
|
|
|
5634
5721
|
_: "pollAnswerVoters";
|
|
5635
5722
|
chosen?: true;
|
|
5636
5723
|
correct?: true;
|
|
5637
|
-
option: Uint8Array
|
|
5724
|
+
option: Uint8Array<ArrayBuffer>;
|
|
5638
5725
|
voters: number;
|
|
5639
5726
|
}
|
|
5640
5727
|
export interface pollResults {
|
|
@@ -5671,6 +5758,7 @@ export interface chatAdminRights {
|
|
|
5671
5758
|
post_stories?: true;
|
|
5672
5759
|
edit_stories?: true;
|
|
5673
5760
|
delete_stories?: true;
|
|
5761
|
+
manage_direct_messages?: true;
|
|
5674
5762
|
}
|
|
5675
5763
|
export interface chatBannedRights {
|
|
5676
5764
|
_: "chatBannedRights";
|
|
@@ -5725,7 +5813,7 @@ export interface codeSettings {
|
|
|
5725
5813
|
allow_missed_call?: true;
|
|
5726
5814
|
allow_firebase?: true;
|
|
5727
5815
|
unknown_number?: true;
|
|
5728
|
-
logout_tokens?: Array<Uint8Array
|
|
5816
|
+
logout_tokens?: Array<Uint8Array<ArrayBuffer>>;
|
|
5729
5817
|
token?: string;
|
|
5730
5818
|
app_sandbox?: boolean;
|
|
5731
5819
|
}
|
|
@@ -5882,12 +5970,12 @@ export interface account_themes {
|
|
|
5882
5970
|
export interface auth_loginToken {
|
|
5883
5971
|
_: "auth.loginToken";
|
|
5884
5972
|
expires: number;
|
|
5885
|
-
token: Uint8Array
|
|
5973
|
+
token: Uint8Array<ArrayBuffer>;
|
|
5886
5974
|
}
|
|
5887
5975
|
export interface auth_loginTokenMigrateTo {
|
|
5888
5976
|
_: "auth.loginTokenMigrateTo";
|
|
5889
5977
|
dc_id: number;
|
|
5890
|
-
token: Uint8Array
|
|
5978
|
+
token: Uint8Array<ArrayBuffer>;
|
|
5891
5979
|
}
|
|
5892
5980
|
export interface auth_loginTokenSuccess {
|
|
5893
5981
|
_: "auth.loginTokenSuccess";
|
|
@@ -5959,6 +6047,10 @@ export interface webPageAttributeUniqueStarGift {
|
|
|
5959
6047
|
_: "webPageAttributeUniqueStarGift";
|
|
5960
6048
|
gift: StarGift;
|
|
5961
6049
|
}
|
|
6050
|
+
export interface webPageAttributeStarGiftCollection {
|
|
6051
|
+
_: "webPageAttributeStarGiftCollection";
|
|
6052
|
+
icons: Array<Document>;
|
|
6053
|
+
}
|
|
5962
6054
|
export interface messages_votesList {
|
|
5963
6055
|
_: "messages.votesList";
|
|
5964
6056
|
count: number;
|
|
@@ -6210,6 +6302,7 @@ export interface messageReplyHeader {
|
|
|
6210
6302
|
quote_text?: string;
|
|
6211
6303
|
quote_entities?: Array<MessageEntity>;
|
|
6212
6304
|
quote_offset?: number;
|
|
6305
|
+
todo_item_id?: number;
|
|
6213
6306
|
}
|
|
6214
6307
|
export interface messageReplyStoryHeader {
|
|
6215
6308
|
_: "messageReplyStoryHeader";
|
|
@@ -6462,11 +6555,31 @@ export interface account_resetPasswordRequestedWait {
|
|
|
6462
6555
|
export interface account_resetPasswordOk {
|
|
6463
6556
|
_: "account.resetPasswordOk";
|
|
6464
6557
|
}
|
|
6558
|
+
export interface chatTheme {
|
|
6559
|
+
_: "chatTheme";
|
|
6560
|
+
emoticon: string;
|
|
6561
|
+
}
|
|
6562
|
+
export interface chatThemeUniqueGift {
|
|
6563
|
+
_: "chatThemeUniqueGift";
|
|
6564
|
+
gift: StarGift;
|
|
6565
|
+
theme_settings: Array<ThemeSettings>;
|
|
6566
|
+
}
|
|
6567
|
+
export interface account_chatThemesNotModified {
|
|
6568
|
+
_: "account.chatThemesNotModified";
|
|
6569
|
+
}
|
|
6570
|
+
export interface account_chatThemes {
|
|
6571
|
+
_: "account.chatThemes";
|
|
6572
|
+
hash: bigint;
|
|
6573
|
+
themes: Array<ChatTheme>;
|
|
6574
|
+
chats: Array<Chat>;
|
|
6575
|
+
users: Array<User>;
|
|
6576
|
+
next_offset?: number;
|
|
6577
|
+
}
|
|
6465
6578
|
export interface sponsoredMessage {
|
|
6466
6579
|
_: "sponsoredMessage";
|
|
6467
6580
|
recommended?: true;
|
|
6468
6581
|
can_report?: true;
|
|
6469
|
-
random_id: Uint8Array
|
|
6582
|
+
random_id: Uint8Array<ArrayBuffer>;
|
|
6470
6583
|
url: string;
|
|
6471
6584
|
title: string;
|
|
6472
6585
|
message: string;
|
|
@@ -6477,10 +6590,14 @@ export interface sponsoredMessage {
|
|
|
6477
6590
|
button_text: string;
|
|
6478
6591
|
sponsor_info?: string;
|
|
6479
6592
|
additional_info?: string;
|
|
6593
|
+
min_display_duration?: number;
|
|
6594
|
+
max_display_duration?: number;
|
|
6480
6595
|
}
|
|
6481
6596
|
export interface messages_sponsoredMessages {
|
|
6482
6597
|
_: "messages.sponsoredMessages";
|
|
6483
6598
|
posts_between?: number;
|
|
6599
|
+
start_delay?: number;
|
|
6600
|
+
between_delay?: number;
|
|
6484
6601
|
messages: Array<SponsoredMessage>;
|
|
6485
6602
|
chats: Array<Chat>;
|
|
6486
6603
|
users: Array<User>;
|
|
@@ -6538,7 +6655,7 @@ export interface messages_peerSettings {
|
|
|
6538
6655
|
}
|
|
6539
6656
|
export interface auth_loggedOut {
|
|
6540
6657
|
_: "auth.loggedOut";
|
|
6541
|
-
future_auth_token?: Uint8Array
|
|
6658
|
+
future_auth_token?: Uint8Array<ArrayBuffer>;
|
|
6542
6659
|
}
|
|
6543
6660
|
export interface reactionCount {
|
|
6544
6661
|
_: "reactionCount";
|
|
@@ -6767,9 +6884,15 @@ export interface inputInvoiceBusinessBotTransferStars {
|
|
|
6767
6884
|
}
|
|
6768
6885
|
export interface inputInvoiceStarGiftResale {
|
|
6769
6886
|
_: "inputInvoiceStarGiftResale";
|
|
6887
|
+
ton?: true;
|
|
6770
6888
|
slug: string;
|
|
6771
6889
|
to_id: InputPeer;
|
|
6772
6890
|
}
|
|
6891
|
+
export interface inputInvoiceStarGiftPrepaidUpgrade {
|
|
6892
|
+
_: "inputInvoiceStarGiftPrepaidUpgrade";
|
|
6893
|
+
peer: InputPeer;
|
|
6894
|
+
hash: string;
|
|
6895
|
+
}
|
|
6773
6896
|
export interface payments_exportedInvoice {
|
|
6774
6897
|
_: "payments.exportedInvoice";
|
|
6775
6898
|
url: string;
|
|
@@ -6828,6 +6951,7 @@ export interface inputStorePaymentStarsTopup {
|
|
|
6828
6951
|
stars: bigint;
|
|
6829
6952
|
currency: string;
|
|
6830
6953
|
amount: bigint;
|
|
6954
|
+
spend_purpose_peer?: InputPeer;
|
|
6831
6955
|
}
|
|
6832
6956
|
export interface inputStorePaymentStarsGift {
|
|
6833
6957
|
_: "inputStorePaymentStarsGift";
|
|
@@ -7231,7 +7355,7 @@ export interface bots_botInfo {
|
|
|
7231
7355
|
export interface messagePeerVote {
|
|
7232
7356
|
_: "messagePeerVote";
|
|
7233
7357
|
peer: Peer;
|
|
7234
|
-
option: Uint8Array
|
|
7358
|
+
option: Uint8Array<ArrayBuffer>;
|
|
7235
7359
|
date: number;
|
|
7236
7360
|
}
|
|
7237
7361
|
export interface messagePeerVoteInputOption {
|
|
@@ -7242,7 +7366,7 @@ export interface messagePeerVoteInputOption {
|
|
|
7242
7366
|
export interface messagePeerVoteMultiple {
|
|
7243
7367
|
_: "messagePeerVoteMultiple";
|
|
7244
7368
|
peer: Peer;
|
|
7245
|
-
options: Array<Uint8Array
|
|
7369
|
+
options: Array<Uint8Array<ArrayBuffer>>;
|
|
7246
7370
|
date: number;
|
|
7247
7371
|
}
|
|
7248
7372
|
export interface storyViews {
|
|
@@ -7288,6 +7412,7 @@ export interface storyItem {
|
|
|
7288
7412
|
privacy?: Array<PrivacyRule>;
|
|
7289
7413
|
views?: StoryViews;
|
|
7290
7414
|
sent_reaction?: Reaction;
|
|
7415
|
+
albums?: Array<number>;
|
|
7291
7416
|
}
|
|
7292
7417
|
export interface stories_allStoriesNotModified {
|
|
7293
7418
|
_: "stories.allStoriesNotModified";
|
|
@@ -7357,12 +7482,18 @@ export interface inputReplyToMessage {
|
|
|
7357
7482
|
quote_text?: string;
|
|
7358
7483
|
quote_entities?: Array<MessageEntity>;
|
|
7359
7484
|
quote_offset?: number;
|
|
7485
|
+
monoforum_peer_id?: InputPeer;
|
|
7486
|
+
todo_item_id?: number;
|
|
7360
7487
|
}
|
|
7361
7488
|
export interface inputReplyToStory {
|
|
7362
7489
|
_: "inputReplyToStory";
|
|
7363
7490
|
peer: InputPeer;
|
|
7364
7491
|
story_id: number;
|
|
7365
7492
|
}
|
|
7493
|
+
export interface inputReplyToMonoForum {
|
|
7494
|
+
_: "inputReplyToMonoForum";
|
|
7495
|
+
monoforum_peer_id: InputPeer;
|
|
7496
|
+
}
|
|
7366
7497
|
export interface exportedStoryLink {
|
|
7367
7498
|
_: "exportedStoryLink";
|
|
7368
7499
|
link: string;
|
|
@@ -7665,6 +7796,18 @@ export interface savedDialog {
|
|
|
7665
7796
|
peer: Peer;
|
|
7666
7797
|
top_message: number;
|
|
7667
7798
|
}
|
|
7799
|
+
export interface monoForumDialog {
|
|
7800
|
+
_: "monoForumDialog";
|
|
7801
|
+
unread_mark?: true;
|
|
7802
|
+
nopaid_messages_exception?: true;
|
|
7803
|
+
peer: Peer;
|
|
7804
|
+
top_message: number;
|
|
7805
|
+
read_inbox_max_id: number;
|
|
7806
|
+
read_outbox_max_id: number;
|
|
7807
|
+
unread_count: number;
|
|
7808
|
+
unread_reactions_count: number;
|
|
7809
|
+
draft?: DraftMessage;
|
|
7810
|
+
}
|
|
7668
7811
|
export interface messages_savedDialogs {
|
|
7669
7812
|
_: "messages.savedDialogs";
|
|
7670
7813
|
dialogs: Array<SavedDialog>;
|
|
@@ -7992,7 +8135,7 @@ export interface requestedPeerChannel {
|
|
|
7992
8135
|
export interface sponsoredMessageReportOption {
|
|
7993
8136
|
_: "sponsoredMessageReportOption";
|
|
7994
8137
|
text: string;
|
|
7995
|
-
option: Uint8Array
|
|
8138
|
+
option: Uint8Array<ArrayBuffer>;
|
|
7996
8139
|
}
|
|
7997
8140
|
export interface channels_sponsoredMessageReportResultChooseOption {
|
|
7998
8141
|
_: "channels.sponsoredMessageReportResultChooseOption";
|
|
@@ -8005,44 +8148,6 @@ export interface channels_sponsoredMessageReportResultAdsHidden {
|
|
|
8005
8148
|
export interface channels_sponsoredMessageReportResultReported {
|
|
8006
8149
|
_: "channels.sponsoredMessageReportResultReported";
|
|
8007
8150
|
}
|
|
8008
|
-
export interface stats_broadcastRevenueStats {
|
|
8009
|
-
_: "stats.broadcastRevenueStats";
|
|
8010
|
-
top_hours_graph: StatsGraph;
|
|
8011
|
-
revenue_graph: StatsGraph;
|
|
8012
|
-
balances: BroadcastRevenueBalances;
|
|
8013
|
-
usd_rate: number;
|
|
8014
|
-
}
|
|
8015
|
-
export interface stats_broadcastRevenueWithdrawalUrl {
|
|
8016
|
-
_: "stats.broadcastRevenueWithdrawalUrl";
|
|
8017
|
-
url: string;
|
|
8018
|
-
}
|
|
8019
|
-
export interface broadcastRevenueTransactionProceeds {
|
|
8020
|
-
_: "broadcastRevenueTransactionProceeds";
|
|
8021
|
-
amount: bigint;
|
|
8022
|
-
from_date: number;
|
|
8023
|
-
to_date: number;
|
|
8024
|
-
}
|
|
8025
|
-
export interface broadcastRevenueTransactionWithdrawal {
|
|
8026
|
-
_: "broadcastRevenueTransactionWithdrawal";
|
|
8027
|
-
pending?: true;
|
|
8028
|
-
failed?: true;
|
|
8029
|
-
amount: bigint;
|
|
8030
|
-
date: number;
|
|
8031
|
-
provider: string;
|
|
8032
|
-
transaction_date?: number;
|
|
8033
|
-
transaction_url?: string;
|
|
8034
|
-
}
|
|
8035
|
-
export interface broadcastRevenueTransactionRefund {
|
|
8036
|
-
_: "broadcastRevenueTransactionRefund";
|
|
8037
|
-
amount: bigint;
|
|
8038
|
-
date: number;
|
|
8039
|
-
provider: string;
|
|
8040
|
-
}
|
|
8041
|
-
export interface stats_broadcastRevenueTransactions {
|
|
8042
|
-
_: "stats.broadcastRevenueTransactions";
|
|
8043
|
-
count: number;
|
|
8044
|
-
transactions: Array<BroadcastRevenueTransaction>;
|
|
8045
|
-
}
|
|
8046
8151
|
export interface reactionNotificationsFromContacts {
|
|
8047
8152
|
_: "reactionNotificationsFromContacts";
|
|
8048
8153
|
}
|
|
@@ -8056,13 +8161,6 @@ export interface reactionsNotifySettings {
|
|
|
8056
8161
|
sound: NotificationSound;
|
|
8057
8162
|
show_previews: boolean;
|
|
8058
8163
|
}
|
|
8059
|
-
export interface broadcastRevenueBalances {
|
|
8060
|
-
_: "broadcastRevenueBalances";
|
|
8061
|
-
withdrawal_enabled?: true;
|
|
8062
|
-
current_balance: bigint;
|
|
8063
|
-
available_balance: bigint;
|
|
8064
|
-
overall_revenue: bigint;
|
|
8065
|
-
}
|
|
8066
8164
|
export interface availableEffect {
|
|
8067
8165
|
_: "availableEffect";
|
|
8068
8166
|
premium_required?: true;
|
|
@@ -8131,8 +8229,10 @@ export interface starsTransaction {
|
|
|
8131
8229
|
stargift_upgrade?: true;
|
|
8132
8230
|
business_transfer?: true;
|
|
8133
8231
|
stargift_resale?: true;
|
|
8232
|
+
posts_search?: true;
|
|
8233
|
+
stargift_prepaid_upgrade?: true;
|
|
8134
8234
|
id: string;
|
|
8135
|
-
|
|
8235
|
+
amount: StarsAmount;
|
|
8136
8236
|
date: number;
|
|
8137
8237
|
peer: StarsTransactionPeer;
|
|
8138
8238
|
title?: string;
|
|
@@ -8140,7 +8240,7 @@ export interface starsTransaction {
|
|
|
8140
8240
|
photo?: WebDocument;
|
|
8141
8241
|
transaction_date?: number;
|
|
8142
8242
|
transaction_url?: string;
|
|
8143
|
-
bot_payload?: Uint8Array
|
|
8243
|
+
bot_payload?: Uint8Array<ArrayBuffer>;
|
|
8144
8244
|
msg_id?: number;
|
|
8145
8245
|
extended_media?: Array<MessageMedia>;
|
|
8146
8246
|
subscription_period?: number;
|
|
@@ -8152,6 +8252,8 @@ export interface starsTransaction {
|
|
|
8152
8252
|
starref_amount?: StarsAmount;
|
|
8153
8253
|
paid_messages?: number;
|
|
8154
8254
|
premium_gift_months?: number;
|
|
8255
|
+
ads_proceeds_from_date?: number;
|
|
8256
|
+
ads_proceeds_to_date?: number;
|
|
8155
8257
|
}
|
|
8156
8258
|
export interface payments_starsStatus {
|
|
8157
8259
|
_: "payments.starsStatus";
|
|
@@ -8194,6 +8296,7 @@ export interface starsRevenueStatus {
|
|
|
8194
8296
|
}
|
|
8195
8297
|
export interface payments_starsRevenueStats {
|
|
8196
8298
|
_: "payments.starsRevenueStats";
|
|
8299
|
+
top_hours_graph?: StatsGraph;
|
|
8197
8300
|
revenue_graph: StatsGraph;
|
|
8198
8301
|
status: StarsRevenueStatus;
|
|
8199
8302
|
usd_rate: number;
|
|
@@ -8284,6 +8387,8 @@ export interface starGift {
|
|
|
8284
8387
|
limited?: true;
|
|
8285
8388
|
sold_out?: true;
|
|
8286
8389
|
birthday?: true;
|
|
8390
|
+
require_premium?: true;
|
|
8391
|
+
limited_per_user?: true;
|
|
8287
8392
|
id: bigint;
|
|
8288
8393
|
sticker: Document;
|
|
8289
8394
|
stars: bigint;
|
|
@@ -8296,10 +8401,18 @@ export interface starGift {
|
|
|
8296
8401
|
upgrade_stars?: bigint;
|
|
8297
8402
|
resell_min_stars?: bigint;
|
|
8298
8403
|
title?: string;
|
|
8404
|
+
released_by?: Peer;
|
|
8405
|
+
per_user_total?: number;
|
|
8406
|
+
per_user_remains?: number;
|
|
8407
|
+
locked_until_date?: number;
|
|
8299
8408
|
}
|
|
8300
8409
|
export interface starGiftUnique {
|
|
8301
8410
|
_: "starGiftUnique";
|
|
8411
|
+
require_premium?: true;
|
|
8412
|
+
resale_ton_only?: true;
|
|
8413
|
+
theme_available?: true;
|
|
8302
8414
|
id: bigint;
|
|
8415
|
+
gift_id: bigint;
|
|
8303
8416
|
title: string;
|
|
8304
8417
|
slug: string;
|
|
8305
8418
|
num: number;
|
|
@@ -8310,7 +8423,11 @@ export interface starGiftUnique {
|
|
|
8310
8423
|
availability_issued: number;
|
|
8311
8424
|
availability_total: number;
|
|
8312
8425
|
gift_address?: string;
|
|
8313
|
-
|
|
8426
|
+
resell_amount?: Array<StarsAmount>;
|
|
8427
|
+
released_by?: Peer;
|
|
8428
|
+
value_amount?: bigint;
|
|
8429
|
+
value_currency?: string;
|
|
8430
|
+
theme_peer?: Peer;
|
|
8314
8431
|
}
|
|
8315
8432
|
export interface payments_starGiftsNotModified {
|
|
8316
8433
|
_: "payments.starGiftsNotModified";
|
|
@@ -8319,11 +8436,13 @@ export interface payments_starGifts {
|
|
|
8319
8436
|
_: "payments.starGifts";
|
|
8320
8437
|
hash: number;
|
|
8321
8438
|
gifts: Array<StarGift>;
|
|
8439
|
+
chats: Array<Chat>;
|
|
8440
|
+
users: Array<User>;
|
|
8322
8441
|
}
|
|
8323
8442
|
export interface messageReportOption {
|
|
8324
8443
|
_: "messageReportOption";
|
|
8325
8444
|
text: string;
|
|
8326
|
-
option: Uint8Array
|
|
8445
|
+
option: Uint8Array<ArrayBuffer>;
|
|
8327
8446
|
}
|
|
8328
8447
|
export interface reportResultChooseOption {
|
|
8329
8448
|
_: "reportResultChooseOption";
|
|
@@ -8333,7 +8452,7 @@ export interface reportResultChooseOption {
|
|
|
8333
8452
|
export interface reportResultAddComment {
|
|
8334
8453
|
_: "reportResultAddComment";
|
|
8335
8454
|
optional?: true;
|
|
8336
|
-
option: Uint8Array
|
|
8455
|
+
option: Uint8Array<ArrayBuffer>;
|
|
8337
8456
|
}
|
|
8338
8457
|
export interface reportResultReported {
|
|
8339
8458
|
_: "reportResultReported";
|
|
@@ -8353,7 +8472,7 @@ export interface messages_preparedInlineMessage {
|
|
|
8353
8472
|
}
|
|
8354
8473
|
export interface botAppSettings {
|
|
8355
8474
|
_: "botAppSettings";
|
|
8356
|
-
placeholder_path?: Uint8Array
|
|
8475
|
+
placeholder_path?: Uint8Array<ArrayBuffer>;
|
|
8357
8476
|
background_color?: number;
|
|
8358
8477
|
background_dark_color?: number;
|
|
8359
8478
|
header_color?: number;
|
|
@@ -8396,6 +8515,10 @@ export interface starsAmount {
|
|
|
8396
8515
|
amount: bigint;
|
|
8397
8516
|
nanos: number;
|
|
8398
8517
|
}
|
|
8518
|
+
export interface starsTonAmount {
|
|
8519
|
+
_: "starsTonAmount";
|
|
8520
|
+
amount: bigint;
|
|
8521
|
+
}
|
|
8399
8522
|
export interface messages_foundStickersNotModified {
|
|
8400
8523
|
_: "messages.foundStickersNotModified";
|
|
8401
8524
|
next_offset?: number;
|
|
@@ -8464,11 +8587,13 @@ export interface users_usersSlice {
|
|
|
8464
8587
|
export interface payments_uniqueStarGift {
|
|
8465
8588
|
_: "payments.uniqueStarGift";
|
|
8466
8589
|
gift: StarGift;
|
|
8590
|
+
chats: Array<Chat>;
|
|
8467
8591
|
users: Array<User>;
|
|
8468
8592
|
}
|
|
8469
8593
|
export interface messages_webPagePreview {
|
|
8470
8594
|
_: "messages.webPagePreview";
|
|
8471
8595
|
media: MessageMedia;
|
|
8596
|
+
chats: Array<Chat>;
|
|
8472
8597
|
users: Array<User>;
|
|
8473
8598
|
}
|
|
8474
8599
|
export interface savedStarGift {
|
|
@@ -8478,6 +8603,7 @@ export interface savedStarGift {
|
|
|
8478
8603
|
refunded?: true;
|
|
8479
8604
|
can_upgrade?: true;
|
|
8480
8605
|
pinned_to_top?: true;
|
|
8606
|
+
upgrade_separate?: true;
|
|
8481
8607
|
from_id?: Peer;
|
|
8482
8608
|
date: number;
|
|
8483
8609
|
gift: StarGift;
|
|
@@ -8490,6 +8616,8 @@ export interface savedStarGift {
|
|
|
8490
8616
|
transfer_stars?: bigint;
|
|
8491
8617
|
can_transfer_at?: number;
|
|
8492
8618
|
can_resell_at?: number;
|
|
8619
|
+
collection_id?: Array<number>;
|
|
8620
|
+
prepaid_upgrade_hash?: string;
|
|
8493
8621
|
}
|
|
8494
8622
|
export interface payments_savedStarGifts {
|
|
8495
8623
|
_: "payments.savedStarGifts";
|
|
@@ -8567,7 +8695,7 @@ export interface disallowedGiftsSettings {
|
|
|
8567
8695
|
}
|
|
8568
8696
|
export interface sponsoredPeer {
|
|
8569
8697
|
_: "sponsoredPeer";
|
|
8570
|
-
random_id: Uint8Array
|
|
8698
|
+
random_id: Uint8Array<ArrayBuffer>;
|
|
8571
8699
|
peer: Peer;
|
|
8572
8700
|
sponsor_info?: string;
|
|
8573
8701
|
additional_info?: string;
|
|
@@ -8620,6 +8748,151 @@ export interface pendingSuggestion {
|
|
|
8620
8748
|
description: TextWithEntities;
|
|
8621
8749
|
url: string;
|
|
8622
8750
|
}
|
|
8751
|
+
export interface todoItem {
|
|
8752
|
+
_: "todoItem";
|
|
8753
|
+
id: number;
|
|
8754
|
+
title: TextWithEntities;
|
|
8755
|
+
}
|
|
8756
|
+
export interface todoList {
|
|
8757
|
+
_: "todoList";
|
|
8758
|
+
others_can_append?: true;
|
|
8759
|
+
others_can_complete?: true;
|
|
8760
|
+
title: TextWithEntities;
|
|
8761
|
+
list: Array<TodoItem>;
|
|
8762
|
+
}
|
|
8763
|
+
export interface todoCompletion {
|
|
8764
|
+
_: "todoCompletion";
|
|
8765
|
+
id: number;
|
|
8766
|
+
completed_by: bigint;
|
|
8767
|
+
date: number;
|
|
8768
|
+
}
|
|
8769
|
+
export interface suggestedPost {
|
|
8770
|
+
_: "suggestedPost";
|
|
8771
|
+
accepted?: true;
|
|
8772
|
+
rejected?: true;
|
|
8773
|
+
price?: StarsAmount;
|
|
8774
|
+
schedule_date?: number;
|
|
8775
|
+
}
|
|
8776
|
+
export interface starsRating {
|
|
8777
|
+
_: "starsRating";
|
|
8778
|
+
level: number;
|
|
8779
|
+
current_level_stars: bigint;
|
|
8780
|
+
stars: bigint;
|
|
8781
|
+
next_level_stars?: bigint;
|
|
8782
|
+
}
|
|
8783
|
+
export interface starGiftCollection {
|
|
8784
|
+
_: "starGiftCollection";
|
|
8785
|
+
collection_id: number;
|
|
8786
|
+
title: string;
|
|
8787
|
+
icon?: Document;
|
|
8788
|
+
gifts_count: number;
|
|
8789
|
+
hash: bigint;
|
|
8790
|
+
}
|
|
8791
|
+
export interface payments_starGiftCollectionsNotModified {
|
|
8792
|
+
_: "payments.starGiftCollectionsNotModified";
|
|
8793
|
+
}
|
|
8794
|
+
export interface payments_starGiftCollections {
|
|
8795
|
+
_: "payments.starGiftCollections";
|
|
8796
|
+
collections: Array<StarGiftCollection>;
|
|
8797
|
+
}
|
|
8798
|
+
export interface storyAlbum {
|
|
8799
|
+
_: "storyAlbum";
|
|
8800
|
+
album_id: number;
|
|
8801
|
+
title: string;
|
|
8802
|
+
icon_photo?: Photo;
|
|
8803
|
+
icon_video?: Document;
|
|
8804
|
+
}
|
|
8805
|
+
export interface stories_albumsNotModified {
|
|
8806
|
+
_: "stories.albumsNotModified";
|
|
8807
|
+
}
|
|
8808
|
+
export interface stories_albums {
|
|
8809
|
+
_: "stories.albums";
|
|
8810
|
+
hash: bigint;
|
|
8811
|
+
albums: Array<StoryAlbum>;
|
|
8812
|
+
}
|
|
8813
|
+
export interface searchPostsFlood {
|
|
8814
|
+
_: "searchPostsFlood";
|
|
8815
|
+
query_is_free?: true;
|
|
8816
|
+
total_daily: number;
|
|
8817
|
+
remains: number;
|
|
8818
|
+
wait_till?: number;
|
|
8819
|
+
stars_amount: bigint;
|
|
8820
|
+
}
|
|
8821
|
+
export interface payments_uniqueStarGiftValueInfo {
|
|
8822
|
+
_: "payments.uniqueStarGiftValueInfo";
|
|
8823
|
+
last_sale_on_fragment?: true;
|
|
8824
|
+
value_is_average?: true;
|
|
8825
|
+
currency: string;
|
|
8826
|
+
value: bigint;
|
|
8827
|
+
initial_sale_date: number;
|
|
8828
|
+
initial_sale_stars: bigint;
|
|
8829
|
+
initial_sale_price: bigint;
|
|
8830
|
+
last_sale_date?: number;
|
|
8831
|
+
last_sale_price?: bigint;
|
|
8832
|
+
floor_price?: bigint;
|
|
8833
|
+
average_price?: bigint;
|
|
8834
|
+
listed_count?: number;
|
|
8835
|
+
fragment_listed_count?: number;
|
|
8836
|
+
fragment_listed_url?: string;
|
|
8837
|
+
}
|
|
8838
|
+
export interface profileTabPosts {
|
|
8839
|
+
_: "profileTabPosts";
|
|
8840
|
+
}
|
|
8841
|
+
export interface profileTabGifts {
|
|
8842
|
+
_: "profileTabGifts";
|
|
8843
|
+
}
|
|
8844
|
+
export interface profileTabMedia {
|
|
8845
|
+
_: "profileTabMedia";
|
|
8846
|
+
}
|
|
8847
|
+
export interface profileTabFiles {
|
|
8848
|
+
_: "profileTabFiles";
|
|
8849
|
+
}
|
|
8850
|
+
export interface profileTabMusic {
|
|
8851
|
+
_: "profileTabMusic";
|
|
8852
|
+
}
|
|
8853
|
+
export interface profileTabVoice {
|
|
8854
|
+
_: "profileTabVoice";
|
|
8855
|
+
}
|
|
8856
|
+
export interface profileTabLinks {
|
|
8857
|
+
_: "profileTabLinks";
|
|
8858
|
+
}
|
|
8859
|
+
export interface profileTabGifs {
|
|
8860
|
+
_: "profileTabGifs";
|
|
8861
|
+
}
|
|
8862
|
+
export interface users_savedMusicNotModified {
|
|
8863
|
+
_: "users.savedMusicNotModified";
|
|
8864
|
+
count: number;
|
|
8865
|
+
}
|
|
8866
|
+
export interface users_savedMusic {
|
|
8867
|
+
_: "users.savedMusic";
|
|
8868
|
+
count: number;
|
|
8869
|
+
documents: Array<Document>;
|
|
8870
|
+
}
|
|
8871
|
+
export interface account_savedMusicIdsNotModified {
|
|
8872
|
+
_: "account.savedMusicIdsNotModified";
|
|
8873
|
+
}
|
|
8874
|
+
export interface account_savedMusicIds {
|
|
8875
|
+
_: "account.savedMusicIds";
|
|
8876
|
+
ids: Array<bigint>;
|
|
8877
|
+
}
|
|
8878
|
+
export interface payments_checkCanSendGiftResultOk {
|
|
8879
|
+
_: "payments.checkCanSendGiftResultOk";
|
|
8880
|
+
}
|
|
8881
|
+
export interface payments_checkCanSendGiftResultFail {
|
|
8882
|
+
_: "payments.checkCanSendGiftResultFail";
|
|
8883
|
+
reason: TextWithEntities;
|
|
8884
|
+
}
|
|
8885
|
+
export interface inputChatThemeEmpty {
|
|
8886
|
+
_: "inputChatThemeEmpty";
|
|
8887
|
+
}
|
|
8888
|
+
export interface inputChatTheme {
|
|
8889
|
+
_: "inputChatTheme";
|
|
8890
|
+
emoticon: string;
|
|
8891
|
+
}
|
|
8892
|
+
export interface inputChatThemeUniqueGift {
|
|
8893
|
+
_: "inputChatThemeUniqueGift";
|
|
8894
|
+
slug: string;
|
|
8895
|
+
}
|
|
8623
8896
|
export interface invokeAfterMsg<T> {
|
|
8624
8897
|
_: "invokeAfterMsg";
|
|
8625
8898
|
msg_id: bigint;
|
|
@@ -8736,7 +9009,7 @@ export interface auth_exportAuthorization {
|
|
|
8736
9009
|
export interface auth_importAuthorization {
|
|
8737
9010
|
_: "auth.importAuthorization";
|
|
8738
9011
|
id: bigint;
|
|
8739
|
-
bytes: Uint8Array
|
|
9012
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
8740
9013
|
[R]?: auth_Authorization;
|
|
8741
9014
|
}
|
|
8742
9015
|
export interface auth_bindTempAuthKey {
|
|
@@ -8744,7 +9017,7 @@ export interface auth_bindTempAuthKey {
|
|
|
8744
9017
|
perm_auth_key_id: bigint;
|
|
8745
9018
|
nonce: bigint;
|
|
8746
9019
|
expires_at: number;
|
|
8747
|
-
encrypted_message: Uint8Array
|
|
9020
|
+
encrypted_message: Uint8Array<ArrayBuffer>;
|
|
8748
9021
|
[R]?: boolean;
|
|
8749
9022
|
}
|
|
8750
9023
|
export interface auth_importBotAuthorization {
|
|
@@ -8797,12 +9070,12 @@ export interface auth_exportLoginToken {
|
|
|
8797
9070
|
}
|
|
8798
9071
|
export interface auth_importLoginToken {
|
|
8799
9072
|
_: "auth.importLoginToken";
|
|
8800
|
-
token: Uint8Array
|
|
9073
|
+
token: Uint8Array<ArrayBuffer>;
|
|
8801
9074
|
[R]?: auth_LoginToken;
|
|
8802
9075
|
}
|
|
8803
9076
|
export interface auth_acceptLoginToken {
|
|
8804
9077
|
_: "auth.acceptLoginToken";
|
|
8805
|
-
token: Uint8Array
|
|
9078
|
+
token: Uint8Array<ArrayBuffer>;
|
|
8806
9079
|
[R]?: Authorization;
|
|
8807
9080
|
}
|
|
8808
9081
|
export interface auth_checkRecoveryPassword {
|
|
@@ -8845,7 +9118,7 @@ export interface account_registerDevice {
|
|
|
8845
9118
|
token_type: number;
|
|
8846
9119
|
token: string;
|
|
8847
9120
|
app_sandbox: boolean;
|
|
8848
|
-
secret: Uint8Array
|
|
9121
|
+
secret: Uint8Array<ArrayBuffer>;
|
|
8849
9122
|
other_uids: Array<bigint>;
|
|
8850
9123
|
[R]?: boolean;
|
|
8851
9124
|
}
|
|
@@ -9470,17 +9743,44 @@ export interface account_getCollectibleEmojiStatuses {
|
|
|
9470
9743
|
hash: bigint;
|
|
9471
9744
|
[R]?: account_EmojiStatuses;
|
|
9472
9745
|
}
|
|
9473
|
-
export interface account_addNoPaidMessagesException {
|
|
9474
|
-
_: "account.addNoPaidMessagesException";
|
|
9475
|
-
refund_charged?: true;
|
|
9476
|
-
user_id: InputUser;
|
|
9477
|
-
[R]?: boolean;
|
|
9478
|
-
}
|
|
9479
9746
|
export interface account_getPaidMessagesRevenue {
|
|
9480
9747
|
_: "account.getPaidMessagesRevenue";
|
|
9748
|
+
parent_peer?: InputPeer;
|
|
9481
9749
|
user_id: InputUser;
|
|
9482
9750
|
[R]?: account_PaidMessagesRevenue;
|
|
9483
9751
|
}
|
|
9752
|
+
export interface account_toggleNoPaidMessagesException {
|
|
9753
|
+
_: "account.toggleNoPaidMessagesException";
|
|
9754
|
+
refund_charged?: true;
|
|
9755
|
+
require_payment?: true;
|
|
9756
|
+
parent_peer?: InputPeer;
|
|
9757
|
+
user_id: InputUser;
|
|
9758
|
+
[R]?: boolean;
|
|
9759
|
+
}
|
|
9760
|
+
export interface account_setMainProfileTab {
|
|
9761
|
+
_: "account.setMainProfileTab";
|
|
9762
|
+
tab: ProfileTab;
|
|
9763
|
+
[R]?: boolean;
|
|
9764
|
+
}
|
|
9765
|
+
export interface account_saveMusic {
|
|
9766
|
+
_: "account.saveMusic";
|
|
9767
|
+
unsave?: true;
|
|
9768
|
+
id: InputDocument;
|
|
9769
|
+
after_id?: InputDocument;
|
|
9770
|
+
[R]?: boolean;
|
|
9771
|
+
}
|
|
9772
|
+
export interface account_getSavedMusicIds {
|
|
9773
|
+
_: "account.getSavedMusicIds";
|
|
9774
|
+
hash: bigint;
|
|
9775
|
+
[R]?: account_SavedMusicIds;
|
|
9776
|
+
}
|
|
9777
|
+
export interface account_getUniqueGiftChatThemes {
|
|
9778
|
+
_: "account.getUniqueGiftChatThemes";
|
|
9779
|
+
offset: number;
|
|
9780
|
+
limit: number;
|
|
9781
|
+
hash: bigint;
|
|
9782
|
+
[R]?: account_ChatThemes;
|
|
9783
|
+
}
|
|
9484
9784
|
export interface users_getUsers {
|
|
9485
9785
|
_: "users.getUsers";
|
|
9486
9786
|
id: Array<InputUser>;
|
|
@@ -9502,6 +9802,20 @@ export interface users_getRequirementsToContact {
|
|
|
9502
9802
|
id: Array<InputUser>;
|
|
9503
9803
|
[R]?: Array<RequirementToContact>;
|
|
9504
9804
|
}
|
|
9805
|
+
export interface users_getSavedMusic {
|
|
9806
|
+
_: "users.getSavedMusic";
|
|
9807
|
+
id: InputUser;
|
|
9808
|
+
offset: number;
|
|
9809
|
+
limit: number;
|
|
9810
|
+
hash: bigint;
|
|
9811
|
+
[R]?: users_SavedMusic;
|
|
9812
|
+
}
|
|
9813
|
+
export interface users_getSavedMusicByID {
|
|
9814
|
+
_: "users.getSavedMusicByID";
|
|
9815
|
+
id: InputUser;
|
|
9816
|
+
documents: Array<InputDocument>;
|
|
9817
|
+
[R]?: users_SavedMusic;
|
|
9818
|
+
}
|
|
9505
9819
|
export interface contacts_getContactIDs {
|
|
9506
9820
|
_: "contacts.getContactIDs";
|
|
9507
9821
|
hash: bigint;
|
|
@@ -9763,6 +10077,7 @@ export interface messages_sendMessage {
|
|
|
9763
10077
|
quick_reply_shortcut?: InputQuickReplyShortcut;
|
|
9764
10078
|
effect?: bigint;
|
|
9765
10079
|
allow_paid_stars?: bigint;
|
|
10080
|
+
suggested_post?: SuggestedPost;
|
|
9766
10081
|
[R]?: Updates;
|
|
9767
10082
|
}
|
|
9768
10083
|
export interface messages_sendMedia {
|
|
@@ -9786,6 +10101,7 @@ export interface messages_sendMedia {
|
|
|
9786
10101
|
quick_reply_shortcut?: InputQuickReplyShortcut;
|
|
9787
10102
|
effect?: bigint;
|
|
9788
10103
|
allow_paid_stars?: bigint;
|
|
10104
|
+
suggested_post?: SuggestedPost;
|
|
9789
10105
|
[R]?: Updates;
|
|
9790
10106
|
}
|
|
9791
10107
|
export interface messages_forwardMessages {
|
|
@@ -9802,11 +10118,13 @@ export interface messages_forwardMessages {
|
|
|
9802
10118
|
random_id: Array<bigint>;
|
|
9803
10119
|
to_peer: InputPeer;
|
|
9804
10120
|
top_msg_id?: number;
|
|
10121
|
+
reply_to?: InputReplyTo;
|
|
9805
10122
|
schedule_date?: number;
|
|
9806
10123
|
send_as?: InputPeer;
|
|
9807
10124
|
quick_reply_shortcut?: InputQuickReplyShortcut;
|
|
9808
10125
|
video_timestamp?: number;
|
|
9809
10126
|
allow_paid_stars?: bigint;
|
|
10127
|
+
suggested_post?: SuggestedPost;
|
|
9810
10128
|
[R]?: Updates;
|
|
9811
10129
|
}
|
|
9812
10130
|
export interface messages_reportSpam {
|
|
@@ -9823,7 +10141,7 @@ export interface messages_report {
|
|
|
9823
10141
|
_: "messages.report";
|
|
9824
10142
|
peer: InputPeer;
|
|
9825
10143
|
id: Array<number>;
|
|
9826
|
-
option: Uint8Array
|
|
10144
|
+
option: Uint8Array<ArrayBuffer>;
|
|
9827
10145
|
message: string;
|
|
9828
10146
|
[R]?: ReportResult;
|
|
9829
10147
|
}
|
|
@@ -9880,13 +10198,13 @@ export interface messages_requestEncryption {
|
|
|
9880
10198
|
_: "messages.requestEncryption";
|
|
9881
10199
|
user_id: InputUser;
|
|
9882
10200
|
random_id: number;
|
|
9883
|
-
g_a: Uint8Array
|
|
10201
|
+
g_a: Uint8Array<ArrayBuffer>;
|
|
9884
10202
|
[R]?: EncryptedChat;
|
|
9885
10203
|
}
|
|
9886
10204
|
export interface messages_acceptEncryption {
|
|
9887
10205
|
_: "messages.acceptEncryption";
|
|
9888
10206
|
peer: InputEncryptedChat;
|
|
9889
|
-
g_b: Uint8Array
|
|
10207
|
+
g_b: Uint8Array<ArrayBuffer>;
|
|
9890
10208
|
key_fingerprint: bigint;
|
|
9891
10209
|
[R]?: EncryptedChat;
|
|
9892
10210
|
}
|
|
@@ -9913,7 +10231,7 @@ export interface messages_sendEncrypted {
|
|
|
9913
10231
|
silent?: true;
|
|
9914
10232
|
peer: InputEncryptedChat;
|
|
9915
10233
|
random_id: bigint;
|
|
9916
|
-
data: Uint8Array
|
|
10234
|
+
data: Uint8Array<ArrayBuffer>;
|
|
9917
10235
|
[R]?: messages_SentEncryptedMessage;
|
|
9918
10236
|
}
|
|
9919
10237
|
export interface messages_sendEncryptedFile {
|
|
@@ -9921,7 +10239,7 @@ export interface messages_sendEncryptedFile {
|
|
|
9921
10239
|
silent?: true;
|
|
9922
10240
|
peer: InputEncryptedChat;
|
|
9923
10241
|
random_id: bigint;
|
|
9924
|
-
data: Uint8Array
|
|
10242
|
+
data: Uint8Array<ArrayBuffer>;
|
|
9925
10243
|
file: InputEncryptedFile;
|
|
9926
10244
|
[R]?: messages_SentEncryptedMessage;
|
|
9927
10245
|
}
|
|
@@ -9929,7 +10247,7 @@ export interface messages_sendEncryptedService {
|
|
|
9929
10247
|
_: "messages.sendEncryptedService";
|
|
9930
10248
|
peer: InputEncryptedChat;
|
|
9931
10249
|
random_id: bigint;
|
|
9932
|
-
data: Uint8Array
|
|
10250
|
+
data: Uint8Array<ArrayBuffer>;
|
|
9933
10251
|
[R]?: messages_SentEncryptedMessage;
|
|
9934
10252
|
}
|
|
9935
10253
|
export interface messages_receivedQueue {
|
|
@@ -10054,7 +10372,7 @@ export interface messages_reorderStickerSets {
|
|
|
10054
10372
|
}
|
|
10055
10373
|
export interface messages_getDocumentByHash {
|
|
10056
10374
|
_: "messages.getDocumentByHash";
|
|
10057
|
-
sha256: Uint8Array
|
|
10375
|
+
sha256: Uint8Array<ArrayBuffer>;
|
|
10058
10376
|
size: bigint;
|
|
10059
10377
|
mime_type: string;
|
|
10060
10378
|
[R]?: Document;
|
|
@@ -10144,7 +10462,7 @@ export interface messages_getBotCallbackAnswer {
|
|
|
10144
10462
|
game?: true;
|
|
10145
10463
|
peer: InputPeer;
|
|
10146
10464
|
msg_id: number;
|
|
10147
|
-
data?: Uint8Array
|
|
10465
|
+
data?: Uint8Array<ArrayBuffer>;
|
|
10148
10466
|
password?: InputCheckPasswordSRP;
|
|
10149
10467
|
[R]?: messages_BotCallbackAnswer;
|
|
10150
10468
|
}
|
|
@@ -10172,6 +10490,7 @@ export interface messages_saveDraft {
|
|
|
10172
10490
|
entities?: Array<MessageEntity>;
|
|
10173
10491
|
media?: InputMedia;
|
|
10174
10492
|
effect?: bigint;
|
|
10493
|
+
suggested_post?: SuggestedPost;
|
|
10175
10494
|
[R]?: boolean;
|
|
10176
10495
|
}
|
|
10177
10496
|
export interface messages_getAllDrafts {
|
|
@@ -10389,11 +10708,13 @@ export interface messages_getSplitRanges {
|
|
|
10389
10708
|
export interface messages_markDialogUnread {
|
|
10390
10709
|
_: "messages.markDialogUnread";
|
|
10391
10710
|
unread?: true;
|
|
10711
|
+
parent_peer?: InputPeer;
|
|
10392
10712
|
peer: InputDialogPeer;
|
|
10393
10713
|
[R]?: boolean;
|
|
10394
10714
|
}
|
|
10395
10715
|
export interface messages_getDialogUnreadMarks {
|
|
10396
10716
|
_: "messages.getDialogUnreadMarks";
|
|
10717
|
+
parent_peer?: InputPeer;
|
|
10397
10718
|
[R]?: Array<DialogPeer>;
|
|
10398
10719
|
}
|
|
10399
10720
|
export interface messages_clearAllDrafts {
|
|
@@ -10413,7 +10734,7 @@ export interface messages_sendVote {
|
|
|
10413
10734
|
_: "messages.sendVote";
|
|
10414
10735
|
peer: InputPeer;
|
|
10415
10736
|
msg_id: number;
|
|
10416
|
-
options: Array<Uint8Array
|
|
10737
|
+
options: Array<Uint8Array<ArrayBuffer>>;
|
|
10417
10738
|
[R]?: Updates;
|
|
10418
10739
|
}
|
|
10419
10740
|
export interface messages_getPollResults {
|
|
@@ -10518,7 +10839,7 @@ export interface messages_getPollVotes {
|
|
|
10518
10839
|
_: "messages.getPollVotes";
|
|
10519
10840
|
peer: InputPeer;
|
|
10520
10841
|
id: number;
|
|
10521
|
-
option?: Uint8Array
|
|
10842
|
+
option?: Uint8Array<ArrayBuffer>;
|
|
10522
10843
|
offset?: string;
|
|
10523
10844
|
limit: number;
|
|
10524
10845
|
[R]?: messages_VotesList;
|
|
@@ -10587,6 +10908,7 @@ export interface messages_unpinAllMessages {
|
|
|
10587
10908
|
_: "messages.unpinAllMessages";
|
|
10588
10909
|
peer: InputPeer;
|
|
10589
10910
|
top_msg_id?: number;
|
|
10911
|
+
saved_peer_id?: InputPeer;
|
|
10590
10912
|
[R]?: messages_AffectedHistory;
|
|
10591
10913
|
}
|
|
10592
10914
|
export interface messages_deleteChat {
|
|
@@ -10695,7 +11017,7 @@ export interface messages_checkHistoryImportPeer {
|
|
|
10695
11017
|
export interface messages_setChatTheme {
|
|
10696
11018
|
_: "messages.setChatTheme";
|
|
10697
11019
|
peer: InputPeer;
|
|
10698
|
-
|
|
11020
|
+
theme: InputChatTheme;
|
|
10699
11021
|
[R]?: Updates;
|
|
10700
11022
|
}
|
|
10701
11023
|
export interface messages_getMessageReadParticipants {
|
|
@@ -10802,6 +11124,7 @@ export interface messages_getUnreadReactions {
|
|
|
10802
11124
|
_: "messages.getUnreadReactions";
|
|
10803
11125
|
peer: InputPeer;
|
|
10804
11126
|
top_msg_id?: number;
|
|
11127
|
+
saved_peer_id?: InputPeer;
|
|
10805
11128
|
offset_id: number;
|
|
10806
11129
|
add_offset: number;
|
|
10807
11130
|
limit: number;
|
|
@@ -10813,6 +11136,7 @@ export interface messages_readReactions {
|
|
|
10813
11136
|
_: "messages.readReactions";
|
|
10814
11137
|
peer: InputPeer;
|
|
10815
11138
|
top_msg_id?: number;
|
|
11139
|
+
saved_peer_id?: InputPeer;
|
|
10816
11140
|
[R]?: messages_AffectedHistory;
|
|
10817
11141
|
}
|
|
10818
11142
|
export interface messages_searchSentMedia {
|
|
@@ -11032,6 +11356,7 @@ export interface messages_searchEmojiStickerSets {
|
|
|
11032
11356
|
export interface messages_getSavedDialogs {
|
|
11033
11357
|
_: "messages.getSavedDialogs";
|
|
11034
11358
|
exclude_pinned?: true;
|
|
11359
|
+
parent_peer?: InputPeer;
|
|
11035
11360
|
offset_date: number;
|
|
11036
11361
|
offset_id: number;
|
|
11037
11362
|
offset_peer: InputPeer;
|
|
@@ -11041,6 +11366,7 @@ export interface messages_getSavedDialogs {
|
|
|
11041
11366
|
}
|
|
11042
11367
|
export interface messages_getSavedHistory {
|
|
11043
11368
|
_: "messages.getSavedHistory";
|
|
11369
|
+
parent_peer?: InputPeer;
|
|
11044
11370
|
peer: InputPeer;
|
|
11045
11371
|
offset_id: number;
|
|
11046
11372
|
offset_date: number;
|
|
@@ -11053,6 +11379,7 @@ export interface messages_getSavedHistory {
|
|
|
11053
11379
|
}
|
|
11054
11380
|
export interface messages_deleteSavedHistory {
|
|
11055
11381
|
_: "messages.deleteSavedHistory";
|
|
11382
|
+
parent_peer?: InputPeer;
|
|
11056
11383
|
peer: InputPeer;
|
|
11057
11384
|
max_id: number;
|
|
11058
11385
|
min_date?: number;
|
|
@@ -11218,25 +11545,26 @@ export interface messages_getPaidReactionPrivacy {
|
|
|
11218
11545
|
}
|
|
11219
11546
|
export interface messages_viewSponsoredMessage {
|
|
11220
11547
|
_: "messages.viewSponsoredMessage";
|
|
11221
|
-
random_id: Uint8Array
|
|
11548
|
+
random_id: Uint8Array<ArrayBuffer>;
|
|
11222
11549
|
[R]?: boolean;
|
|
11223
11550
|
}
|
|
11224
11551
|
export interface messages_clickSponsoredMessage {
|
|
11225
11552
|
_: "messages.clickSponsoredMessage";
|
|
11226
11553
|
media?: true;
|
|
11227
11554
|
fullscreen?: true;
|
|
11228
|
-
random_id: Uint8Array
|
|
11555
|
+
random_id: Uint8Array<ArrayBuffer>;
|
|
11229
11556
|
[R]?: boolean;
|
|
11230
11557
|
}
|
|
11231
11558
|
export interface messages_reportSponsoredMessage {
|
|
11232
11559
|
_: "messages.reportSponsoredMessage";
|
|
11233
|
-
random_id: Uint8Array
|
|
11234
|
-
option: Uint8Array
|
|
11560
|
+
random_id: Uint8Array<ArrayBuffer>;
|
|
11561
|
+
option: Uint8Array<ArrayBuffer>;
|
|
11235
11562
|
[R]?: channels_SponsoredMessageReportResult;
|
|
11236
11563
|
}
|
|
11237
11564
|
export interface messages_getSponsoredMessages {
|
|
11238
11565
|
_: "messages.getSponsoredMessages";
|
|
11239
11566
|
peer: InputPeer;
|
|
11567
|
+
msg_id?: number;
|
|
11240
11568
|
[R]?: messages_SponsoredMessages;
|
|
11241
11569
|
}
|
|
11242
11570
|
export interface messages_savePreparedInlineMessage {
|
|
@@ -11270,6 +11598,43 @@ export interface messages_reportMessagesDelivery {
|
|
|
11270
11598
|
id: Array<number>;
|
|
11271
11599
|
[R]?: boolean;
|
|
11272
11600
|
}
|
|
11601
|
+
export interface messages_getSavedDialogsByID {
|
|
11602
|
+
_: "messages.getSavedDialogsByID";
|
|
11603
|
+
parent_peer?: InputPeer;
|
|
11604
|
+
ids: Array<InputPeer>;
|
|
11605
|
+
[R]?: messages_SavedDialogs;
|
|
11606
|
+
}
|
|
11607
|
+
export interface messages_readSavedHistory {
|
|
11608
|
+
_: "messages.readSavedHistory";
|
|
11609
|
+
parent_peer: InputPeer;
|
|
11610
|
+
peer: InputPeer;
|
|
11611
|
+
max_id: number;
|
|
11612
|
+
[R]?: boolean;
|
|
11613
|
+
}
|
|
11614
|
+
export interface messages_toggleTodoCompleted {
|
|
11615
|
+
_: "messages.toggleTodoCompleted";
|
|
11616
|
+
peer: InputPeer;
|
|
11617
|
+
msg_id: number;
|
|
11618
|
+
completed: Array<number>;
|
|
11619
|
+
incompleted: Array<number>;
|
|
11620
|
+
[R]?: Updates;
|
|
11621
|
+
}
|
|
11622
|
+
export interface messages_appendTodoList {
|
|
11623
|
+
_: "messages.appendTodoList";
|
|
11624
|
+
peer: InputPeer;
|
|
11625
|
+
msg_id: number;
|
|
11626
|
+
list: Array<TodoItem>;
|
|
11627
|
+
[R]?: Updates;
|
|
11628
|
+
}
|
|
11629
|
+
export interface messages_toggleSuggestedPostApproval {
|
|
11630
|
+
_: "messages.toggleSuggestedPostApproval";
|
|
11631
|
+
reject?: true;
|
|
11632
|
+
peer: InputPeer;
|
|
11633
|
+
msg_id: number;
|
|
11634
|
+
schedule_date?: number;
|
|
11635
|
+
reject_comment?: string;
|
|
11636
|
+
[R]?: Updates;
|
|
11637
|
+
}
|
|
11273
11638
|
export interface updates_getState {
|
|
11274
11639
|
_: "updates.getState";
|
|
11275
11640
|
[R]?: updates_State;
|
|
@@ -11338,7 +11703,7 @@ export interface upload_saveFilePart {
|
|
|
11338
11703
|
_: "upload.saveFilePart";
|
|
11339
11704
|
file_id: bigint;
|
|
11340
11705
|
file_part: number;
|
|
11341
|
-
bytes: Uint8Array
|
|
11706
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
11342
11707
|
[R]?: boolean;
|
|
11343
11708
|
}
|
|
11344
11709
|
export interface upload_getFile {
|
|
@@ -11355,7 +11720,7 @@ export interface upload_saveBigFilePart {
|
|
|
11355
11720
|
file_id: bigint;
|
|
11356
11721
|
file_part: number;
|
|
11357
11722
|
file_total_parts: number;
|
|
11358
|
-
bytes: Uint8Array
|
|
11723
|
+
bytes: Uint8Array<ArrayBuffer>;
|
|
11359
11724
|
[R]?: boolean;
|
|
11360
11725
|
}
|
|
11361
11726
|
export interface upload_getWebFile {
|
|
@@ -11367,20 +11732,20 @@ export interface upload_getWebFile {
|
|
|
11367
11732
|
}
|
|
11368
11733
|
export interface upload_getCdnFile {
|
|
11369
11734
|
_: "upload.getCdnFile";
|
|
11370
|
-
file_token: Uint8Array
|
|
11735
|
+
file_token: Uint8Array<ArrayBuffer>;
|
|
11371
11736
|
offset: bigint;
|
|
11372
11737
|
limit: number;
|
|
11373
11738
|
[R]?: upload_CdnFile;
|
|
11374
11739
|
}
|
|
11375
11740
|
export interface upload_reuploadCdnFile {
|
|
11376
11741
|
_: "upload.reuploadCdnFile";
|
|
11377
|
-
file_token: Uint8Array
|
|
11378
|
-
request_token: Uint8Array
|
|
11742
|
+
file_token: Uint8Array<ArrayBuffer>;
|
|
11743
|
+
request_token: Uint8Array<ArrayBuffer>;
|
|
11379
11744
|
[R]?: Array<FileHash>;
|
|
11380
11745
|
}
|
|
11381
11746
|
export interface upload_getCdnFileHashes {
|
|
11382
11747
|
_: "upload.getCdnFileHashes";
|
|
11383
|
-
file_token: Uint8Array
|
|
11748
|
+
file_token: Uint8Array<ArrayBuffer>;
|
|
11384
11749
|
offset: bigint;
|
|
11385
11750
|
[R]?: Array<FileHash>;
|
|
11386
11751
|
}
|
|
@@ -11782,6 +12147,7 @@ export interface channels_toggleForum {
|
|
|
11782
12147
|
_: "channels.toggleForum";
|
|
11783
12148
|
channel: InputChannel;
|
|
11784
12149
|
enabled: boolean;
|
|
12150
|
+
tabs: boolean;
|
|
11785
12151
|
[R]?: Updates;
|
|
11786
12152
|
}
|
|
11787
12153
|
export interface channels_createForumTopic {
|
|
@@ -11903,15 +12269,18 @@ export interface channels_restrictSponsoredMessages {
|
|
|
11903
12269
|
}
|
|
11904
12270
|
export interface channels_searchPosts {
|
|
11905
12271
|
_: "channels.searchPosts";
|
|
11906
|
-
hashtag
|
|
12272
|
+
hashtag?: string;
|
|
12273
|
+
query?: string;
|
|
11907
12274
|
offset_rate: number;
|
|
11908
12275
|
offset_peer: InputPeer;
|
|
11909
12276
|
offset_id: number;
|
|
11910
12277
|
limit: number;
|
|
12278
|
+
allow_paid_stars?: bigint;
|
|
11911
12279
|
[R]?: messages_Messages;
|
|
11912
12280
|
}
|
|
11913
12281
|
export interface channels_updatePaidMessagesPrice {
|
|
11914
12282
|
_: "channels.updatePaidMessagesPrice";
|
|
12283
|
+
broadcast_messages_allowed?: true;
|
|
11915
12284
|
channel: InputChannel;
|
|
11916
12285
|
send_paid_messages_stars: bigint;
|
|
11917
12286
|
[R]?: Updates;
|
|
@@ -11922,6 +12291,23 @@ export interface channels_toggleAutotranslation {
|
|
|
11922
12291
|
enabled: boolean;
|
|
11923
12292
|
[R]?: Updates;
|
|
11924
12293
|
}
|
|
12294
|
+
export interface channels_getMessageAuthor {
|
|
12295
|
+
_: "channels.getMessageAuthor";
|
|
12296
|
+
channel: InputChannel;
|
|
12297
|
+
id: number;
|
|
12298
|
+
[R]?: User;
|
|
12299
|
+
}
|
|
12300
|
+
export interface channels_checkSearchPostsFlood {
|
|
12301
|
+
_: "channels.checkSearchPostsFlood";
|
|
12302
|
+
query?: string;
|
|
12303
|
+
[R]?: SearchPostsFlood;
|
|
12304
|
+
}
|
|
12305
|
+
export interface channels_setMainProfileTab {
|
|
12306
|
+
_: "channels.setMainProfileTab";
|
|
12307
|
+
channel: InputChannel;
|
|
12308
|
+
tab: ProfileTab;
|
|
12309
|
+
[R]?: boolean;
|
|
12310
|
+
}
|
|
11925
12311
|
export interface bots_sendCustomRequest {
|
|
11926
12312
|
_: "bots.sendCustomRequest";
|
|
11927
12313
|
custom_method: string;
|
|
@@ -12159,7 +12545,7 @@ export interface payments_exportInvoice {
|
|
|
12159
12545
|
}
|
|
12160
12546
|
export interface payments_assignAppStoreTransaction {
|
|
12161
12547
|
_: "payments.assignAppStoreTransaction";
|
|
12162
|
-
receipt: Uint8Array
|
|
12548
|
+
receipt: Uint8Array<ArrayBuffer>;
|
|
12163
12549
|
purpose: InputStorePaymentPurpose;
|
|
12164
12550
|
[R]?: Updates;
|
|
12165
12551
|
}
|
|
@@ -12203,6 +12589,7 @@ export interface payments_getStarsTopupOptions {
|
|
|
12203
12589
|
}
|
|
12204
12590
|
export interface payments_getStarsStatus {
|
|
12205
12591
|
_: "payments.getStarsStatus";
|
|
12592
|
+
ton?: true;
|
|
12206
12593
|
peer: InputPeer;
|
|
12207
12594
|
[R]?: payments_StarsStatus;
|
|
12208
12595
|
}
|
|
@@ -12211,6 +12598,7 @@ export interface payments_getStarsTransactions {
|
|
|
12211
12598
|
inbound?: true;
|
|
12212
12599
|
outbound?: true;
|
|
12213
12600
|
ascending?: true;
|
|
12601
|
+
ton?: true;
|
|
12214
12602
|
subscription_id?: string;
|
|
12215
12603
|
peer: InputPeer;
|
|
12216
12604
|
offset: string;
|
|
@@ -12232,13 +12620,15 @@ export interface payments_refundStarsCharge {
|
|
|
12232
12620
|
export interface payments_getStarsRevenueStats {
|
|
12233
12621
|
_: "payments.getStarsRevenueStats";
|
|
12234
12622
|
dark?: true;
|
|
12623
|
+
ton?: true;
|
|
12235
12624
|
peer: InputPeer;
|
|
12236
12625
|
[R]?: payments_StarsRevenueStats;
|
|
12237
12626
|
}
|
|
12238
12627
|
export interface payments_getStarsRevenueWithdrawalUrl {
|
|
12239
12628
|
_: "payments.getStarsRevenueWithdrawalUrl";
|
|
12629
|
+
ton?: true;
|
|
12240
12630
|
peer: InputPeer;
|
|
12241
|
-
|
|
12631
|
+
amount?: bigint;
|
|
12242
12632
|
password: InputCheckPasswordSRP;
|
|
12243
12633
|
[R]?: payments_StarsRevenueWithdrawalUrl;
|
|
12244
12634
|
}
|
|
@@ -12249,6 +12639,7 @@ export interface payments_getStarsRevenueAdsAccountUrl {
|
|
|
12249
12639
|
}
|
|
12250
12640
|
export interface payments_getStarsTransactionsByID {
|
|
12251
12641
|
_: "payments.getStarsTransactionsByID";
|
|
12642
|
+
ton?: true;
|
|
12252
12643
|
peer: InputPeer;
|
|
12253
12644
|
id: Array<InputStarsTransaction>;
|
|
12254
12645
|
[R]?: payments_StarsStatus;
|
|
@@ -12368,10 +12759,12 @@ export interface payments_getSavedStarGifts {
|
|
|
12368
12759
|
exclude_unsaved?: true;
|
|
12369
12760
|
exclude_saved?: true;
|
|
12370
12761
|
exclude_unlimited?: true;
|
|
12371
|
-
exclude_limited?: true;
|
|
12372
12762
|
exclude_unique?: true;
|
|
12373
12763
|
sort_by_value?: true;
|
|
12764
|
+
exclude_upgradable?: true;
|
|
12765
|
+
exclude_unupgradable?: true;
|
|
12374
12766
|
peer: InputPeer;
|
|
12767
|
+
collection_id?: number;
|
|
12375
12768
|
offset: string;
|
|
12376
12769
|
limit: number;
|
|
12377
12770
|
[R]?: payments_SavedStarGifts;
|
|
@@ -12418,9 +12811,54 @@ export interface payments_getResaleStarGifts {
|
|
|
12418
12811
|
export interface payments_updateStarGiftPrice {
|
|
12419
12812
|
_: "payments.updateStarGiftPrice";
|
|
12420
12813
|
stargift: InputSavedStarGift;
|
|
12421
|
-
|
|
12814
|
+
resell_amount: StarsAmount;
|
|
12422
12815
|
[R]?: Updates;
|
|
12423
12816
|
}
|
|
12817
|
+
export interface payments_createStarGiftCollection {
|
|
12818
|
+
_: "payments.createStarGiftCollection";
|
|
12819
|
+
peer: InputPeer;
|
|
12820
|
+
title: string;
|
|
12821
|
+
stargift: Array<InputSavedStarGift>;
|
|
12822
|
+
[R]?: StarGiftCollection;
|
|
12823
|
+
}
|
|
12824
|
+
export interface payments_updateStarGiftCollection {
|
|
12825
|
+
_: "payments.updateStarGiftCollection";
|
|
12826
|
+
peer: InputPeer;
|
|
12827
|
+
collection_id: number;
|
|
12828
|
+
title?: string;
|
|
12829
|
+
delete_stargift?: Array<InputSavedStarGift>;
|
|
12830
|
+
add_stargift?: Array<InputSavedStarGift>;
|
|
12831
|
+
order?: Array<InputSavedStarGift>;
|
|
12832
|
+
[R]?: StarGiftCollection;
|
|
12833
|
+
}
|
|
12834
|
+
export interface payments_reorderStarGiftCollections {
|
|
12835
|
+
_: "payments.reorderStarGiftCollections";
|
|
12836
|
+
peer: InputPeer;
|
|
12837
|
+
order: Array<number>;
|
|
12838
|
+
[R]?: boolean;
|
|
12839
|
+
}
|
|
12840
|
+
export interface payments_deleteStarGiftCollection {
|
|
12841
|
+
_: "payments.deleteStarGiftCollection";
|
|
12842
|
+
peer: InputPeer;
|
|
12843
|
+
collection_id: number;
|
|
12844
|
+
[R]?: boolean;
|
|
12845
|
+
}
|
|
12846
|
+
export interface payments_getStarGiftCollections {
|
|
12847
|
+
_: "payments.getStarGiftCollections";
|
|
12848
|
+
peer: InputPeer;
|
|
12849
|
+
hash: bigint;
|
|
12850
|
+
[R]?: payments_StarGiftCollections;
|
|
12851
|
+
}
|
|
12852
|
+
export interface payments_getUniqueStarGiftValueInfo {
|
|
12853
|
+
_: "payments.getUniqueStarGiftValueInfo";
|
|
12854
|
+
slug: string;
|
|
12855
|
+
[R]?: payments_UniqueStarGiftValueInfo;
|
|
12856
|
+
}
|
|
12857
|
+
export interface payments_checkCanSendGift {
|
|
12858
|
+
_: "payments.checkCanSendGift";
|
|
12859
|
+
gift_id: bigint;
|
|
12860
|
+
[R]?: payments_CheckCanSendGiftResult;
|
|
12861
|
+
}
|
|
12424
12862
|
export interface stickers_createStickerSet {
|
|
12425
12863
|
_: "stickers.createStickerSet";
|
|
12426
12864
|
masks?: true;
|
|
@@ -12502,21 +12940,21 @@ export interface phone_requestCall {
|
|
|
12502
12940
|
video?: true;
|
|
12503
12941
|
user_id: InputUser;
|
|
12504
12942
|
random_id: number;
|
|
12505
|
-
g_a_hash: Uint8Array
|
|
12943
|
+
g_a_hash: Uint8Array<ArrayBuffer>;
|
|
12506
12944
|
protocol: PhoneCallProtocol;
|
|
12507
12945
|
[R]?: phone_PhoneCall;
|
|
12508
12946
|
}
|
|
12509
12947
|
export interface phone_acceptCall {
|
|
12510
12948
|
_: "phone.acceptCall";
|
|
12511
12949
|
peer: InputPhoneCall;
|
|
12512
|
-
g_b: Uint8Array
|
|
12950
|
+
g_b: Uint8Array<ArrayBuffer>;
|
|
12513
12951
|
protocol: PhoneCallProtocol;
|
|
12514
12952
|
[R]?: phone_PhoneCall;
|
|
12515
12953
|
}
|
|
12516
12954
|
export interface phone_confirmCall {
|
|
12517
12955
|
_: "phone.confirmCall";
|
|
12518
12956
|
peer: InputPhoneCall;
|
|
12519
|
-
g_a: Uint8Array
|
|
12957
|
+
g_a: Uint8Array<ArrayBuffer>;
|
|
12520
12958
|
key_fingerprint: bigint;
|
|
12521
12959
|
protocol: PhoneCallProtocol;
|
|
12522
12960
|
[R]?: phone_PhoneCall;
|
|
@@ -12552,7 +12990,7 @@ export interface phone_saveCallDebug {
|
|
|
12552
12990
|
export interface phone_sendSignalingData {
|
|
12553
12991
|
_: "phone.sendSignalingData";
|
|
12554
12992
|
peer: InputPhoneCall;
|
|
12555
|
-
data: Uint8Array
|
|
12993
|
+
data: Uint8Array<ArrayBuffer>;
|
|
12556
12994
|
[R]?: boolean;
|
|
12557
12995
|
}
|
|
12558
12996
|
export interface phone_createGroupCall {
|
|
@@ -12572,7 +13010,7 @@ export interface phone_joinGroupCall {
|
|
|
12572
13010
|
join_as: InputPeer;
|
|
12573
13011
|
invite_hash?: string;
|
|
12574
13012
|
public_key?: bigint;
|
|
12575
|
-
block?: Uint8Array
|
|
13013
|
+
block?: Uint8Array<ArrayBuffer>;
|
|
12576
13014
|
params: DataJSON;
|
|
12577
13015
|
[R]?: Updates;
|
|
12578
13016
|
}
|
|
@@ -12711,7 +13149,7 @@ export interface phone_createConferenceCall {
|
|
|
12711
13149
|
join?: true;
|
|
12712
13150
|
random_id: number;
|
|
12713
13151
|
public_key?: bigint;
|
|
12714
|
-
block?: Uint8Array
|
|
13152
|
+
block?: Uint8Array<ArrayBuffer>;
|
|
12715
13153
|
params?: DataJSON;
|
|
12716
13154
|
[R]?: Updates;
|
|
12717
13155
|
}
|
|
@@ -12721,13 +13159,13 @@ export interface phone_deleteConferenceCallParticipants {
|
|
|
12721
13159
|
kick?: true;
|
|
12722
13160
|
call: InputGroupCall;
|
|
12723
13161
|
ids: Array<bigint>;
|
|
12724
|
-
block: Uint8Array
|
|
13162
|
+
block: Uint8Array<ArrayBuffer>;
|
|
12725
13163
|
[R]?: Updates;
|
|
12726
13164
|
}
|
|
12727
13165
|
export interface phone_sendConferenceCallBroadcast {
|
|
12728
13166
|
_: "phone.sendConferenceCallBroadcast";
|
|
12729
13167
|
call: InputGroupCall;
|
|
12730
|
-
block: Uint8Array
|
|
13168
|
+
block: Uint8Array<ArrayBuffer>;
|
|
12731
13169
|
[R]?: Updates;
|
|
12732
13170
|
}
|
|
12733
13171
|
export interface phone_inviteConferenceCallParticipant {
|
|
@@ -12834,25 +13272,6 @@ export interface stats_getStoryPublicForwards {
|
|
|
12834
13272
|
limit: number;
|
|
12835
13273
|
[R]?: stats_PublicForwards;
|
|
12836
13274
|
}
|
|
12837
|
-
export interface stats_getBroadcastRevenueStats {
|
|
12838
|
-
_: "stats.getBroadcastRevenueStats";
|
|
12839
|
-
dark?: true;
|
|
12840
|
-
peer: InputPeer;
|
|
12841
|
-
[R]?: stats_BroadcastRevenueStats;
|
|
12842
|
-
}
|
|
12843
|
-
export interface stats_getBroadcastRevenueWithdrawalUrl {
|
|
12844
|
-
_: "stats.getBroadcastRevenueWithdrawalUrl";
|
|
12845
|
-
peer: InputPeer;
|
|
12846
|
-
password: InputCheckPasswordSRP;
|
|
12847
|
-
[R]?: stats_BroadcastRevenueWithdrawalUrl;
|
|
12848
|
-
}
|
|
12849
|
-
export interface stats_getBroadcastRevenueTransactions {
|
|
12850
|
-
_: "stats.getBroadcastRevenueTransactions";
|
|
12851
|
-
peer: InputPeer;
|
|
12852
|
-
offset: number;
|
|
12853
|
-
limit: number;
|
|
12854
|
-
[R]?: stats_BroadcastRevenueTransactions;
|
|
12855
|
-
}
|
|
12856
13275
|
export interface chatlists_exportChatlistInvite {
|
|
12857
13276
|
_: "chatlists.exportChatlistInvite";
|
|
12858
13277
|
chatlist: InputChatlist;
|
|
@@ -12937,6 +13356,7 @@ export interface stories_sendStory {
|
|
|
12937
13356
|
period?: number;
|
|
12938
13357
|
fwd_from_id?: InputPeer;
|
|
12939
13358
|
fwd_from_story?: number;
|
|
13359
|
+
albums?: Array<number>;
|
|
12940
13360
|
[R]?: Updates;
|
|
12941
13361
|
}
|
|
12942
13362
|
export interface stories_editStory {
|
|
@@ -13035,7 +13455,7 @@ export interface stories_report {
|
|
|
13035
13455
|
_: "stories.report";
|
|
13036
13456
|
peer: InputPeer;
|
|
13037
13457
|
id: Array<number>;
|
|
13038
|
-
option: Uint8Array
|
|
13458
|
+
option: Uint8Array<ArrayBuffer>;
|
|
13039
13459
|
message: string;
|
|
13040
13460
|
[R]?: ReportResult;
|
|
13041
13461
|
}
|
|
@@ -13102,6 +13522,49 @@ export interface stories_searchPosts {
|
|
|
13102
13522
|
limit: number;
|
|
13103
13523
|
[R]?: stories_FoundStories;
|
|
13104
13524
|
}
|
|
13525
|
+
export interface stories_createAlbum {
|
|
13526
|
+
_: "stories.createAlbum";
|
|
13527
|
+
peer: InputPeer;
|
|
13528
|
+
title: string;
|
|
13529
|
+
stories: Array<number>;
|
|
13530
|
+
[R]?: StoryAlbum;
|
|
13531
|
+
}
|
|
13532
|
+
export interface stories_updateAlbum {
|
|
13533
|
+
_: "stories.updateAlbum";
|
|
13534
|
+
peer: InputPeer;
|
|
13535
|
+
album_id: number;
|
|
13536
|
+
title?: string;
|
|
13537
|
+
delete_stories?: Array<number>;
|
|
13538
|
+
add_stories?: Array<number>;
|
|
13539
|
+
order?: Array<number>;
|
|
13540
|
+
[R]?: StoryAlbum;
|
|
13541
|
+
}
|
|
13542
|
+
export interface stories_reorderAlbums {
|
|
13543
|
+
_: "stories.reorderAlbums";
|
|
13544
|
+
peer: InputPeer;
|
|
13545
|
+
order: Array<number>;
|
|
13546
|
+
[R]?: boolean;
|
|
13547
|
+
}
|
|
13548
|
+
export interface stories_deleteAlbum {
|
|
13549
|
+
_: "stories.deleteAlbum";
|
|
13550
|
+
peer: InputPeer;
|
|
13551
|
+
album_id: number;
|
|
13552
|
+
[R]?: boolean;
|
|
13553
|
+
}
|
|
13554
|
+
export interface stories_getAlbums {
|
|
13555
|
+
_: "stories.getAlbums";
|
|
13556
|
+
peer: InputPeer;
|
|
13557
|
+
hash: bigint;
|
|
13558
|
+
[R]?: stories_Albums;
|
|
13559
|
+
}
|
|
13560
|
+
export interface stories_getAlbumStories {
|
|
13561
|
+
_: "stories.getAlbumStories";
|
|
13562
|
+
peer: InputPeer;
|
|
13563
|
+
album_id: number;
|
|
13564
|
+
offset: number;
|
|
13565
|
+
limit: number;
|
|
13566
|
+
[R]?: stories_Stories;
|
|
13567
|
+
}
|
|
13105
13568
|
export interface premium_getBoostsList {
|
|
13106
13569
|
_: "premium.getBoostsList";
|
|
13107
13570
|
gifts?: true;
|
|
@@ -13205,6 +13668,7 @@ export interface Types {
|
|
|
13205
13668
|
"inputMediaStory": inputMediaStory;
|
|
13206
13669
|
"inputMediaWebPage": inputMediaWebPage;
|
|
13207
13670
|
"inputMediaPaidMedia": inputMediaPaidMedia;
|
|
13671
|
+
"inputMediaTodo": inputMediaTodo;
|
|
13208
13672
|
"inputChatPhotoEmpty": inputChatPhotoEmpty;
|
|
13209
13673
|
"inputChatUploadedPhoto": inputChatUploadedPhoto;
|
|
13210
13674
|
"inputChatPhoto": inputChatPhoto;
|
|
@@ -13279,6 +13743,7 @@ export interface Types {
|
|
|
13279
13743
|
"messageMediaGiveaway": messageMediaGiveaway;
|
|
13280
13744
|
"messageMediaGiveawayResults": messageMediaGiveawayResults;
|
|
13281
13745
|
"messageMediaPaidMedia": messageMediaPaidMedia;
|
|
13746
|
+
"messageMediaToDo": messageMediaToDo;
|
|
13282
13747
|
"messageActionEmpty": messageActionEmpty;
|
|
13283
13748
|
"messageActionChatCreate": messageActionChatCreate;
|
|
13284
13749
|
"messageActionChatEditTitle": messageActionChatEditTitle;
|
|
@@ -13330,6 +13795,12 @@ export interface Types {
|
|
|
13330
13795
|
"messageActionPaidMessagesRefunded": messageActionPaidMessagesRefunded;
|
|
13331
13796
|
"messageActionPaidMessagesPrice": messageActionPaidMessagesPrice;
|
|
13332
13797
|
"messageActionConferenceCall": messageActionConferenceCall;
|
|
13798
|
+
"messageActionTodoCompletions": messageActionTodoCompletions;
|
|
13799
|
+
"messageActionTodoAppendTasks": messageActionTodoAppendTasks;
|
|
13800
|
+
"messageActionSuggestedPostApproval": messageActionSuggestedPostApproval;
|
|
13801
|
+
"messageActionSuggestedPostSuccess": messageActionSuggestedPostSuccess;
|
|
13802
|
+
"messageActionSuggestedPostRefund": messageActionSuggestedPostRefund;
|
|
13803
|
+
"messageActionGiftTon": messageActionGiftTon;
|
|
13333
13804
|
"dialog": dialog;
|
|
13334
13805
|
"dialogFolder": dialogFolder;
|
|
13335
13806
|
"photoEmpty": photoEmpty;
|
|
@@ -13540,7 +14011,6 @@ export interface Types {
|
|
|
13540
14011
|
"updateBotEditBusinessMessage": updateBotEditBusinessMessage;
|
|
13541
14012
|
"updateBotDeleteBusinessMessage": updateBotDeleteBusinessMessage;
|
|
13542
14013
|
"updateNewStoryReaction": updateNewStoryReaction;
|
|
13543
|
-
"updateBroadcastRevenueTransactions": updateBroadcastRevenueTransactions;
|
|
13544
14014
|
"updateStarsBalance": updateStarsBalance;
|
|
13545
14015
|
"updateBusinessBotCallbackQuery": updateBusinessBotCallbackQuery;
|
|
13546
14016
|
"updateStarsRevenueStatus": updateStarsRevenueStatus;
|
|
@@ -13548,6 +14018,9 @@ export interface Types {
|
|
|
13548
14018
|
"updatePaidReactionPrivacy": updatePaidReactionPrivacy;
|
|
13549
14019
|
"updateSentPhoneCode": updateSentPhoneCode;
|
|
13550
14020
|
"updateGroupCallChainBlocks": updateGroupCallChainBlocks;
|
|
14021
|
+
"updateReadMonoForumInbox": updateReadMonoForumInbox;
|
|
14022
|
+
"updateReadMonoForumOutbox": updateReadMonoForumOutbox;
|
|
14023
|
+
"updateMonoForumNoPaidException": updateMonoForumNoPaidException;
|
|
13551
14024
|
"updates.state": updates_state;
|
|
13552
14025
|
"updates.differenceEmpty": updates_differenceEmpty;
|
|
13553
14026
|
"updates.difference": updates_difference;
|
|
@@ -13711,6 +14184,7 @@ export interface Types {
|
|
|
13711
14184
|
"inputStickerSetEmojiDefaultStatuses": inputStickerSetEmojiDefaultStatuses;
|
|
13712
14185
|
"inputStickerSetEmojiDefaultTopicIcons": inputStickerSetEmojiDefaultTopicIcons;
|
|
13713
14186
|
"inputStickerSetEmojiChannelDefaultStatuses": inputStickerSetEmojiChannelDefaultStatuses;
|
|
14187
|
+
"inputStickerSetTonGifts": inputStickerSetTonGifts;
|
|
13714
14188
|
"stickerSet": stickerSet;
|
|
13715
14189
|
"messages.stickerSet": messages_stickerSet;
|
|
13716
14190
|
"messages.stickerSetNotModified": messages_stickerSetNotModified;
|
|
@@ -14177,6 +14651,7 @@ export interface Types {
|
|
|
14177
14651
|
"webPageAttributeStory": webPageAttributeStory;
|
|
14178
14652
|
"webPageAttributeStickerSet": webPageAttributeStickerSet;
|
|
14179
14653
|
"webPageAttributeUniqueStarGift": webPageAttributeUniqueStarGift;
|
|
14654
|
+
"webPageAttributeStarGiftCollection": webPageAttributeStarGiftCollection;
|
|
14180
14655
|
"messages.votesList": messages_votesList;
|
|
14181
14656
|
"bankCardOpenUrl": bankCardOpenUrl;
|
|
14182
14657
|
"payments.bankCardData": payments_bankCardData;
|
|
@@ -14253,6 +14728,10 @@ export interface Types {
|
|
|
14253
14728
|
"account.resetPasswordFailedWait": account_resetPasswordFailedWait;
|
|
14254
14729
|
"account.resetPasswordRequestedWait": account_resetPasswordRequestedWait;
|
|
14255
14730
|
"account.resetPasswordOk": account_resetPasswordOk;
|
|
14731
|
+
"chatTheme": chatTheme;
|
|
14732
|
+
"chatThemeUniqueGift": chatThemeUniqueGift;
|
|
14733
|
+
"account.chatThemesNotModified": account_chatThemesNotModified;
|
|
14734
|
+
"account.chatThemes": account_chatThemes;
|
|
14256
14735
|
"sponsoredMessage": sponsoredMessage;
|
|
14257
14736
|
"messages.sponsoredMessages": messages_sponsoredMessages;
|
|
14258
14737
|
"messages.sponsoredMessagesEmpty": messages_sponsoredMessagesEmpty;
|
|
@@ -14309,6 +14788,7 @@ export interface Types {
|
|
|
14309
14788
|
"inputInvoicePremiumGiftStars": inputInvoicePremiumGiftStars;
|
|
14310
14789
|
"inputInvoiceBusinessBotTransferStars": inputInvoiceBusinessBotTransferStars;
|
|
14311
14790
|
"inputInvoiceStarGiftResale": inputInvoiceStarGiftResale;
|
|
14791
|
+
"inputInvoiceStarGiftPrepaidUpgrade": inputInvoiceStarGiftPrepaidUpgrade;
|
|
14312
14792
|
"payments.exportedInvoice": payments_exportedInvoice;
|
|
14313
14793
|
"messages.transcribedAudio": messages_transcribedAudio;
|
|
14314
14794
|
"help.premiumPromo": help_premiumPromo;
|
|
@@ -14404,6 +14884,7 @@ export interface Types {
|
|
|
14404
14884
|
"stories.storyViews": stories_storyViews;
|
|
14405
14885
|
"inputReplyToMessage": inputReplyToMessage;
|
|
14406
14886
|
"inputReplyToStory": inputReplyToStory;
|
|
14887
|
+
"inputReplyToMonoForum": inputReplyToMonoForum;
|
|
14407
14888
|
"exportedStoryLink": exportedStoryLink;
|
|
14408
14889
|
"storiesStealthMode": storiesStealthMode;
|
|
14409
14890
|
"mediaAreaCoordinates": mediaAreaCoordinates;
|
|
@@ -14448,6 +14929,7 @@ export interface Types {
|
|
|
14448
14929
|
"storyReactionPublicRepost": storyReactionPublicRepost;
|
|
14449
14930
|
"stories.storyReactionsList": stories_storyReactionsList;
|
|
14450
14931
|
"savedDialog": savedDialog;
|
|
14932
|
+
"monoForumDialog": monoForumDialog;
|
|
14451
14933
|
"messages.savedDialogs": messages_savedDialogs;
|
|
14452
14934
|
"messages.savedDialogsSlice": messages_savedDialogsSlice;
|
|
14453
14935
|
"messages.savedDialogsNotModified": messages_savedDialogsNotModified;
|
|
@@ -14506,16 +14988,9 @@ export interface Types {
|
|
|
14506
14988
|
"channels.sponsoredMessageReportResultChooseOption": channels_sponsoredMessageReportResultChooseOption;
|
|
14507
14989
|
"channels.sponsoredMessageReportResultAdsHidden": channels_sponsoredMessageReportResultAdsHidden;
|
|
14508
14990
|
"channels.sponsoredMessageReportResultReported": channels_sponsoredMessageReportResultReported;
|
|
14509
|
-
"stats.broadcastRevenueStats": stats_broadcastRevenueStats;
|
|
14510
|
-
"stats.broadcastRevenueWithdrawalUrl": stats_broadcastRevenueWithdrawalUrl;
|
|
14511
|
-
"broadcastRevenueTransactionProceeds": broadcastRevenueTransactionProceeds;
|
|
14512
|
-
"broadcastRevenueTransactionWithdrawal": broadcastRevenueTransactionWithdrawal;
|
|
14513
|
-
"broadcastRevenueTransactionRefund": broadcastRevenueTransactionRefund;
|
|
14514
|
-
"stats.broadcastRevenueTransactions": stats_broadcastRevenueTransactions;
|
|
14515
14991
|
"reactionNotificationsFromContacts": reactionNotificationsFromContacts;
|
|
14516
14992
|
"reactionNotificationsFromAll": reactionNotificationsFromAll;
|
|
14517
14993
|
"reactionsNotifySettings": reactionsNotifySettings;
|
|
14518
|
-
"broadcastRevenueBalances": broadcastRevenueBalances;
|
|
14519
14994
|
"availableEffect": availableEffect;
|
|
14520
14995
|
"messages.availableEffectsNotModified": messages_availableEffectsNotModified;
|
|
14521
14996
|
"messages.availableEffects": messages_availableEffects;
|
|
@@ -14564,6 +15039,7 @@ export interface Types {
|
|
|
14564
15039
|
"payments.connectedStarRefBots": payments_connectedStarRefBots;
|
|
14565
15040
|
"payments.suggestedStarRefBots": payments_suggestedStarRefBots;
|
|
14566
15041
|
"starsAmount": starsAmount;
|
|
15042
|
+
"starsTonAmount": starsTonAmount;
|
|
14567
15043
|
"messages.foundStickersNotModified": messages_foundStickersNotModified;
|
|
14568
15044
|
"messages.foundStickers": messages_foundStickers;
|
|
14569
15045
|
"botVerifierSettings": botVerifierSettings;
|
|
@@ -14602,6 +15078,36 @@ export interface Types {
|
|
|
14602
15078
|
"payments.resaleStarGifts": payments_resaleStarGifts;
|
|
14603
15079
|
"stories.canSendStoryCount": stories_canSendStoryCount;
|
|
14604
15080
|
"pendingSuggestion": pendingSuggestion;
|
|
15081
|
+
"todoItem": todoItem;
|
|
15082
|
+
"todoList": todoList;
|
|
15083
|
+
"todoCompletion": todoCompletion;
|
|
15084
|
+
"suggestedPost": suggestedPost;
|
|
15085
|
+
"starsRating": starsRating;
|
|
15086
|
+
"starGiftCollection": starGiftCollection;
|
|
15087
|
+
"payments.starGiftCollectionsNotModified": payments_starGiftCollectionsNotModified;
|
|
15088
|
+
"payments.starGiftCollections": payments_starGiftCollections;
|
|
15089
|
+
"storyAlbum": storyAlbum;
|
|
15090
|
+
"stories.albumsNotModified": stories_albumsNotModified;
|
|
15091
|
+
"stories.albums": stories_albums;
|
|
15092
|
+
"searchPostsFlood": searchPostsFlood;
|
|
15093
|
+
"payments.uniqueStarGiftValueInfo": payments_uniqueStarGiftValueInfo;
|
|
15094
|
+
"profileTabPosts": profileTabPosts;
|
|
15095
|
+
"profileTabGifts": profileTabGifts;
|
|
15096
|
+
"profileTabMedia": profileTabMedia;
|
|
15097
|
+
"profileTabFiles": profileTabFiles;
|
|
15098
|
+
"profileTabMusic": profileTabMusic;
|
|
15099
|
+
"profileTabVoice": profileTabVoice;
|
|
15100
|
+
"profileTabLinks": profileTabLinks;
|
|
15101
|
+
"profileTabGifs": profileTabGifs;
|
|
15102
|
+
"users.savedMusicNotModified": users_savedMusicNotModified;
|
|
15103
|
+
"users.savedMusic": users_savedMusic;
|
|
15104
|
+
"account.savedMusicIdsNotModified": account_savedMusicIdsNotModified;
|
|
15105
|
+
"account.savedMusicIds": account_savedMusicIds;
|
|
15106
|
+
"payments.checkCanSendGiftResultOk": payments_checkCanSendGiftResultOk;
|
|
15107
|
+
"payments.checkCanSendGiftResultFail": payments_checkCanSendGiftResultFail;
|
|
15108
|
+
"inputChatThemeEmpty": inputChatThemeEmpty;
|
|
15109
|
+
"inputChatTheme": inputChatTheme;
|
|
15110
|
+
"inputChatThemeUniqueGift": inputChatThemeUniqueGift;
|
|
14605
15111
|
}
|
|
14606
15112
|
export interface Functions<T = Function> {
|
|
14607
15113
|
"invokeAfterMsg": invokeAfterMsg<T>;
|
|
@@ -14751,12 +15257,18 @@ export interface Functions<T = Function> {
|
|
|
14751
15257
|
"account.getReactionsNotifySettings": account_getReactionsNotifySettings;
|
|
14752
15258
|
"account.setReactionsNotifySettings": account_setReactionsNotifySettings;
|
|
14753
15259
|
"account.getCollectibleEmojiStatuses": account_getCollectibleEmojiStatuses;
|
|
14754
|
-
"account.addNoPaidMessagesException": account_addNoPaidMessagesException;
|
|
14755
15260
|
"account.getPaidMessagesRevenue": account_getPaidMessagesRevenue;
|
|
15261
|
+
"account.toggleNoPaidMessagesException": account_toggleNoPaidMessagesException;
|
|
15262
|
+
"account.setMainProfileTab": account_setMainProfileTab;
|
|
15263
|
+
"account.saveMusic": account_saveMusic;
|
|
15264
|
+
"account.getSavedMusicIds": account_getSavedMusicIds;
|
|
15265
|
+
"account.getUniqueGiftChatThemes": account_getUniqueGiftChatThemes;
|
|
14756
15266
|
"users.getUsers": users_getUsers;
|
|
14757
15267
|
"users.getFullUser": users_getFullUser;
|
|
14758
15268
|
"users.setSecureValueErrors": users_setSecureValueErrors;
|
|
14759
15269
|
"users.getRequirementsToContact": users_getRequirementsToContact;
|
|
15270
|
+
"users.getSavedMusic": users_getSavedMusic;
|
|
15271
|
+
"users.getSavedMusicByID": users_getSavedMusicByID;
|
|
14760
15272
|
"contacts.getContactIDs": contacts_getContactIDs;
|
|
14761
15273
|
"contacts.getStatuses": contacts_getStatuses;
|
|
14762
15274
|
"contacts.getContacts": contacts_getContacts;
|
|
@@ -15009,6 +15521,11 @@ export interface Functions<T = Function> {
|
|
|
15009
15521
|
"messages.getPreparedInlineMessage": messages_getPreparedInlineMessage;
|
|
15010
15522
|
"messages.searchStickers": messages_searchStickers;
|
|
15011
15523
|
"messages.reportMessagesDelivery": messages_reportMessagesDelivery;
|
|
15524
|
+
"messages.getSavedDialogsByID": messages_getSavedDialogsByID;
|
|
15525
|
+
"messages.readSavedHistory": messages_readSavedHistory;
|
|
15526
|
+
"messages.toggleTodoCompleted": messages_toggleTodoCompleted;
|
|
15527
|
+
"messages.appendTodoList": messages_appendTodoList;
|
|
15528
|
+
"messages.toggleSuggestedPostApproval": messages_toggleSuggestedPostApproval;
|
|
15012
15529
|
"updates.getState": updates_getState;
|
|
15013
15530
|
"updates.getDifference": updates_getDifference;
|
|
15014
15531
|
"updates.getChannelDifference": updates_getChannelDifference;
|
|
@@ -15113,6 +15630,9 @@ export interface Functions<T = Function> {
|
|
|
15113
15630
|
"channels.searchPosts": channels_searchPosts;
|
|
15114
15631
|
"channels.updatePaidMessagesPrice": channels_updatePaidMessagesPrice;
|
|
15115
15632
|
"channels.toggleAutotranslation": channels_toggleAutotranslation;
|
|
15633
|
+
"channels.getMessageAuthor": channels_getMessageAuthor;
|
|
15634
|
+
"channels.checkSearchPostsFlood": channels_checkSearchPostsFlood;
|
|
15635
|
+
"channels.setMainProfileTab": channels_setMainProfileTab;
|
|
15116
15636
|
"bots.sendCustomRequest": bots_sendCustomRequest;
|
|
15117
15637
|
"bots.answerWebhookJSONQuery": bots_answerWebhookJSONQuery;
|
|
15118
15638
|
"bots.setBotCommands": bots_setBotCommands;
|
|
@@ -15193,6 +15713,13 @@ export interface Functions<T = Function> {
|
|
|
15193
15713
|
"payments.canPurchaseStore": payments_canPurchaseStore;
|
|
15194
15714
|
"payments.getResaleStarGifts": payments_getResaleStarGifts;
|
|
15195
15715
|
"payments.updateStarGiftPrice": payments_updateStarGiftPrice;
|
|
15716
|
+
"payments.createStarGiftCollection": payments_createStarGiftCollection;
|
|
15717
|
+
"payments.updateStarGiftCollection": payments_updateStarGiftCollection;
|
|
15718
|
+
"payments.reorderStarGiftCollections": payments_reorderStarGiftCollections;
|
|
15719
|
+
"payments.deleteStarGiftCollection": payments_deleteStarGiftCollection;
|
|
15720
|
+
"payments.getStarGiftCollections": payments_getStarGiftCollections;
|
|
15721
|
+
"payments.getUniqueStarGiftValueInfo": payments_getUniqueStarGiftValueInfo;
|
|
15722
|
+
"payments.checkCanSendGift": payments_checkCanSendGift;
|
|
15196
15723
|
"stickers.createStickerSet": stickers_createStickerSet;
|
|
15197
15724
|
"stickers.removeStickerFromSet": stickers_removeStickerFromSet;
|
|
15198
15725
|
"stickers.changeStickerPosition": stickers_changeStickerPosition;
|
|
@@ -15254,9 +15781,6 @@ export interface Functions<T = Function> {
|
|
|
15254
15781
|
"stats.getMessageStats": stats_getMessageStats;
|
|
15255
15782
|
"stats.getStoryStats": stats_getStoryStats;
|
|
15256
15783
|
"stats.getStoryPublicForwards": stats_getStoryPublicForwards;
|
|
15257
|
-
"stats.getBroadcastRevenueStats": stats_getBroadcastRevenueStats;
|
|
15258
|
-
"stats.getBroadcastRevenueWithdrawalUrl": stats_getBroadcastRevenueWithdrawalUrl;
|
|
15259
|
-
"stats.getBroadcastRevenueTransactions": stats_getBroadcastRevenueTransactions;
|
|
15260
15784
|
"chatlists.exportChatlistInvite": chatlists_exportChatlistInvite;
|
|
15261
15785
|
"chatlists.deleteExportedInvite": chatlists_deleteExportedInvite;
|
|
15262
15786
|
"chatlists.editExportedInvite": chatlists_editExportedInvite;
|
|
@@ -15294,6 +15818,12 @@ export interface Functions<T = Function> {
|
|
|
15294
15818
|
"stories.getStoryReactionsList": stories_getStoryReactionsList;
|
|
15295
15819
|
"stories.togglePinnedToTop": stories_togglePinnedToTop;
|
|
15296
15820
|
"stories.searchPosts": stories_searchPosts;
|
|
15821
|
+
"stories.createAlbum": stories_createAlbum;
|
|
15822
|
+
"stories.updateAlbum": stories_updateAlbum;
|
|
15823
|
+
"stories.reorderAlbums": stories_reorderAlbums;
|
|
15824
|
+
"stories.deleteAlbum": stories_deleteAlbum;
|
|
15825
|
+
"stories.getAlbums": stories_getAlbums;
|
|
15826
|
+
"stories.getAlbumStories": stories_getAlbumStories;
|
|
15297
15827
|
"premium.getBoostsList": premium_getBoostsList;
|
|
15298
15828
|
"premium.getMyBoosts": premium_getMyBoosts;
|
|
15299
15829
|
"premium.applyBoost": premium_applyBoost;
|
|
@@ -15627,6 +16157,8 @@ export interface Enums {
|
|
|
15627
16157
|
"stickers.SuggestedShortName": stickers_SuggestedShortName;
|
|
15628
16158
|
"BotCommandScope": BotCommandScope;
|
|
15629
16159
|
"account.ResetPasswordResult": account_ResetPasswordResult;
|
|
16160
|
+
"ChatTheme": ChatTheme;
|
|
16161
|
+
"account.ChatThemes": account_ChatThemes;
|
|
15630
16162
|
"SponsoredMessage": SponsoredMessage;
|
|
15631
16163
|
"messages.SponsoredMessages": messages_SponsoredMessages;
|
|
15632
16164
|
"SearchResultsCalendarPeriod": SearchResultsCalendarPeriod;
|
|
@@ -15785,13 +16317,8 @@ export interface Enums {
|
|
|
15785
16317
|
"RequestedPeer": RequestedPeer;
|
|
15786
16318
|
"SponsoredMessageReportOption": SponsoredMessageReportOption;
|
|
15787
16319
|
"channels.SponsoredMessageReportResult": channels_SponsoredMessageReportResult;
|
|
15788
|
-
"stats.BroadcastRevenueStats": stats_BroadcastRevenueStats;
|
|
15789
|
-
"stats.BroadcastRevenueWithdrawalUrl": stats_BroadcastRevenueWithdrawalUrl;
|
|
15790
|
-
"BroadcastRevenueTransaction": BroadcastRevenueTransaction;
|
|
15791
|
-
"stats.BroadcastRevenueTransactions": stats_BroadcastRevenueTransactions;
|
|
15792
16320
|
"ReactionNotificationsFrom": ReactionNotificationsFrom;
|
|
15793
16321
|
"ReactionsNotifySettings": ReactionsNotifySettings;
|
|
15794
|
-
"BroadcastRevenueBalances": BroadcastRevenueBalances;
|
|
15795
16322
|
"AvailableEffect": AvailableEffect;
|
|
15796
16323
|
"messages.AvailableEffects": messages_AvailableEffects;
|
|
15797
16324
|
"FactCheck": FactCheck;
|
|
@@ -15852,6 +16379,22 @@ export interface Enums {
|
|
|
15852
16379
|
"payments.ResaleStarGifts": payments_ResaleStarGifts;
|
|
15853
16380
|
"stories.CanSendStoryCount": stories_CanSendStoryCount;
|
|
15854
16381
|
"PendingSuggestion": PendingSuggestion;
|
|
16382
|
+
"TodoItem": TodoItem;
|
|
16383
|
+
"TodoList": TodoList;
|
|
16384
|
+
"TodoCompletion": TodoCompletion;
|
|
16385
|
+
"SuggestedPost": SuggestedPost;
|
|
16386
|
+
"StarsRating": StarsRating;
|
|
16387
|
+
"StarGiftCollection": StarGiftCollection;
|
|
16388
|
+
"payments.StarGiftCollections": payments_StarGiftCollections;
|
|
16389
|
+
"StoryAlbum": StoryAlbum;
|
|
16390
|
+
"stories.Albums": stories_Albums;
|
|
16391
|
+
"SearchPostsFlood": SearchPostsFlood;
|
|
16392
|
+
"payments.UniqueStarGiftValueInfo": payments_UniqueStarGiftValueInfo;
|
|
16393
|
+
"ProfileTab": ProfileTab;
|
|
16394
|
+
"users.SavedMusic": users_SavedMusic;
|
|
16395
|
+
"account.SavedMusicIds": account_SavedMusicIds;
|
|
16396
|
+
"payments.CheckCanSendGiftResult": payments_CheckCanSendGiftResult;
|
|
16397
|
+
"InputChatTheme": InputChatTheme;
|
|
15855
16398
|
}
|
|
15856
16399
|
export type AnyType = Types[keyof Types];
|
|
15857
16400
|
export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
|
|
@@ -15864,7 +16407,7 @@ export type InputPeer = inputPeerEmpty | inputPeerSelf | inputPeerChat | inputPe
|
|
|
15864
16407
|
export type InputUser = inputUserEmpty | inputUserSelf | inputUser | inputUserFromMessage;
|
|
15865
16408
|
export type InputContact = inputPhoneContact;
|
|
15866
16409
|
export type InputFile = inputFile | inputFileBig | inputFileStoryDocument;
|
|
15867
|
-
export type InputMedia = inputMediaEmpty | inputMediaUploadedPhoto | inputMediaPhoto | inputMediaGeoPoint | inputMediaContact | inputMediaUploadedDocument | inputMediaDocument | inputMediaVenue | inputMediaPhotoExternal | inputMediaDocumentExternal | inputMediaGame | inputMediaInvoice | inputMediaGeoLive | inputMediaPoll | inputMediaDice | inputMediaStory | inputMediaWebPage | inputMediaPaidMedia;
|
|
16410
|
+
export type InputMedia = inputMediaEmpty | inputMediaUploadedPhoto | inputMediaPhoto | inputMediaGeoPoint | inputMediaContact | inputMediaUploadedDocument | inputMediaDocument | inputMediaVenue | inputMediaPhotoExternal | inputMediaDocumentExternal | inputMediaGame | inputMediaInvoice | inputMediaGeoLive | inputMediaPoll | inputMediaDice | inputMediaStory | inputMediaWebPage | inputMediaPaidMedia | inputMediaTodo;
|
|
15868
16411
|
export type InputChatPhoto = inputChatPhotoEmpty | inputChatUploadedPhoto | inputChatPhoto;
|
|
15869
16412
|
export type InputGeoPoint = inputGeoPointEmpty | inputGeoPoint;
|
|
15870
16413
|
export type InputPhoto = inputPhotoEmpty | inputPhoto;
|
|
@@ -15880,8 +16423,8 @@ export type ChatParticipant = chatParticipant | chatParticipantCreator | chatPar
|
|
|
15880
16423
|
export type ChatParticipants = chatParticipantsForbidden | chatParticipants;
|
|
15881
16424
|
export type ChatPhoto = chatPhotoEmpty | chatPhoto;
|
|
15882
16425
|
export type Message = messageEmpty | message | messageService;
|
|
15883
|
-
export type MessageMedia = messageMediaEmpty | messageMediaPhoto | messageMediaGeo | messageMediaContact | messageMediaUnsupported | messageMediaDocument | messageMediaWebPage | messageMediaVenue | messageMediaGame | messageMediaInvoice | messageMediaGeoLive | messageMediaPoll | messageMediaDice | messageMediaStory | messageMediaGiveaway | messageMediaGiveawayResults | messageMediaPaidMedia;
|
|
15884
|
-
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 | messageActionPaidMessagesRefunded | messageActionPaidMessagesPrice | messageActionConferenceCall;
|
|
16426
|
+
export type MessageMedia = messageMediaEmpty | messageMediaPhoto | messageMediaGeo | messageMediaContact | messageMediaUnsupported | messageMediaDocument | messageMediaWebPage | messageMediaVenue | messageMediaGame | messageMediaInvoice | messageMediaGeoLive | messageMediaPoll | messageMediaDice | messageMediaStory | messageMediaGiveaway | messageMediaGiveawayResults | messageMediaPaidMedia | messageMediaToDo;
|
|
16427
|
+
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 | messageActionPaidMessagesRefunded | messageActionPaidMessagesPrice | messageActionConferenceCall | messageActionTodoCompletions | messageActionTodoAppendTasks | messageActionSuggestedPostApproval | messageActionSuggestedPostSuccess | messageActionSuggestedPostRefund | messageActionGiftTon;
|
|
15885
16428
|
export type Dialog = dialog | dialogFolder;
|
|
15886
16429
|
export type Photo = photoEmpty | photo;
|
|
15887
16430
|
export type PhotoSize = photoSizeEmpty | photoSize | photoCachedSize | photoStrippedSize | photoSizeProgressive | photoPathSize;
|
|
@@ -15908,7 +16451,7 @@ export type messages_Chats = messages_chats | messages_chatsSlice;
|
|
|
15908
16451
|
export type messages_ChatFull = messages_chatFull;
|
|
15909
16452
|
export type messages_AffectedHistory = messages_affectedHistory;
|
|
15910
16453
|
export type MessagesFilter = inputMessagesFilterEmpty | inputMessagesFilterPhotos | inputMessagesFilterVideo | inputMessagesFilterPhotoVideo | inputMessagesFilterDocument | inputMessagesFilterUrl | inputMessagesFilterGif | inputMessagesFilterVoice | inputMessagesFilterMusic | inputMessagesFilterChatPhotos | inputMessagesFilterPhoneCalls | inputMessagesFilterRoundVoice | inputMessagesFilterRoundVideo | inputMessagesFilterMyMentions | inputMessagesFilterGeo | inputMessagesFilterContacts | inputMessagesFilterPinned;
|
|
15911
|
-
export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateChannelPinnedTopic | updateChannelPinnedTopics | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction |
|
|
16454
|
+
export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateChannelPinnedTopic | updateChannelPinnedTopics | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException;
|
|
15912
16455
|
export type updates_State = updates_state;
|
|
15913
16456
|
export type updates_Difference = updates_differenceEmpty | updates_difference | updates_differenceSlice | updates_differenceTooLong;
|
|
15914
16457
|
export type Updates = updatesTooLong | updateShortMessage | updateShortChatMessage | updateShort | updatesCombined | updates | updateShortSentMessage;
|
|
@@ -15954,7 +16497,7 @@ export type auth_PasswordRecovery = auth_passwordRecovery;
|
|
|
15954
16497
|
export type ReceivedNotifyMessage = receivedNotifyMessage;
|
|
15955
16498
|
export type ExportedChatInvite = chatInviteExported | chatInvitePublicJoinRequests;
|
|
15956
16499
|
export type ChatInvite = chatInviteAlready | chatInvite | chatInvitePeek;
|
|
15957
|
-
export type InputStickerSet = inputStickerSetEmpty | inputStickerSetID | inputStickerSetShortName | inputStickerSetAnimatedEmoji | inputStickerSetDice | inputStickerSetAnimatedEmojiAnimations | inputStickerSetPremiumGifts | inputStickerSetEmojiGenericAnimations | inputStickerSetEmojiDefaultStatuses | inputStickerSetEmojiDefaultTopicIcons | inputStickerSetEmojiChannelDefaultStatuses;
|
|
16500
|
+
export type InputStickerSet = inputStickerSetEmpty | inputStickerSetID | inputStickerSetShortName | inputStickerSetAnimatedEmoji | inputStickerSetDice | inputStickerSetAnimatedEmojiAnimations | inputStickerSetPremiumGifts | inputStickerSetEmojiGenericAnimations | inputStickerSetEmojiDefaultStatuses | inputStickerSetEmojiDefaultTopicIcons | inputStickerSetEmojiChannelDefaultStatuses | inputStickerSetTonGifts;
|
|
15958
16501
|
export type StickerSet = stickerSet;
|
|
15959
16502
|
export type messages_StickerSet = messages_stickerSet | messages_stickerSetNotModified;
|
|
15960
16503
|
export type BotCommand = botCommand;
|
|
@@ -16124,7 +16667,7 @@ export type messages_InactiveChats = messages_inactiveChats;
|
|
|
16124
16667
|
export type BaseTheme = baseThemeClassic | baseThemeDay | baseThemeNight | baseThemeTinted | baseThemeArctic;
|
|
16125
16668
|
export type InputThemeSettings = inputThemeSettings;
|
|
16126
16669
|
export type ThemeSettings = themeSettings;
|
|
16127
|
-
export type WebPageAttribute = webPageAttributeTheme | webPageAttributeStory | webPageAttributeStickerSet | webPageAttributeUniqueStarGift;
|
|
16670
|
+
export type WebPageAttribute = webPageAttributeTheme | webPageAttributeStory | webPageAttributeStickerSet | webPageAttributeUniqueStarGift | webPageAttributeStarGiftCollection;
|
|
16128
16671
|
export type messages_VotesList = messages_votesList;
|
|
16129
16672
|
export type BankCardOpenUrl = bankCardOpenUrl;
|
|
16130
16673
|
export type payments_BankCardData = payments_bankCardData;
|
|
@@ -16175,6 +16718,8 @@ export type GroupCallParticipantVideo = groupCallParticipantVideo;
|
|
|
16175
16718
|
export type stickers_SuggestedShortName = stickers_suggestedShortName;
|
|
16176
16719
|
export type BotCommandScope = botCommandScopeDefault | botCommandScopeUsers | botCommandScopeChats | botCommandScopeChatAdmins | botCommandScopePeer | botCommandScopePeerAdmins | botCommandScopePeerUser;
|
|
16177
16720
|
export type account_ResetPasswordResult = account_resetPasswordFailedWait | account_resetPasswordRequestedWait | account_resetPasswordOk;
|
|
16721
|
+
export type ChatTheme = chatTheme | chatThemeUniqueGift;
|
|
16722
|
+
export type account_ChatThemes = account_chatThemesNotModified | account_chatThemes;
|
|
16178
16723
|
export type SponsoredMessage = sponsoredMessage;
|
|
16179
16724
|
export type messages_SponsoredMessages = messages_sponsoredMessages | messages_sponsoredMessagesEmpty;
|
|
16180
16725
|
export type SearchResultsCalendarPeriod = searchResultsCalendarPeriod;
|
|
@@ -16206,7 +16751,7 @@ export type account_SavedRingtones = account_savedRingtonesNotModified | account
|
|
|
16206
16751
|
export type NotificationSound = notificationSoundDefault | notificationSoundNone | notificationSoundLocal | notificationSoundRingtone;
|
|
16207
16752
|
export type account_SavedRingtone = account_savedRingtone | account_savedRingtoneConverted;
|
|
16208
16753
|
export type AttachMenuPeerType = attachMenuPeerTypeSameBotPM | attachMenuPeerTypeBotPM | attachMenuPeerTypePM | attachMenuPeerTypeChat | attachMenuPeerTypeBroadcast;
|
|
16209
|
-
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift | inputInvoiceStarGiftUpgrade | inputInvoiceStarGiftTransfer | inputInvoicePremiumGiftStars | inputInvoiceBusinessBotTransferStars | inputInvoiceStarGiftResale;
|
|
16754
|
+
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift | inputInvoiceStarGiftUpgrade | inputInvoiceStarGiftTransfer | inputInvoicePremiumGiftStars | inputInvoiceBusinessBotTransferStars | inputInvoiceStarGiftResale | inputInvoiceStarGiftPrepaidUpgrade;
|
|
16210
16755
|
export type payments_ExportedInvoice = payments_exportedInvoice;
|
|
16211
16756
|
export type messages_TranscribedAudio = messages_transcribedAudio;
|
|
16212
16757
|
export type help_PremiumPromo = help_premiumPromo;
|
|
@@ -16259,7 +16804,7 @@ export type stories_Stories = stories_stories;
|
|
|
16259
16804
|
export type StoryView = storyView | storyViewPublicForward | storyViewPublicRepost;
|
|
16260
16805
|
export type stories_StoryViewsList = stories_storyViewsList;
|
|
16261
16806
|
export type stories_StoryViews = stories_storyViews;
|
|
16262
|
-
export type InputReplyTo = inputReplyToMessage | inputReplyToStory;
|
|
16807
|
+
export type InputReplyTo = inputReplyToMessage | inputReplyToStory | inputReplyToMonoForum;
|
|
16263
16808
|
export type ExportedStoryLink = exportedStoryLink;
|
|
16264
16809
|
export type StoriesStealthMode = storiesStealthMode;
|
|
16265
16810
|
export type MediaAreaCoordinates = mediaAreaCoordinates;
|
|
@@ -16287,7 +16832,7 @@ export type help_PeerColorOption = help_peerColorOption;
|
|
|
16287
16832
|
export type help_PeerColors = help_peerColorsNotModified | help_peerColors;
|
|
16288
16833
|
export type StoryReaction = storyReaction | storyReactionPublicForward | storyReactionPublicRepost;
|
|
16289
16834
|
export type stories_StoryReactionsList = stories_storyReactionsList;
|
|
16290
|
-
export type SavedDialog = savedDialog;
|
|
16835
|
+
export type SavedDialog = savedDialog | monoForumDialog;
|
|
16291
16836
|
export type messages_SavedDialogs = messages_savedDialogs | messages_savedDialogsSlice | messages_savedDialogsNotModified;
|
|
16292
16837
|
export type SavedReactionTag = savedReactionTag;
|
|
16293
16838
|
export type messages_SavedReactionTags = messages_savedReactionTagsNotModified | messages_savedReactionTags;
|
|
@@ -16333,13 +16878,8 @@ export type account_ResolvedBusinessChatLinks = account_resolvedBusinessChatLink
|
|
|
16333
16878
|
export type RequestedPeer = requestedPeerUser | requestedPeerChat | requestedPeerChannel;
|
|
16334
16879
|
export type SponsoredMessageReportOption = sponsoredMessageReportOption;
|
|
16335
16880
|
export type channels_SponsoredMessageReportResult = channels_sponsoredMessageReportResultChooseOption | channels_sponsoredMessageReportResultAdsHidden | channels_sponsoredMessageReportResultReported;
|
|
16336
|
-
export type stats_BroadcastRevenueStats = stats_broadcastRevenueStats;
|
|
16337
|
-
export type stats_BroadcastRevenueWithdrawalUrl = stats_broadcastRevenueWithdrawalUrl;
|
|
16338
|
-
export type BroadcastRevenueTransaction = broadcastRevenueTransactionProceeds | broadcastRevenueTransactionWithdrawal | broadcastRevenueTransactionRefund;
|
|
16339
|
-
export type stats_BroadcastRevenueTransactions = stats_broadcastRevenueTransactions;
|
|
16340
16881
|
export type ReactionNotificationsFrom = reactionNotificationsFromContacts | reactionNotificationsFromAll;
|
|
16341
16882
|
export type ReactionsNotifySettings = reactionsNotifySettings;
|
|
16342
|
-
export type BroadcastRevenueBalances = broadcastRevenueBalances;
|
|
16343
16883
|
export type AvailableEffect = availableEffect;
|
|
16344
16884
|
export type messages_AvailableEffects = messages_availableEffectsNotModified | messages_availableEffects;
|
|
16345
16885
|
export type FactCheck = factCheck;
|
|
@@ -16375,7 +16915,7 @@ export type StarRefProgram = starRefProgram;
|
|
|
16375
16915
|
export type ConnectedBotStarRef = connectedBotStarRef;
|
|
16376
16916
|
export type payments_ConnectedStarRefBots = payments_connectedStarRefBots;
|
|
16377
16917
|
export type payments_SuggestedStarRefBots = payments_suggestedStarRefBots;
|
|
16378
|
-
export type StarsAmount = starsAmount;
|
|
16918
|
+
export type StarsAmount = starsAmount | starsTonAmount;
|
|
16379
16919
|
export type messages_FoundStickers = messages_foundStickersNotModified | messages_foundStickers;
|
|
16380
16920
|
export type BotVerifierSettings = botVerifierSettings;
|
|
16381
16921
|
export type BotVerification = botVerification;
|
|
@@ -16400,7 +16940,23 @@ export type StarGiftAttributeCounter = starGiftAttributeCounter;
|
|
|
16400
16940
|
export type payments_ResaleStarGifts = payments_resaleStarGifts;
|
|
16401
16941
|
export type stories_CanSendStoryCount = stories_canSendStoryCount;
|
|
16402
16942
|
export type PendingSuggestion = pendingSuggestion;
|
|
16943
|
+
export type TodoItem = todoItem;
|
|
16944
|
+
export type TodoList = todoList;
|
|
16945
|
+
export type TodoCompletion = todoCompletion;
|
|
16946
|
+
export type SuggestedPost = suggestedPost;
|
|
16947
|
+
export type StarsRating = starsRating;
|
|
16948
|
+
export type StarGiftCollection = starGiftCollection;
|
|
16949
|
+
export type payments_StarGiftCollections = payments_starGiftCollectionsNotModified | payments_starGiftCollections;
|
|
16950
|
+
export type StoryAlbum = storyAlbum;
|
|
16951
|
+
export type stories_Albums = stories_albumsNotModified | stories_albums;
|
|
16952
|
+
export type SearchPostsFlood = searchPostsFlood;
|
|
16953
|
+
export type payments_UniqueStarGiftValueInfo = payments_uniqueStarGiftValueInfo;
|
|
16954
|
+
export type ProfileTab = profileTabPosts | profileTabGifts | profileTabMedia | profileTabFiles | profileTabMusic | profileTabVoice | profileTabLinks | profileTabGifs;
|
|
16955
|
+
export type users_SavedMusic = users_savedMusicNotModified | users_savedMusic;
|
|
16956
|
+
export type account_SavedMusicIds = account_savedMusicIdsNotModified | account_savedMusicIds;
|
|
16957
|
+
export type payments_CheckCanSendGiftResult = payments_checkCanSendGiftResultOk | payments_checkCanSendGiftResultFail;
|
|
16958
|
+
export type InputChatTheme = inputChatThemeEmpty | inputChatTheme | inputChatThemeUniqueGift;
|
|
16403
16959
|
export declare const schema: Schema;
|
|
16404
|
-
export declare const LAYER =
|
|
16960
|
+
export declare const LAYER = 214;
|
|
16405
16961
|
export {};
|
|
16406
16962
|
//# sourceMappingURL=1_telegram_api.d.ts.map
|