@mtkruto/node 0.3.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/0_deps.d.ts +1 -1
- package/esm/0_deps.js +1 -1
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +4 -4
- package/esm/client/0_params.d.ts +10 -3
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_password.js +2 -2
- package/esm/client/0_utilities.d.ts +4 -4
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/1_client_encrypted.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +1 -1
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +16 -0
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +3 -3
- package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js +4 -4
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/less.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +5 -5
- package/{script/deps/jsr.io/@std/internal/1.0.4 → esm/deps/jsr.io/@std/internal/1.0.5}/build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts.map +1 -1
- package/esm/tl/0_api.d.ts +199 -41
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +314 -75
- package/esm/transport/1_transport_abridged.d.ts.map +1 -1
- package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
- package/esm/transport/2_transport_provider.js +4 -4
- package/esm/types/2_inline_keyboard_button.d.ts +9 -1
- package/esm/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/esm/types/2_inline_keyboard_button.js +6 -0
- package/esm/types/2_invite_link.d.ts +5 -1
- package/esm/types/2_invite_link.d.ts.map +1 -1
- package/esm/types/2_invite_link.js +2 -0
- package/esm/utilities/0_cache_map.d.ts.map +1 -1
- package/esm/utilities/0_units.js +3 -3
- package/esm/utilities/2_queue.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/0_deps.d.ts +1 -1
- package/script/0_deps.js +3 -3
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +4 -4
- package/script/4_errors.js +2 -2
- package/script/client/0_filters.js +1 -2
- package/script/client/0_html.js +1 -2
- package/script/client/0_markdown.js +2 -2
- package/script/client/0_message.js +5 -6
- package/script/client/0_params.d.ts +10 -3
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_password.js +8 -8
- package/script/client/0_utilities.d.ts +4 -4
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +16 -16
- package/script/client/1_client_encrypted.d.ts.map +1 -1
- package/script/client/1_composer.js +4 -4
- package/script/client/2_update_manager.js +1 -1
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +16 -0
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +2 -2
- package/script/deps/deno.land/std@0.224.0/io/write_all.js +2 -3
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +1 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +2 -2
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +2 -2
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +9 -9
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +4 -4
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +1 -1
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +3 -3
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +4 -4
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +4 -4
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +5 -6
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +6 -7
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +6 -7
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +5 -6
- package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +8 -9
- package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.js +10 -11
- package/script/deps/jsr.io/@std/assert/1.0.6/almost_equals.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/array_includes.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/assert.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/equal.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/equals.js +5 -6
- package/script/deps/jsr.io/@std/assert/1.0.6/exists.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/fail.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/false.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/greater.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/instance_of.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/is_error.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/less.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/match.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_equals.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_instance_of.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_match.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +2 -3
- package/script/deps/jsr.io/@std/assert/1.0.6/object_match.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/rejects.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +6 -7
- package/script/deps/jsr.io/@std/assert/1.0.6/string_includes.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/throws.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/unimplemented.js +1 -2
- package/script/deps/jsr.io/@std/assert/1.0.6/unreachable.js +1 -2
- package/script/deps/jsr.io/@std/bytes/1.0.2/concat.js +1 -2
- package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.js +1 -2
- package/script/deps/jsr.io/@std/encoding/1.0.5/base64.js +2 -3
- package/{esm/deps/jsr.io/@std/internal/1.0.4 → script/deps/jsr.io/@std/internal/1.0.5}/build_message.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +3 -4
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +5 -6
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +4 -5
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +1 -2
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +10 -11
- package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.js +2 -3
- package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/media-types/1.0.3/_util.js +8 -9
- package/script/deps/jsr.io/@std/media-types/1.0.3/all_extensions.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/content_type.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/extension.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/format_media_type.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/get_charset.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/parse_media_type.js +1 -2
- package/script/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/assert_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/basename.js +3 -4
- package/script/deps/jsr.io/@std/path/1.0.6/_common/common.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/format.js +2 -3
- package/script/deps/jsr.io/@std/path/1.0.6/_common/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/glob_to_reg_exp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/normalize_string.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/strip_trailing_separators.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/_common/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/common.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/is_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/_util.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/posix/to_namespaced_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/to_namespaced_path.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/_util.js +3 -4
- package/script/deps/jsr.io/@std/path/1.0.6/windows/basename.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/dirname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/extname.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/format.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/from_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/glob_to_regexp.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/is_absolute.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/join_globs.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/normalize_glob.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/parse.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/relative.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/resolve.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_file_url.js +1 -2
- package/script/deps/jsr.io/@std/path/1.0.6/windows/to_namespaced_path.js +1 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +1 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +2 -2
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +1 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +2 -3
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +6 -6
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +1 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +10 -10
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +1 -1
- package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +5 -6
- package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +1 -2
- package/script/storage/1_utilities.js +7 -7
- package/script/tl/0_api.d.ts +199 -41
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +314 -75
- package/script/tl/1_utilities.js +9 -10
- package/script/tl/2_deserialize.js +1 -2
- package/script/tl/2_serialize.js +1 -2
- package/script/tl/3_utilities.js +6 -7
- package/script/tl/4_rpc_result.js +2 -2
- package/script/tl/5_message.js +6 -6
- package/script/transport/0_obfuscation.js +1 -2
- package/script/transport/1_transport_abridged.d.ts.map +1 -1
- package/script/transport/1_transport_intermediate.d.ts.map +1 -1
- package/script/transport/2_transport_provider.js +7 -8
- package/script/transport/3_transport_provider_tcp.js +1 -2
- package/script/types/0_birthday.js +1 -2
- package/script/types/0_callback_query_answer.js +1 -2
- package/script/types/0_callback_query_question.js +1 -2
- package/script/types/0_chat_administrator_rights.js +2 -3
- package/script/types/0_chat_member_rights.js +2 -3
- package/script/types/0_chat_photo.js +1 -2
- package/script/types/0_contact.js +1 -2
- package/script/types/0_dice.js +1 -2
- package/script/types/0_failed_invitation.js +1 -2
- package/script/types/0_giveaway_parameters.js +1 -2
- package/script/types/0_invoice.js +1 -2
- package/script/types/0_link_preview.js +1 -2
- package/script/types/0_live_stream_channel.js +1 -2
- package/script/types/0_location.js +1 -2
- package/script/types/0_mask_position.js +1 -2
- package/script/types/0_message_entity.js +3 -4
- package/script/types/0_message_search_filter.js +1 -2
- package/script/types/0_mini_app_info.js +1 -2
- package/script/types/0_opening_hours.js +1 -2
- package/script/types/0_reaction.js +3 -4
- package/script/types/0_refunded_payment.js +1 -2
- package/script/types/0_restriction_reason.js +1 -2
- package/script/types/0_self_destruct_option.js +1 -2
- package/script/types/0_shipping_address.js +1 -2
- package/script/types/0_thumbnail.js +1 -2
- package/script/types/0_video_chat.js +1 -2
- package/script/types/0_voice.js +1 -2
- package/script/types/1_animation.js +1 -2
- package/script/types/1_audio.js +1 -2
- package/script/types/1_bot_command_scope.js +1 -2
- package/script/types/1_chat_p.js +1 -2
- package/script/types/1_document.js +1 -2
- package/script/types/1_giveaway.js +1 -2
- package/script/types/1_keyboard_button.js +2 -3
- package/script/types/1_message_reaction.js +1 -2
- package/script/types/1_order_info.js +1 -2
- package/script/types/1_photo.js +2 -3
- package/script/types/1_poll_option.js +1 -2
- package/script/types/1_reaction_count.js +1 -2
- package/script/types/1_reply_quote.js +1 -2
- package/script/types/1_sticker.js +1 -2
- package/script/types/1_story_privacy.js +2 -3
- package/script/types/1_story_reaction.js +1 -2
- package/script/types/1_user.js +1 -2
- package/script/types/1_venue.js +1 -2
- package/script/types/1_video.js +1 -2
- package/script/types/1_video_note.js +1 -2
- package/script/types/2_business_connection.js +1 -2
- package/script/types/2_chat.js +1 -2
- package/script/types/2_chat_member.js +1 -2
- package/script/types/2_chosen_inline_result.js +1 -2
- package/script/types/2_forward_header.js +1 -2
- package/script/types/2_game.js +1 -2
- package/script/types/2_inactive_chat.js +1 -2
- package/script/types/2_inline_keyboard_button.d.ts +9 -1
- package/script/types/2_inline_keyboard_button.d.ts.map +1 -1
- package/script/types/2_inline_keyboard_button.js +8 -3
- package/script/types/2_inline_query.js +1 -2
- package/script/types/2_invite_link.d.ts +5 -1
- package/script/types/2_invite_link.d.ts.map +1 -1
- package/script/types/2_invite_link.js +3 -2
- package/script/types/2_message_reaction_count.js +1 -2
- package/script/types/2_message_reactions.js +1 -2
- package/script/types/2_poll.js +1 -2
- package/script/types/2_pre_checkout_query.js +1 -2
- package/script/types/2_story_content.js +1 -2
- package/script/types/2_story_interactions.js +1 -2
- package/script/types/2_story_interactive_area.js +2 -3
- package/script/types/2_successful_payment.js +1 -2
- package/script/types/3_chat_member_updated.js +1 -2
- package/script/types/3_join_request.js +1 -2
- package/script/types/3_reply_markup.js +2 -3
- package/script/types/3_story.js +1 -2
- package/script/types/4_inline_query_result.js +2 -3
- package/script/types/4_message.js +2 -3
- package/script/types/5_callback_query.js +2 -3
- package/script/types/5_chat_list_item.js +5 -6
- package/script/types/5_inline_query_answer.js +1 -2
- package/script/types/_file_id.js +5 -5
- package/script/utilities/0_bigint.js +6 -7
- package/script/utilities/0_buffer.js +1 -2
- package/script/utilities/0_cache_map.d.ts.map +1 -1
- package/script/utilities/0_color.js +2 -3
- package/script/utilities/0_env.js +2 -3
- package/script/utilities/0_hash.js +2 -3
- package/script/utilities/0_object.js +1 -2
- package/script/utilities/0_rle.js +2 -3
- package/script/utilities/0_units.js +3 -3
- package/script/utilities/1_auth.js +1 -2
- package/script/utilities/1_base64.js +2 -3
- package/script/utilities/1_logger.js +5 -5
- package/script/utilities/1_math.js +1 -2
- package/script/utilities/1_misc.js +8 -8
- package/script/utilities/2_queue.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.js +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.js +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/_constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/iterate_reader.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.224.9 → 0.225.0}/types.js +0 -0
package/script/tl/0_api.js
CHANGED
|
@@ -182,7 +182,7 @@ const map = new Map([
|
|
|
182
182
|
[0x56E0D474, "messageMediaGeo"],
|
|
183
183
|
[0x70322949, "messageMediaContact"],
|
|
184
184
|
[0x9F84F49E, "messageMediaUnsupported"],
|
|
185
|
-
[
|
|
185
|
+
[0xDD570BD5, "messageMediaDocument"],
|
|
186
186
|
[0xDDF10C3B, "messageMediaWebPage"],
|
|
187
187
|
[0x2EC0533F, "messageMediaVenue"],
|
|
188
188
|
[0xFDB19008, "messageMediaGame"],
|
|
@@ -226,13 +226,13 @@ const map = new Map([
|
|
|
226
226
|
[0xEBBCA3CB, "messageActionChatJoinedByRequest"],
|
|
227
227
|
[0x47DD8079, "messageActionWebViewDataSentMe"],
|
|
228
228
|
[0xB4C38CB5, "messageActionWebViewDataSent"],
|
|
229
|
-
[
|
|
229
|
+
[0x6C6274FA, "messageActionGiftPremium"],
|
|
230
230
|
[0x0D999256, "messageActionTopicCreate"],
|
|
231
231
|
[0xC0944820, "messageActionTopicEdit"],
|
|
232
232
|
[0x57DE635E, "messageActionSuggestProfilePhoto"],
|
|
233
233
|
[0x31518E9B, "messageActionRequestedPeer"],
|
|
234
234
|
[0x5060A3F4, "messageActionSetChatWallPaper"],
|
|
235
|
-
[
|
|
235
|
+
[0x56D03994, "messageActionGiftCode"],
|
|
236
236
|
[0xA80F51E4, "messageActionGiveawayLaunch"],
|
|
237
237
|
[0x87E2F155, "messageActionGiveawayResults"],
|
|
238
238
|
[0xCC02AA6D, "messageActionBoostApply"],
|
|
@@ -240,6 +240,7 @@ const map = new Map([
|
|
|
240
240
|
[0x41B3E202, "messageActionPaymentRefunded"],
|
|
241
241
|
[0x45D5B021, "messageActionGiftStars"],
|
|
242
242
|
[0xB00C47A2, "messageActionPrizeStars"],
|
|
243
|
+
[0x9BB3EF44, "messageActionStarGift"],
|
|
243
244
|
[0xD58A08C6, "dialog"],
|
|
244
245
|
[0x71BD134C, "dialogFolder"],
|
|
245
246
|
[0x2331B22D, "photoEmpty"],
|
|
@@ -277,7 +278,7 @@ const map = new Map([
|
|
|
277
278
|
[0xF5DDD6E7, "inputReportReasonFake"],
|
|
278
279
|
[0x0A8EB2BE, "inputReportReasonIllegalDrugs"],
|
|
279
280
|
[0x9EC7863D, "inputReportReasonPersonalDetails"],
|
|
280
|
-
[
|
|
281
|
+
[0x1F58E369, "userFull"],
|
|
281
282
|
[0x145ADE0B, "contact"],
|
|
282
283
|
[0xC13E3C50, "importedContact"],
|
|
283
284
|
[0x16D9703B, "contactStatus"],
|
|
@@ -382,7 +383,7 @@ const map = new Map([
|
|
|
382
383
|
[0x6A7E7366, "updatePeerSettings"],
|
|
383
384
|
[0xB4AFCFB0, "updatePeerLocated"],
|
|
384
385
|
[0x39A51DFB, "updateNewScheduledMessage"],
|
|
385
|
-
[
|
|
386
|
+
[0xF2A71983, "updateDeleteScheduledMessages"],
|
|
386
387
|
[0x8216FBA3, "updateTheme"],
|
|
387
388
|
[0x871FB939, "updateGeoLiveViewed"],
|
|
388
389
|
[0x564FE691, "updateLoginToken"],
|
|
@@ -572,7 +573,7 @@ const map = new Map([
|
|
|
572
573
|
[0x6C37C15C, "documentAttributeImageSize"],
|
|
573
574
|
[0x11B58939, "documentAttributeAnimated"],
|
|
574
575
|
[0x6319D612, "documentAttributeSticker"],
|
|
575
|
-
[
|
|
576
|
+
[0x43C57C48, "documentAttributeVideo"],
|
|
576
577
|
[0x9852F9C6, "documentAttributeAudio"],
|
|
577
578
|
[0x15590068, "documentAttributeFilename"],
|
|
578
579
|
[0x9801D2F7, "documentAttributeHasStickers"],
|
|
@@ -632,6 +633,7 @@ const map = new Map([
|
|
|
632
633
|
[0xA0C0505C, "keyboardButtonSimpleWebView"],
|
|
633
634
|
[0x53D7BFD8, "keyboardButtonRequestPeer"],
|
|
634
635
|
[0xC9662D05, "inputKeyboardButtonRequestPeer"],
|
|
636
|
+
[0x75D2698E, "keyboardButtonCopy"],
|
|
635
637
|
[0x77608B83, "keyboardButtonRow"],
|
|
636
638
|
[0xA03E5B85, "replyKeyboardHide"],
|
|
637
639
|
[0x86B40B08, "replyKeyboardForceReply"],
|
|
@@ -834,6 +836,7 @@ const map = new Map([
|
|
|
834
836
|
[0x21E753BC, "upload.webFile"],
|
|
835
837
|
[0xA0058751, "payments.paymentForm"],
|
|
836
838
|
[0x7BF6B15C, "payments.paymentFormStars"],
|
|
839
|
+
[0xB425CFE1, "payments.paymentFormStarGift"],
|
|
837
840
|
[0xD1451883, "payments.validatedRequestedInfo"],
|
|
838
841
|
[0x4E5F810D, "payments.paymentResult"],
|
|
839
842
|
[0xD8411139, "payments.paymentVerificationNeeded"],
|
|
@@ -1195,12 +1198,13 @@ const map = new Map([
|
|
|
1195
1198
|
[0x98986C0D, "inputInvoicePremiumGiftCode"],
|
|
1196
1199
|
[0x65F00CE3, "inputInvoiceStars"],
|
|
1197
1200
|
[0x34E793F1, "inputInvoiceChatInviteSubscription"],
|
|
1201
|
+
[0x25D8C1D8, "inputInvoiceStarGift"],
|
|
1198
1202
|
[0xAED0CBD9, "payments.exportedInvoice"],
|
|
1199
1203
|
[0xCFB9D957, "messages.transcribedAudio"],
|
|
1200
1204
|
[0x5334759C, "help.premiumPromo"],
|
|
1201
1205
|
[0xA6751E66, "inputStorePaymentPremiumSubscription"],
|
|
1202
1206
|
[0x616F7FE8, "inputStorePaymentGiftPremium"],
|
|
1203
|
-
[
|
|
1207
|
+
[0xFB790393, "inputStorePaymentPremiumGiftCode"],
|
|
1204
1208
|
[0x160544CA, "inputStorePaymentPremiumGiveaway"],
|
|
1205
1209
|
[0xDDDD0F56, "inputStorePaymentStarsTopup"],
|
|
1206
1210
|
[0x1D741EF7, "inputStorePaymentStarsGift"],
|
|
@@ -1411,8 +1415,9 @@ const map = new Map([
|
|
|
1411
1415
|
[0xE92FD902, "starsTransactionPeerFragment"],
|
|
1412
1416
|
[0xD80DA15D, "starsTransactionPeer"],
|
|
1413
1417
|
[0x60682812, "starsTransactionPeerAds"],
|
|
1418
|
+
[0xF9677AAD, "starsTransactionPeerAPI"],
|
|
1414
1419
|
[0x0BD915C0, "starsTopupOption"],
|
|
1415
|
-
[
|
|
1420
|
+
[0x35D4F276, "starsTransaction"],
|
|
1416
1421
|
[0xBBFA316C, "payments.starsStatus"],
|
|
1417
1422
|
[0xE87ACBC0, "foundStory"],
|
|
1418
1423
|
[0xE2DE7737, "stories.foundStories"],
|
|
@@ -1431,6 +1436,15 @@ const map = new Map([
|
|
|
1431
1436
|
[0x4BA3A95A, "messageReactor"],
|
|
1432
1437
|
[0x94CE852A, "starsGiveawayOption"],
|
|
1433
1438
|
[0x54236209, "starsGiveawayWinnersOption"],
|
|
1439
|
+
[0x49C577CD, "starGift"],
|
|
1440
|
+
[0xA388A368, "payments.starGiftsNotModified"],
|
|
1441
|
+
[0x901689EA, "payments.starGifts"],
|
|
1442
|
+
[0xEEA49A6E, "userStarGift"],
|
|
1443
|
+
[0x6B65B517, "payments.userStarGifts"],
|
|
1444
|
+
[0x7903E3D9, "messageReportOption"],
|
|
1445
|
+
[0xF0E4E0B6, "reportResultChooseOption"],
|
|
1446
|
+
[0x6F09AC31, "reportResultAddComment"],
|
|
1447
|
+
[0x8DB33C4B, "reportResultReported"],
|
|
1434
1448
|
]);
|
|
1435
1449
|
exports.getTypeName = map.get.bind(map);
|
|
1436
1450
|
exports.flags = Symbol();
|
|
@@ -1485,7 +1499,7 @@ const enums = new Map([
|
|
|
1485
1499
|
["ChatPhoto", ["chatPhotoEmpty", "chatPhoto"]],
|
|
1486
1500
|
["Message", ["messageEmpty", "message", "messageService"]],
|
|
1487
1501
|
["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia"]],
|
|
1488
|
-
["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"]],
|
|
1502
|
+
["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"]],
|
|
1489
1503
|
["Dialog", ["dialog", "dialogFolder"]],
|
|
1490
1504
|
["Photo", ["photoEmpty", "photo"]],
|
|
1491
1505
|
["PhotoSize", ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]],
|
|
@@ -1705,7 +1719,7 @@ const enums = new Map([
|
|
|
1705
1719
|
["messages.StickerSet", ["messages.stickerSet", "messages.stickerSetNotModified"]],
|
|
1706
1720
|
["BotCommand", ["botCommand"]],
|
|
1707
1721
|
["BotInfo", ["botInfo"]],
|
|
1708
|
-
["KeyboardButton", ["keyboardButton", "keyboardButtonUrl", "keyboardButtonCallback", "keyboardButtonRequestPhone", "keyboardButtonRequestGeoLocation", "keyboardButtonSwitchInline", "keyboardButtonGame", "keyboardButtonBuy", "keyboardButtonUrlAuth", "inputKeyboardButtonUrlAuth", "keyboardButtonRequestPoll", "inputKeyboardButtonUserProfile", "keyboardButtonUserProfile", "keyboardButtonWebView", "keyboardButtonSimpleWebView", "keyboardButtonRequestPeer", "inputKeyboardButtonRequestPeer"]],
|
|
1722
|
+
["KeyboardButton", ["keyboardButton", "keyboardButtonUrl", "keyboardButtonCallback", "keyboardButtonRequestPhone", "keyboardButtonRequestGeoLocation", "keyboardButtonSwitchInline", "keyboardButtonGame", "keyboardButtonBuy", "keyboardButtonUrlAuth", "inputKeyboardButtonUrlAuth", "keyboardButtonRequestPoll", "inputKeyboardButtonUserProfile", "keyboardButtonUserProfile", "keyboardButtonWebView", "keyboardButtonSimpleWebView", "keyboardButtonRequestPeer", "inputKeyboardButtonRequestPeer", "keyboardButtonCopy"]],
|
|
1709
1723
|
["KeyboardButtonRow", ["keyboardButtonRow"]],
|
|
1710
1724
|
["ReplyMarkup", ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]],
|
|
1711
1725
|
["MessageEntity", ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote"]],
|
|
@@ -1764,7 +1778,7 @@ const enums = new Map([
|
|
|
1764
1778
|
["InputWebDocument", ["inputWebDocument"]],
|
|
1765
1779
|
["InputWebFileLocation", ["inputWebFileLocation", "inputWebFileGeoPointLocation", "inputWebFileAudioAlbumThumbLocation"]],
|
|
1766
1780
|
["upload.WebFile", ["upload.webFile"]],
|
|
1767
|
-
["payments.PaymentForm", ["payments.paymentForm", "payments.paymentFormStars"]],
|
|
1781
|
+
["payments.PaymentForm", ["payments.paymentForm", "payments.paymentFormStars", "payments.paymentFormStarGift"]],
|
|
1768
1782
|
["payments.ValidatedRequestedInfo", ["payments.validatedRequestedInfo"]],
|
|
1769
1783
|
["payments.PaymentResult", ["payments.paymentResult", "payments.paymentVerificationNeeded"]],
|
|
1770
1784
|
["payments.PaymentReceipt", ["payments.paymentReceipt", "payments.paymentReceiptStars"]],
|
|
@@ -2003,7 +2017,7 @@ const enums = new Map([
|
|
|
2003
2017
|
["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
|
|
2004
2018
|
["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
|
|
2005
2019
|
["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
|
|
2006
|
-
["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription"]],
|
|
2020
|
+
["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift"]],
|
|
2007
2021
|
["payments.ExportedInvoice", ["payments.exportedInvoice"]],
|
|
2008
2022
|
["messages.TranscribedAudio", ["messages.transcribedAudio"]],
|
|
2009
2023
|
["help.PremiumPromo", ["help.premiumPromo"]],
|
|
@@ -2141,7 +2155,7 @@ const enums = new Map([
|
|
|
2141
2155
|
["AvailableEffect", ["availableEffect"]],
|
|
2142
2156
|
["messages.AvailableEffects", ["messages.availableEffectsNotModified", "messages.availableEffects"]],
|
|
2143
2157
|
["FactCheck", ["factCheck"]],
|
|
2144
|
-
["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds"]],
|
|
2158
|
+
["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds", "starsTransactionPeerAPI"]],
|
|
2145
2159
|
["StarsTopupOption", ["starsTopupOption"]],
|
|
2146
2160
|
["StarsTransaction", ["starsTransaction"]],
|
|
2147
2161
|
["payments.StarsStatus", ["payments.starsStatus"]],
|
|
@@ -2162,6 +2176,12 @@ const enums = new Map([
|
|
|
2162
2176
|
["MessageReactor", ["messageReactor"]],
|
|
2163
2177
|
["StarsGiveawayOption", ["starsGiveawayOption"]],
|
|
2164
2178
|
["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
|
|
2179
|
+
["StarGift", ["starGift"]],
|
|
2180
|
+
["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
|
|
2181
|
+
["UserStarGift", ["userStarGift"]],
|
|
2182
|
+
["payments.UserStarGifts", ["payments.userStarGifts"]],
|
|
2183
|
+
["MessageReportOption", ["messageReportOption"]],
|
|
2184
|
+
["ReportResult", ["reportResultChooseOption", "reportResultAddComment", "reportResultReported"]],
|
|
2165
2185
|
]);
|
|
2166
2186
|
const types = new Map([
|
|
2167
2187
|
[
|
|
@@ -3694,6 +3714,7 @@ const types = new Map([
|
|
|
3694
3714
|
["invert_media", "true", "flags.27?true"],
|
|
3695
3715
|
["flags2", exports.flags, "#"],
|
|
3696
3716
|
["offline", "true", "flags2.1?true"],
|
|
3717
|
+
["video_processing_pending", "true", "flags2.4?true"],
|
|
3697
3718
|
["id", "number", "int"],
|
|
3698
3719
|
["from_id", "Peer", "flags.8?Peer"],
|
|
3699
3720
|
["from_boosts_applied", "number", "flags.29?int"],
|
|
@@ -3796,7 +3817,7 @@ const types = new Map([
|
|
|
3796
3817
|
[
|
|
3797
3818
|
"messageMediaDocument",
|
|
3798
3819
|
[
|
|
3799
|
-
|
|
3820
|
+
0xDD570BD5,
|
|
3800
3821
|
[
|
|
3801
3822
|
["flags", exports.flags, "#"],
|
|
3802
3823
|
["nopremium", "true", "flags.3?true"],
|
|
@@ -3805,7 +3826,7 @@ const types = new Map([
|
|
|
3805
3826
|
["round", "true", "flags.7?true"],
|
|
3806
3827
|
["voice", "true", "flags.8?true"],
|
|
3807
3828
|
["document", "Document", "flags.0?Document"],
|
|
3808
|
-
["
|
|
3829
|
+
["alt_documents", ["Document"], "flags.5?Vector<Document>"],
|
|
3809
3830
|
["ttl_seconds", "number", "flags.2?int"],
|
|
3810
3831
|
],
|
|
3811
3832
|
],
|
|
@@ -4272,7 +4293,7 @@ const types = new Map([
|
|
|
4272
4293
|
[
|
|
4273
4294
|
"messageActionGiftPremium",
|
|
4274
4295
|
[
|
|
4275
|
-
|
|
4296
|
+
0x6C6274FA,
|
|
4276
4297
|
[
|
|
4277
4298
|
["flags", exports.flags, "#"],
|
|
4278
4299
|
["currency", "string", "string"],
|
|
@@ -4280,6 +4301,7 @@ const types = new Map([
|
|
|
4280
4301
|
["months", "number", "int"],
|
|
4281
4302
|
["crypto_currency", "string", "flags.0?string"],
|
|
4282
4303
|
["crypto_amount", "bigint", "flags.0?long"],
|
|
4304
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
4283
4305
|
],
|
|
4284
4306
|
],
|
|
4285
4307
|
],
|
|
@@ -4342,7 +4364,7 @@ const types = new Map([
|
|
|
4342
4364
|
[
|
|
4343
4365
|
"messageActionGiftCode",
|
|
4344
4366
|
[
|
|
4345
|
-
|
|
4367
|
+
0x56D03994,
|
|
4346
4368
|
[
|
|
4347
4369
|
["flags", exports.flags, "#"],
|
|
4348
4370
|
["via_giveaway", "true", "flags.0?true"],
|
|
@@ -4354,6 +4376,7 @@ const types = new Map([
|
|
|
4354
4376
|
["amount", "bigint", "flags.2?long"],
|
|
4355
4377
|
["crypto_currency", "string", "flags.3?string"],
|
|
4356
4378
|
["crypto_amount", "bigint", "flags.3?long"],
|
|
4379
|
+
["message", "TextWithEntities", "flags.4?TextWithEntities"],
|
|
4357
4380
|
],
|
|
4358
4381
|
],
|
|
4359
4382
|
],
|
|
@@ -4441,6 +4464,21 @@ const types = new Map([
|
|
|
4441
4464
|
],
|
|
4442
4465
|
],
|
|
4443
4466
|
],
|
|
4467
|
+
[
|
|
4468
|
+
"messageActionStarGift",
|
|
4469
|
+
[
|
|
4470
|
+
0x9BB3EF44,
|
|
4471
|
+
[
|
|
4472
|
+
["flags", exports.flags, "#"],
|
|
4473
|
+
["name_hidden", "true", "flags.0?true"],
|
|
4474
|
+
["saved", "true", "flags.2?true"],
|
|
4475
|
+
["converted", "true", "flags.3?true"],
|
|
4476
|
+
["gift", "StarGift", "StarGift"],
|
|
4477
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
4478
|
+
["convert_stars", "bigint", "long"],
|
|
4479
|
+
],
|
|
4480
|
+
],
|
|
4481
|
+
],
|
|
4444
4482
|
[
|
|
4445
4483
|
"dialog",
|
|
4446
4484
|
[
|
|
@@ -4854,7 +4892,7 @@ const types = new Map([
|
|
|
4854
4892
|
[
|
|
4855
4893
|
"userFull",
|
|
4856
4894
|
[
|
|
4857
|
-
|
|
4895
|
+
0x1F58E369,
|
|
4858
4896
|
[
|
|
4859
4897
|
["flags", exports.flags, "#"],
|
|
4860
4898
|
["blocked", "true", "flags.0?true"],
|
|
@@ -4872,6 +4910,7 @@ const types = new Map([
|
|
|
4872
4910
|
["read_dates_private", "true", "flags.30?true"],
|
|
4873
4911
|
["flags2", exports.flags, "#"],
|
|
4874
4912
|
["sponsored_enabled", "true", "flags2.7?true"],
|
|
4913
|
+
["can_view_revenue", "true", "flags2.9?true"],
|
|
4875
4914
|
["id", "bigint", "long"],
|
|
4876
4915
|
["about", "string", "flags.1?string"],
|
|
4877
4916
|
["settings", "PeerSettings", "PeerSettings"],
|
|
@@ -4899,6 +4938,7 @@ const types = new Map([
|
|
|
4899
4938
|
["birthday", "Birthday", "flags2.5?Birthday"],
|
|
4900
4939
|
["personal_channel_id", "bigint", "flags2.6?long"],
|
|
4901
4940
|
["personal_channel_message", "number", "flags2.6?int"],
|
|
4941
|
+
["stargifts_count", "number", "flags2.8?int"],
|
|
4902
4942
|
],
|
|
4903
4943
|
],
|
|
4904
4944
|
],
|
|
@@ -5976,10 +6016,12 @@ const types = new Map([
|
|
|
5976
6016
|
[
|
|
5977
6017
|
"updateDeleteScheduledMessages",
|
|
5978
6018
|
[
|
|
5979
|
-
|
|
6019
|
+
0xF2A71983,
|
|
5980
6020
|
[
|
|
6021
|
+
["flags", exports.flags, "#"],
|
|
5981
6022
|
["peer", "Peer", "Peer"],
|
|
5982
6023
|
["messages", ["number"], "Vector<int>"],
|
|
6024
|
+
["sent_messages", ["number"], "flags.0?Vector<int>"],
|
|
5983
6025
|
],
|
|
5984
6026
|
],
|
|
5985
6027
|
],
|
|
@@ -7911,7 +7953,7 @@ const types = new Map([
|
|
|
7911
7953
|
[
|
|
7912
7954
|
"documentAttributeVideo",
|
|
7913
7955
|
[
|
|
7914
|
-
|
|
7956
|
+
0x43C57C48,
|
|
7915
7957
|
[
|
|
7916
7958
|
["flags", exports.flags, "#"],
|
|
7917
7959
|
["round_message", "true", "flags.0?true"],
|
|
@@ -7922,6 +7964,7 @@ const types = new Map([
|
|
|
7922
7964
|
["h", "number", "int"],
|
|
7923
7965
|
["preload_prefix_size", "number", "flags.2?int"],
|
|
7924
7966
|
["video_start_ts", "number", "flags.4?double"],
|
|
7967
|
+
["video_codec", "string", "flags.5?string"],
|
|
7925
7968
|
],
|
|
7926
7969
|
],
|
|
7927
7970
|
],
|
|
@@ -8604,6 +8647,16 @@ const types = new Map([
|
|
|
8604
8647
|
],
|
|
8605
8648
|
],
|
|
8606
8649
|
],
|
|
8650
|
+
[
|
|
8651
|
+
"keyboardButtonCopy",
|
|
8652
|
+
[
|
|
8653
|
+
0x75D2698E,
|
|
8654
|
+
[
|
|
8655
|
+
["text", "string", "string"],
|
|
8656
|
+
["copy_text", "string", "string"],
|
|
8657
|
+
],
|
|
8658
|
+
],
|
|
8659
|
+
],
|
|
8607
8660
|
[
|
|
8608
8661
|
"keyboardButtonRow",
|
|
8609
8662
|
[
|
|
@@ -10798,6 +10851,16 @@ const types = new Map([
|
|
|
10798
10851
|
],
|
|
10799
10852
|
],
|
|
10800
10853
|
],
|
|
10854
|
+
[
|
|
10855
|
+
"payments.paymentFormStarGift",
|
|
10856
|
+
[
|
|
10857
|
+
0xB425CFE1,
|
|
10858
|
+
[
|
|
10859
|
+
["form_id", "bigint", "long"],
|
|
10860
|
+
["invoice", "Invoice", "Invoice"],
|
|
10861
|
+
],
|
|
10862
|
+
],
|
|
10863
|
+
],
|
|
10801
10864
|
[
|
|
10802
10865
|
"payments.validatedRequestedInfo",
|
|
10803
10866
|
[
|
|
@@ -14709,6 +14772,19 @@ const types = new Map([
|
|
|
14709
14772
|
],
|
|
14710
14773
|
],
|
|
14711
14774
|
],
|
|
14775
|
+
[
|
|
14776
|
+
"inputInvoiceStarGift",
|
|
14777
|
+
[
|
|
14778
|
+
0x25D8C1D8,
|
|
14779
|
+
[
|
|
14780
|
+
["flags", exports.flags, "#"],
|
|
14781
|
+
["hide_name", "true", "flags.0?true"],
|
|
14782
|
+
["user_id", "InputUser", "InputUser"],
|
|
14783
|
+
["gift_id", "bigint", "long"],
|
|
14784
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
14785
|
+
],
|
|
14786
|
+
],
|
|
14787
|
+
],
|
|
14712
14788
|
[
|
|
14713
14789
|
"payments.exportedInvoice",
|
|
14714
14790
|
[
|
|
@@ -14771,13 +14847,14 @@ const types = new Map([
|
|
|
14771
14847
|
[
|
|
14772
14848
|
"inputStorePaymentPremiumGiftCode",
|
|
14773
14849
|
[
|
|
14774
|
-
|
|
14850
|
+
0xFB790393,
|
|
14775
14851
|
[
|
|
14776
14852
|
["flags", exports.flags, "#"],
|
|
14777
14853
|
["users", ["InputUser"], "Vector<InputUser>"],
|
|
14778
14854
|
["boost_peer", "InputPeer", "flags.0?InputPeer"],
|
|
14779
14855
|
["currency", "string", "string"],
|
|
14780
14856
|
["amount", "bigint", "long"],
|
|
14857
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
14781
14858
|
],
|
|
14782
14859
|
],
|
|
14783
14860
|
],
|
|
@@ -17158,6 +17235,13 @@ const types = new Map([
|
|
|
17158
17235
|
[],
|
|
17159
17236
|
],
|
|
17160
17237
|
],
|
|
17238
|
+
[
|
|
17239
|
+
"starsTransactionPeerAPI",
|
|
17240
|
+
[
|
|
17241
|
+
0xF9677AAD,
|
|
17242
|
+
[],
|
|
17243
|
+
],
|
|
17244
|
+
],
|
|
17161
17245
|
[
|
|
17162
17246
|
"starsTopupOption",
|
|
17163
17247
|
[
|
|
@@ -17175,7 +17259,7 @@ const types = new Map([
|
|
|
17175
17259
|
[
|
|
17176
17260
|
"starsTransaction",
|
|
17177
17261
|
[
|
|
17178
|
-
|
|
17262
|
+
0x35D4F276,
|
|
17179
17263
|
[
|
|
17180
17264
|
["flags", exports.flags, "#"],
|
|
17181
17265
|
["refund", "true", "flags.3?true"],
|
|
@@ -17197,6 +17281,8 @@ const types = new Map([
|
|
|
17197
17281
|
["extended_media", ["MessageMedia"], "flags.9?Vector<MessageMedia>"],
|
|
17198
17282
|
["subscription_period", "number", "flags.12?int"],
|
|
17199
17283
|
["giveaway_post_id", "number", "flags.13?int"],
|
|
17284
|
+
["stargift", "StarGift", "flags.14?StarGift"],
|
|
17285
|
+
["floodskip_number", "number", "flags.15?int"],
|
|
17200
17286
|
],
|
|
17201
17287
|
],
|
|
17202
17288
|
],
|
|
@@ -17423,6 +17509,110 @@ const types = new Map([
|
|
|
17423
17509
|
],
|
|
17424
17510
|
],
|
|
17425
17511
|
],
|
|
17512
|
+
[
|
|
17513
|
+
"starGift",
|
|
17514
|
+
[
|
|
17515
|
+
0x49C577CD,
|
|
17516
|
+
[
|
|
17517
|
+
["flags", exports.flags, "#"],
|
|
17518
|
+
["limited", "true", "flags.0?true"],
|
|
17519
|
+
["sold_out", "true", "flags.1?true"],
|
|
17520
|
+
["id", "bigint", "long"],
|
|
17521
|
+
["sticker", "Document", "Document"],
|
|
17522
|
+
["stars", "bigint", "long"],
|
|
17523
|
+
["availability_remains", "number", "flags.0?int"],
|
|
17524
|
+
["availability_total", "number", "flags.0?int"],
|
|
17525
|
+
["convert_stars", "bigint", "long"],
|
|
17526
|
+
["first_sale_date", "number", "flags.1?int"],
|
|
17527
|
+
["last_sale_date", "number", "flags.1?int"],
|
|
17528
|
+
],
|
|
17529
|
+
],
|
|
17530
|
+
],
|
|
17531
|
+
[
|
|
17532
|
+
"payments.starGiftsNotModified",
|
|
17533
|
+
[
|
|
17534
|
+
0xA388A368,
|
|
17535
|
+
[],
|
|
17536
|
+
],
|
|
17537
|
+
],
|
|
17538
|
+
[
|
|
17539
|
+
"payments.starGifts",
|
|
17540
|
+
[
|
|
17541
|
+
0x901689EA,
|
|
17542
|
+
[
|
|
17543
|
+
["hash", "number", "int"],
|
|
17544
|
+
["gifts", ["StarGift"], "Vector<StarGift>"],
|
|
17545
|
+
],
|
|
17546
|
+
],
|
|
17547
|
+
],
|
|
17548
|
+
[
|
|
17549
|
+
"userStarGift",
|
|
17550
|
+
[
|
|
17551
|
+
0xEEA49A6E,
|
|
17552
|
+
[
|
|
17553
|
+
["flags", exports.flags, "#"],
|
|
17554
|
+
["name_hidden", "true", "flags.0?true"],
|
|
17555
|
+
["unsaved", "true", "flags.5?true"],
|
|
17556
|
+
["from_id", "bigint", "flags.1?long"],
|
|
17557
|
+
["date", "number", "int"],
|
|
17558
|
+
["gift", "StarGift", "StarGift"],
|
|
17559
|
+
["message", "TextWithEntities", "flags.2?TextWithEntities"],
|
|
17560
|
+
["msg_id", "number", "flags.3?int"],
|
|
17561
|
+
["convert_stars", "bigint", "flags.4?long"],
|
|
17562
|
+
],
|
|
17563
|
+
],
|
|
17564
|
+
],
|
|
17565
|
+
[
|
|
17566
|
+
"payments.userStarGifts",
|
|
17567
|
+
[
|
|
17568
|
+
0x6B65B517,
|
|
17569
|
+
[
|
|
17570
|
+
["flags", exports.flags, "#"],
|
|
17571
|
+
["count", "number", "int"],
|
|
17572
|
+
["gifts", ["UserStarGift"], "Vector<UserStarGift>"],
|
|
17573
|
+
["next_offset", "string", "flags.0?string"],
|
|
17574
|
+
["users", ["User"], "Vector<User>"],
|
|
17575
|
+
],
|
|
17576
|
+
],
|
|
17577
|
+
],
|
|
17578
|
+
[
|
|
17579
|
+
"messageReportOption",
|
|
17580
|
+
[
|
|
17581
|
+
0x7903E3D9,
|
|
17582
|
+
[
|
|
17583
|
+
["text", "string", "string"],
|
|
17584
|
+
["option", Uint8Array, "bytes"],
|
|
17585
|
+
],
|
|
17586
|
+
],
|
|
17587
|
+
],
|
|
17588
|
+
[
|
|
17589
|
+
"reportResultChooseOption",
|
|
17590
|
+
[
|
|
17591
|
+
0xF0E4E0B6,
|
|
17592
|
+
[
|
|
17593
|
+
["title", "string", "string"],
|
|
17594
|
+
["options", ["MessageReportOption"], "Vector<MessageReportOption>"],
|
|
17595
|
+
],
|
|
17596
|
+
],
|
|
17597
|
+
],
|
|
17598
|
+
[
|
|
17599
|
+
"reportResultAddComment",
|
|
17600
|
+
[
|
|
17601
|
+
0x6F09AC31,
|
|
17602
|
+
[
|
|
17603
|
+
["flags", exports.flags, "#"],
|
|
17604
|
+
["optional", "true", "flags.0?true"],
|
|
17605
|
+
["option", Uint8Array, "bytes"],
|
|
17606
|
+
],
|
|
17607
|
+
],
|
|
17608
|
+
],
|
|
17609
|
+
[
|
|
17610
|
+
"reportResultReported",
|
|
17611
|
+
[
|
|
17612
|
+
0x8DB33C4B,
|
|
17613
|
+
[],
|
|
17614
|
+
],
|
|
17615
|
+
],
|
|
17426
17616
|
[
|
|
17427
17617
|
"req_pq_multi",
|
|
17428
17618
|
[
|
|
@@ -19394,6 +19584,7 @@ const types = new Map([
|
|
|
19394
19584
|
["noforwards", "true", "flags.14?true"],
|
|
19395
19585
|
["update_stickersets_order", "true", "flags.15?true"],
|
|
19396
19586
|
["invert_media", "true", "flags.16?true"],
|
|
19587
|
+
["allow_paid_floodskip", "true", "flags.19?true"],
|
|
19397
19588
|
["peer", "InputPeer", "InputPeer"],
|
|
19398
19589
|
["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
|
|
19399
19590
|
["message", "string", "string"],
|
|
@@ -19419,6 +19610,7 @@ const types = new Map([
|
|
|
19419
19610
|
["noforwards", "true", "flags.14?true"],
|
|
19420
19611
|
["update_stickersets_order", "true", "flags.15?true"],
|
|
19421
19612
|
["invert_media", "true", "flags.16?true"],
|
|
19613
|
+
["allow_paid_floodskip", "true", "flags.19?true"],
|
|
19422
19614
|
["peer", "InputPeer", "InputPeer"],
|
|
19423
19615
|
["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
|
|
19424
19616
|
["media", "InputMedia", "InputMedia"],
|
|
@@ -19445,6 +19637,7 @@ const types = new Map([
|
|
|
19445
19637
|
["drop_author", "true", "flags.11?true"],
|
|
19446
19638
|
["drop_media_captions", "true", "flags.12?true"],
|
|
19447
19639
|
["noforwards", "true", "flags.14?true"],
|
|
19640
|
+
["allow_paid_floodskip", "true", "flags.19?true"],
|
|
19448
19641
|
["from_peer", "InputPeer", "InputPeer"],
|
|
19449
19642
|
["id", ["number"], "Vector<int>"],
|
|
19450
19643
|
["random_id", ["bigint"], "Vector<long>"],
|
|
@@ -19477,11 +19670,11 @@ const types = new Map([
|
|
|
19477
19670
|
[
|
|
19478
19671
|
"messages.report",
|
|
19479
19672
|
[
|
|
19480
|
-
|
|
19673
|
+
0xFC78AF9B,
|
|
19481
19674
|
[
|
|
19482
19675
|
["peer", "InputPeer", "InputPeer"],
|
|
19483
19676
|
["id", ["number"], "Vector<int>"],
|
|
19484
|
-
["
|
|
19677
|
+
["option", Uint8Array, "bytes"],
|
|
19485
19678
|
["message", "string", "string"],
|
|
19486
19679
|
],
|
|
19487
19680
|
],
|
|
@@ -20343,6 +20536,7 @@ const types = new Map([
|
|
|
20343
20536
|
["noforwards", "true", "flags.14?true"],
|
|
20344
20537
|
["update_stickersets_order", "true", "flags.15?true"],
|
|
20345
20538
|
["invert_media", "true", "flags.16?true"],
|
|
20539
|
+
["allow_paid_floodskip", "true", "flags.19?true"],
|
|
20346
20540
|
["peer", "InputPeer", "InputPeer"],
|
|
20347
20541
|
["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
|
|
20348
20542
|
["multi_media", ["InputSingleMedia"], "Vector<InputSingleMedia>"],
|
|
@@ -21736,6 +21930,49 @@ const types = new Map([
|
|
|
21736
21930
|
[],
|
|
21737
21931
|
],
|
|
21738
21932
|
],
|
|
21933
|
+
[
|
|
21934
|
+
"messages.viewSponsoredMessage",
|
|
21935
|
+
[
|
|
21936
|
+
0x673AD8F1,
|
|
21937
|
+
[
|
|
21938
|
+
["peer", "InputPeer", "InputPeer"],
|
|
21939
|
+
["random_id", Uint8Array, "bytes"],
|
|
21940
|
+
],
|
|
21941
|
+
],
|
|
21942
|
+
],
|
|
21943
|
+
[
|
|
21944
|
+
"messages.clickSponsoredMessage",
|
|
21945
|
+
[
|
|
21946
|
+
0x0F093465,
|
|
21947
|
+
[
|
|
21948
|
+
["flags", exports.flags, "#"],
|
|
21949
|
+
["media", "true", "flags.0?true"],
|
|
21950
|
+
["fullscreen", "true", "flags.1?true"],
|
|
21951
|
+
["peer", "InputPeer", "InputPeer"],
|
|
21952
|
+
["random_id", Uint8Array, "bytes"],
|
|
21953
|
+
],
|
|
21954
|
+
],
|
|
21955
|
+
],
|
|
21956
|
+
[
|
|
21957
|
+
"messages.reportSponsoredMessage",
|
|
21958
|
+
[
|
|
21959
|
+
0x1AF3DBB8,
|
|
21960
|
+
[
|
|
21961
|
+
["peer", "InputPeer", "InputPeer"],
|
|
21962
|
+
["random_id", Uint8Array, "bytes"],
|
|
21963
|
+
["option", Uint8Array, "bytes"],
|
|
21964
|
+
],
|
|
21965
|
+
],
|
|
21966
|
+
],
|
|
21967
|
+
[
|
|
21968
|
+
"messages.getSponsoredMessages",
|
|
21969
|
+
[
|
|
21970
|
+
0x9BD2F439,
|
|
21971
|
+
[
|
|
21972
|
+
["peer", "InputPeer", "InputPeer"],
|
|
21973
|
+
],
|
|
21974
|
+
],
|
|
21975
|
+
],
|
|
21739
21976
|
[
|
|
21740
21977
|
"updates.getState",
|
|
21741
21978
|
[
|
|
@@ -22506,25 +22743,6 @@ const types = new Map([
|
|
|
22506
22743
|
],
|
|
22507
22744
|
],
|
|
22508
22745
|
],
|
|
22509
|
-
[
|
|
22510
|
-
"channels.viewSponsoredMessage",
|
|
22511
|
-
[
|
|
22512
|
-
0xBEAEDB94,
|
|
22513
|
-
[
|
|
22514
|
-
["channel", "InputChannel", "InputChannel"],
|
|
22515
|
-
["random_id", Uint8Array, "bytes"],
|
|
22516
|
-
],
|
|
22517
|
-
],
|
|
22518
|
-
],
|
|
22519
|
-
[
|
|
22520
|
-
"channels.getSponsoredMessages",
|
|
22521
|
-
[
|
|
22522
|
-
0xEC210FBF,
|
|
22523
|
-
[
|
|
22524
|
-
["channel", "InputChannel", "InputChannel"],
|
|
22525
|
-
],
|
|
22526
|
-
],
|
|
22527
|
-
],
|
|
22528
22746
|
[
|
|
22529
22747
|
"channels.getSendAs",
|
|
22530
22748
|
[
|
|
@@ -22722,16 +22940,6 @@ const types = new Map([
|
|
|
22722
22940
|
],
|
|
22723
22941
|
],
|
|
22724
22942
|
],
|
|
22725
|
-
[
|
|
22726
|
-
"channels.clickSponsoredMessage",
|
|
22727
|
-
[
|
|
22728
|
-
0x18AFBC93,
|
|
22729
|
-
[
|
|
22730
|
-
["channel", "InputChannel", "InputChannel"],
|
|
22731
|
-
["random_id", Uint8Array, "bytes"],
|
|
22732
|
-
],
|
|
22733
|
-
],
|
|
22734
|
-
],
|
|
22735
22943
|
[
|
|
22736
22944
|
"channels.updateColor",
|
|
22737
22945
|
[
|
|
@@ -22795,17 +23003,6 @@ const types = new Map([
|
|
|
22795
23003
|
],
|
|
22796
23004
|
],
|
|
22797
23005
|
],
|
|
22798
|
-
[
|
|
22799
|
-
"channels.reportSponsoredMessage",
|
|
22800
|
-
[
|
|
22801
|
-
0xAF8FF6B9,
|
|
22802
|
-
[
|
|
22803
|
-
["channel", "InputChannel", "InputChannel"],
|
|
22804
|
-
["random_id", Uint8Array, "bytes"],
|
|
22805
|
-
["option", Uint8Array, "bytes"],
|
|
22806
|
-
],
|
|
22807
|
-
],
|
|
22808
|
-
],
|
|
22809
23006
|
[
|
|
22810
23007
|
"channels.restrictSponsoredMessages",
|
|
22811
23008
|
[
|
|
@@ -23263,9 +23460,8 @@ const types = new Map([
|
|
|
23263
23460
|
[
|
|
23264
23461
|
"payments.sendStarsForm",
|
|
23265
23462
|
[
|
|
23266
|
-
|
|
23463
|
+
0x7998C914,
|
|
23267
23464
|
[
|
|
23268
|
-
["flags", exports.flags, "#"],
|
|
23269
23465
|
["form_id", "bigint", "long"],
|
|
23270
23466
|
["invoice", "InputInvoice", "InputInvoice"],
|
|
23271
23467
|
],
|
|
@@ -23373,6 +23569,48 @@ const types = new Map([
|
|
|
23373
23569
|
[],
|
|
23374
23570
|
],
|
|
23375
23571
|
],
|
|
23572
|
+
[
|
|
23573
|
+
"payments.getStarGifts",
|
|
23574
|
+
[
|
|
23575
|
+
0xC4563590,
|
|
23576
|
+
[
|
|
23577
|
+
["hash", "number", "int"],
|
|
23578
|
+
],
|
|
23579
|
+
],
|
|
23580
|
+
],
|
|
23581
|
+
[
|
|
23582
|
+
"payments.getUserStarGifts",
|
|
23583
|
+
[
|
|
23584
|
+
0x5E72C7E1,
|
|
23585
|
+
[
|
|
23586
|
+
["user_id", "InputUser", "InputUser"],
|
|
23587
|
+
["offset", "string", "string"],
|
|
23588
|
+
["limit", "number", "int"],
|
|
23589
|
+
],
|
|
23590
|
+
],
|
|
23591
|
+
],
|
|
23592
|
+
[
|
|
23593
|
+
"payments.saveStarGift",
|
|
23594
|
+
[
|
|
23595
|
+
0x87ACF08E,
|
|
23596
|
+
[
|
|
23597
|
+
["flags", exports.flags, "#"],
|
|
23598
|
+
["unsave", "true", "flags.0?true"],
|
|
23599
|
+
["user_id", "InputUser", "InputUser"],
|
|
23600
|
+
["msg_id", "number", "int"],
|
|
23601
|
+
],
|
|
23602
|
+
],
|
|
23603
|
+
],
|
|
23604
|
+
[
|
|
23605
|
+
"payments.convertStarGift",
|
|
23606
|
+
[
|
|
23607
|
+
0x0421E027,
|
|
23608
|
+
[
|
|
23609
|
+
["user_id", "InputUser", "InputUser"],
|
|
23610
|
+
["msg_id", "number", "int"],
|
|
23611
|
+
],
|
|
23612
|
+
],
|
|
23613
|
+
],
|
|
23376
23614
|
[
|
|
23377
23615
|
"stickers.createStickerSet",
|
|
23378
23616
|
[
|
|
@@ -23977,20 +24215,20 @@ const types = new Map([
|
|
|
23977
24215
|
[
|
|
23978
24216
|
"stats.getBroadcastRevenueStats",
|
|
23979
24217
|
[
|
|
23980
|
-
|
|
24218
|
+
0xF788EE19,
|
|
23981
24219
|
[
|
|
23982
24220
|
["flags", exports.flags, "#"],
|
|
23983
24221
|
["dark", "true", "flags.0?true"],
|
|
23984
|
-
["
|
|
24222
|
+
["peer", "InputPeer", "InputPeer"],
|
|
23985
24223
|
],
|
|
23986
24224
|
],
|
|
23987
24225
|
],
|
|
23988
24226
|
[
|
|
23989
24227
|
"stats.getBroadcastRevenueWithdrawalUrl",
|
|
23990
24228
|
[
|
|
23991
|
-
|
|
24229
|
+
0x9DF4FAAD,
|
|
23992
24230
|
[
|
|
23993
|
-
["
|
|
24231
|
+
["peer", "InputPeer", "InputPeer"],
|
|
23994
24232
|
["password", "InputCheckPasswordSRP", "InputCheckPasswordSRP"],
|
|
23995
24233
|
],
|
|
23996
24234
|
],
|
|
@@ -23998,9 +24236,9 @@ const types = new Map([
|
|
|
23998
24236
|
[
|
|
23999
24237
|
"stats.getBroadcastRevenueTransactions",
|
|
24000
24238
|
[
|
|
24001
|
-
|
|
24239
|
+
0x70990B6D,
|
|
24002
24240
|
[
|
|
24003
|
-
["
|
|
24241
|
+
["peer", "InputPeer", "InputPeer"],
|
|
24004
24242
|
["offset", "number", "int"],
|
|
24005
24243
|
["limit", "number", "int"],
|
|
24006
24244
|
],
|
|
@@ -24296,11 +24534,11 @@ const types = new Map([
|
|
|
24296
24534
|
[
|
|
24297
24535
|
"stories.report",
|
|
24298
24536
|
[
|
|
24299
|
-
|
|
24537
|
+
0x19D8EB45,
|
|
24300
24538
|
[
|
|
24301
24539
|
["peer", "InputPeer", "InputPeer"],
|
|
24302
24540
|
["id", ["number"], "Vector<int>"],
|
|
24303
|
-
["
|
|
24541
|
+
["option", Uint8Array, "bytes"],
|
|
24304
24542
|
["message", "string", "string"],
|
|
24305
24543
|
],
|
|
24306
24544
|
],
|
|
@@ -24399,11 +24637,12 @@ const types = new Map([
|
|
|
24399
24637
|
[
|
|
24400
24638
|
"stories.searchPosts",
|
|
24401
24639
|
[
|
|
24402
|
-
|
|
24640
|
+
0xD1810907,
|
|
24403
24641
|
[
|
|
24404
24642
|
["flags", exports.flags, "#"],
|
|
24405
24643
|
["hashtag", "string", "flags.0?string"],
|
|
24406
24644
|
["area", "MediaArea", "flags.1?MediaArea"],
|
|
24645
|
+
["peer", "InputPeer", "flags.2?InputPeer"],
|
|
24407
24646
|
["offset", "string", "string"],
|
|
24408
24647
|
["limit", "number", "int"],
|
|
24409
24648
|
],
|