@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/esm/tl/0_api.js
CHANGED
|
@@ -156,7 +156,7 @@ const map = new Map([
|
|
|
156
156
|
[0x56E0D474, "messageMediaGeo"],
|
|
157
157
|
[0x70322949, "messageMediaContact"],
|
|
158
158
|
[0x9F84F49E, "messageMediaUnsupported"],
|
|
159
|
-
[
|
|
159
|
+
[0xDD570BD5, "messageMediaDocument"],
|
|
160
160
|
[0xDDF10C3B, "messageMediaWebPage"],
|
|
161
161
|
[0x2EC0533F, "messageMediaVenue"],
|
|
162
162
|
[0xFDB19008, "messageMediaGame"],
|
|
@@ -200,13 +200,13 @@ const map = new Map([
|
|
|
200
200
|
[0xEBBCA3CB, "messageActionChatJoinedByRequest"],
|
|
201
201
|
[0x47DD8079, "messageActionWebViewDataSentMe"],
|
|
202
202
|
[0xB4C38CB5, "messageActionWebViewDataSent"],
|
|
203
|
-
[
|
|
203
|
+
[0x6C6274FA, "messageActionGiftPremium"],
|
|
204
204
|
[0x0D999256, "messageActionTopicCreate"],
|
|
205
205
|
[0xC0944820, "messageActionTopicEdit"],
|
|
206
206
|
[0x57DE635E, "messageActionSuggestProfilePhoto"],
|
|
207
207
|
[0x31518E9B, "messageActionRequestedPeer"],
|
|
208
208
|
[0x5060A3F4, "messageActionSetChatWallPaper"],
|
|
209
|
-
[
|
|
209
|
+
[0x56D03994, "messageActionGiftCode"],
|
|
210
210
|
[0xA80F51E4, "messageActionGiveawayLaunch"],
|
|
211
211
|
[0x87E2F155, "messageActionGiveawayResults"],
|
|
212
212
|
[0xCC02AA6D, "messageActionBoostApply"],
|
|
@@ -214,6 +214,7 @@ const map = new Map([
|
|
|
214
214
|
[0x41B3E202, "messageActionPaymentRefunded"],
|
|
215
215
|
[0x45D5B021, "messageActionGiftStars"],
|
|
216
216
|
[0xB00C47A2, "messageActionPrizeStars"],
|
|
217
|
+
[0x9BB3EF44, "messageActionStarGift"],
|
|
217
218
|
[0xD58A08C6, "dialog"],
|
|
218
219
|
[0x71BD134C, "dialogFolder"],
|
|
219
220
|
[0x2331B22D, "photoEmpty"],
|
|
@@ -251,7 +252,7 @@ const map = new Map([
|
|
|
251
252
|
[0xF5DDD6E7, "inputReportReasonFake"],
|
|
252
253
|
[0x0A8EB2BE, "inputReportReasonIllegalDrugs"],
|
|
253
254
|
[0x9EC7863D, "inputReportReasonPersonalDetails"],
|
|
254
|
-
[
|
|
255
|
+
[0x1F58E369, "userFull"],
|
|
255
256
|
[0x145ADE0B, "contact"],
|
|
256
257
|
[0xC13E3C50, "importedContact"],
|
|
257
258
|
[0x16D9703B, "contactStatus"],
|
|
@@ -356,7 +357,7 @@ const map = new Map([
|
|
|
356
357
|
[0x6A7E7366, "updatePeerSettings"],
|
|
357
358
|
[0xB4AFCFB0, "updatePeerLocated"],
|
|
358
359
|
[0x39A51DFB, "updateNewScheduledMessage"],
|
|
359
|
-
[
|
|
360
|
+
[0xF2A71983, "updateDeleteScheduledMessages"],
|
|
360
361
|
[0x8216FBA3, "updateTheme"],
|
|
361
362
|
[0x871FB939, "updateGeoLiveViewed"],
|
|
362
363
|
[0x564FE691, "updateLoginToken"],
|
|
@@ -546,7 +547,7 @@ const map = new Map([
|
|
|
546
547
|
[0x6C37C15C, "documentAttributeImageSize"],
|
|
547
548
|
[0x11B58939, "documentAttributeAnimated"],
|
|
548
549
|
[0x6319D612, "documentAttributeSticker"],
|
|
549
|
-
[
|
|
550
|
+
[0x43C57C48, "documentAttributeVideo"],
|
|
550
551
|
[0x9852F9C6, "documentAttributeAudio"],
|
|
551
552
|
[0x15590068, "documentAttributeFilename"],
|
|
552
553
|
[0x9801D2F7, "documentAttributeHasStickers"],
|
|
@@ -606,6 +607,7 @@ const map = new Map([
|
|
|
606
607
|
[0xA0C0505C, "keyboardButtonSimpleWebView"],
|
|
607
608
|
[0x53D7BFD8, "keyboardButtonRequestPeer"],
|
|
608
609
|
[0xC9662D05, "inputKeyboardButtonRequestPeer"],
|
|
610
|
+
[0x75D2698E, "keyboardButtonCopy"],
|
|
609
611
|
[0x77608B83, "keyboardButtonRow"],
|
|
610
612
|
[0xA03E5B85, "replyKeyboardHide"],
|
|
611
613
|
[0x86B40B08, "replyKeyboardForceReply"],
|
|
@@ -808,6 +810,7 @@ const map = new Map([
|
|
|
808
810
|
[0x21E753BC, "upload.webFile"],
|
|
809
811
|
[0xA0058751, "payments.paymentForm"],
|
|
810
812
|
[0x7BF6B15C, "payments.paymentFormStars"],
|
|
813
|
+
[0xB425CFE1, "payments.paymentFormStarGift"],
|
|
811
814
|
[0xD1451883, "payments.validatedRequestedInfo"],
|
|
812
815
|
[0x4E5F810D, "payments.paymentResult"],
|
|
813
816
|
[0xD8411139, "payments.paymentVerificationNeeded"],
|
|
@@ -1169,12 +1172,13 @@ const map = new Map([
|
|
|
1169
1172
|
[0x98986C0D, "inputInvoicePremiumGiftCode"],
|
|
1170
1173
|
[0x65F00CE3, "inputInvoiceStars"],
|
|
1171
1174
|
[0x34E793F1, "inputInvoiceChatInviteSubscription"],
|
|
1175
|
+
[0x25D8C1D8, "inputInvoiceStarGift"],
|
|
1172
1176
|
[0xAED0CBD9, "payments.exportedInvoice"],
|
|
1173
1177
|
[0xCFB9D957, "messages.transcribedAudio"],
|
|
1174
1178
|
[0x5334759C, "help.premiumPromo"],
|
|
1175
1179
|
[0xA6751E66, "inputStorePaymentPremiumSubscription"],
|
|
1176
1180
|
[0x616F7FE8, "inputStorePaymentGiftPremium"],
|
|
1177
|
-
[
|
|
1181
|
+
[0xFB790393, "inputStorePaymentPremiumGiftCode"],
|
|
1178
1182
|
[0x160544CA, "inputStorePaymentPremiumGiveaway"],
|
|
1179
1183
|
[0xDDDD0F56, "inputStorePaymentStarsTopup"],
|
|
1180
1184
|
[0x1D741EF7, "inputStorePaymentStarsGift"],
|
|
@@ -1385,8 +1389,9 @@ const map = new Map([
|
|
|
1385
1389
|
[0xE92FD902, "starsTransactionPeerFragment"],
|
|
1386
1390
|
[0xD80DA15D, "starsTransactionPeer"],
|
|
1387
1391
|
[0x60682812, "starsTransactionPeerAds"],
|
|
1392
|
+
[0xF9677AAD, "starsTransactionPeerAPI"],
|
|
1388
1393
|
[0x0BD915C0, "starsTopupOption"],
|
|
1389
|
-
[
|
|
1394
|
+
[0x35D4F276, "starsTransaction"],
|
|
1390
1395
|
[0xBBFA316C, "payments.starsStatus"],
|
|
1391
1396
|
[0xE87ACBC0, "foundStory"],
|
|
1392
1397
|
[0xE2DE7737, "stories.foundStories"],
|
|
@@ -1405,6 +1410,15 @@ const map = new Map([
|
|
|
1405
1410
|
[0x4BA3A95A, "messageReactor"],
|
|
1406
1411
|
[0x94CE852A, "starsGiveawayOption"],
|
|
1407
1412
|
[0x54236209, "starsGiveawayWinnersOption"],
|
|
1413
|
+
[0x49C577CD, "starGift"],
|
|
1414
|
+
[0xA388A368, "payments.starGiftsNotModified"],
|
|
1415
|
+
[0x901689EA, "payments.starGifts"],
|
|
1416
|
+
[0xEEA49A6E, "userStarGift"],
|
|
1417
|
+
[0x6B65B517, "payments.userStarGifts"],
|
|
1418
|
+
[0x7903E3D9, "messageReportOption"],
|
|
1419
|
+
[0xF0E4E0B6, "reportResultChooseOption"],
|
|
1420
|
+
[0x6F09AC31, "reportResultAddComment"],
|
|
1421
|
+
[0x8DB33C4B, "reportResultReported"],
|
|
1408
1422
|
]);
|
|
1409
1423
|
export const getTypeName = map.get.bind(map);
|
|
1410
1424
|
export const flags = Symbol();
|
|
@@ -1459,7 +1473,7 @@ const enums = new Map([
|
|
|
1459
1473
|
["ChatPhoto", ["chatPhotoEmpty", "chatPhoto"]],
|
|
1460
1474
|
["Message", ["messageEmpty", "message", "messageService"]],
|
|
1461
1475
|
["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia"]],
|
|
1462
|
-
["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"]],
|
|
1476
|
+
["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"]],
|
|
1463
1477
|
["Dialog", ["dialog", "dialogFolder"]],
|
|
1464
1478
|
["Photo", ["photoEmpty", "photo"]],
|
|
1465
1479
|
["PhotoSize", ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]],
|
|
@@ -1679,7 +1693,7 @@ const enums = new Map([
|
|
|
1679
1693
|
["messages.StickerSet", ["messages.stickerSet", "messages.stickerSetNotModified"]],
|
|
1680
1694
|
["BotCommand", ["botCommand"]],
|
|
1681
1695
|
["BotInfo", ["botInfo"]],
|
|
1682
|
-
["KeyboardButton", ["keyboardButton", "keyboardButtonUrl", "keyboardButtonCallback", "keyboardButtonRequestPhone", "keyboardButtonRequestGeoLocation", "keyboardButtonSwitchInline", "keyboardButtonGame", "keyboardButtonBuy", "keyboardButtonUrlAuth", "inputKeyboardButtonUrlAuth", "keyboardButtonRequestPoll", "inputKeyboardButtonUserProfile", "keyboardButtonUserProfile", "keyboardButtonWebView", "keyboardButtonSimpleWebView", "keyboardButtonRequestPeer", "inputKeyboardButtonRequestPeer"]],
|
|
1696
|
+
["KeyboardButton", ["keyboardButton", "keyboardButtonUrl", "keyboardButtonCallback", "keyboardButtonRequestPhone", "keyboardButtonRequestGeoLocation", "keyboardButtonSwitchInline", "keyboardButtonGame", "keyboardButtonBuy", "keyboardButtonUrlAuth", "inputKeyboardButtonUrlAuth", "keyboardButtonRequestPoll", "inputKeyboardButtonUserProfile", "keyboardButtonUserProfile", "keyboardButtonWebView", "keyboardButtonSimpleWebView", "keyboardButtonRequestPeer", "inputKeyboardButtonRequestPeer", "keyboardButtonCopy"]],
|
|
1683
1697
|
["KeyboardButtonRow", ["keyboardButtonRow"]],
|
|
1684
1698
|
["ReplyMarkup", ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]],
|
|
1685
1699
|
["MessageEntity", ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote"]],
|
|
@@ -1738,7 +1752,7 @@ const enums = new Map([
|
|
|
1738
1752
|
["InputWebDocument", ["inputWebDocument"]],
|
|
1739
1753
|
["InputWebFileLocation", ["inputWebFileLocation", "inputWebFileGeoPointLocation", "inputWebFileAudioAlbumThumbLocation"]],
|
|
1740
1754
|
["upload.WebFile", ["upload.webFile"]],
|
|
1741
|
-
["payments.PaymentForm", ["payments.paymentForm", "payments.paymentFormStars"]],
|
|
1755
|
+
["payments.PaymentForm", ["payments.paymentForm", "payments.paymentFormStars", "payments.paymentFormStarGift"]],
|
|
1742
1756
|
["payments.ValidatedRequestedInfo", ["payments.validatedRequestedInfo"]],
|
|
1743
1757
|
["payments.PaymentResult", ["payments.paymentResult", "payments.paymentVerificationNeeded"]],
|
|
1744
1758
|
["payments.PaymentReceipt", ["payments.paymentReceipt", "payments.paymentReceiptStars"]],
|
|
@@ -1977,7 +1991,7 @@ const enums = new Map([
|
|
|
1977
1991
|
["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
|
|
1978
1992
|
["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
|
|
1979
1993
|
["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
|
|
1980
|
-
["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription"]],
|
|
1994
|
+
["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift"]],
|
|
1981
1995
|
["payments.ExportedInvoice", ["payments.exportedInvoice"]],
|
|
1982
1996
|
["messages.TranscribedAudio", ["messages.transcribedAudio"]],
|
|
1983
1997
|
["help.PremiumPromo", ["help.premiumPromo"]],
|
|
@@ -2115,7 +2129,7 @@ const enums = new Map([
|
|
|
2115
2129
|
["AvailableEffect", ["availableEffect"]],
|
|
2116
2130
|
["messages.AvailableEffects", ["messages.availableEffectsNotModified", "messages.availableEffects"]],
|
|
2117
2131
|
["FactCheck", ["factCheck"]],
|
|
2118
|
-
["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds"]],
|
|
2132
|
+
["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds", "starsTransactionPeerAPI"]],
|
|
2119
2133
|
["StarsTopupOption", ["starsTopupOption"]],
|
|
2120
2134
|
["StarsTransaction", ["starsTransaction"]],
|
|
2121
2135
|
["payments.StarsStatus", ["payments.starsStatus"]],
|
|
@@ -2136,6 +2150,12 @@ const enums = new Map([
|
|
|
2136
2150
|
["MessageReactor", ["messageReactor"]],
|
|
2137
2151
|
["StarsGiveawayOption", ["starsGiveawayOption"]],
|
|
2138
2152
|
["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
|
|
2153
|
+
["StarGift", ["starGift"]],
|
|
2154
|
+
["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
|
|
2155
|
+
["UserStarGift", ["userStarGift"]],
|
|
2156
|
+
["payments.UserStarGifts", ["payments.userStarGifts"]],
|
|
2157
|
+
["MessageReportOption", ["messageReportOption"]],
|
|
2158
|
+
["ReportResult", ["reportResultChooseOption", "reportResultAddComment", "reportResultReported"]],
|
|
2139
2159
|
]);
|
|
2140
2160
|
const types = new Map([
|
|
2141
2161
|
[
|
|
@@ -3668,6 +3688,7 @@ const types = new Map([
|
|
|
3668
3688
|
["invert_media", "true", "flags.27?true"],
|
|
3669
3689
|
["flags2", flags, "#"],
|
|
3670
3690
|
["offline", "true", "flags2.1?true"],
|
|
3691
|
+
["video_processing_pending", "true", "flags2.4?true"],
|
|
3671
3692
|
["id", "number", "int"],
|
|
3672
3693
|
["from_id", "Peer", "flags.8?Peer"],
|
|
3673
3694
|
["from_boosts_applied", "number", "flags.29?int"],
|
|
@@ -3770,7 +3791,7 @@ const types = new Map([
|
|
|
3770
3791
|
[
|
|
3771
3792
|
"messageMediaDocument",
|
|
3772
3793
|
[
|
|
3773
|
-
|
|
3794
|
+
0xDD570BD5,
|
|
3774
3795
|
[
|
|
3775
3796
|
["flags", flags, "#"],
|
|
3776
3797
|
["nopremium", "true", "flags.3?true"],
|
|
@@ -3779,7 +3800,7 @@ const types = new Map([
|
|
|
3779
3800
|
["round", "true", "flags.7?true"],
|
|
3780
3801
|
["voice", "true", "flags.8?true"],
|
|
3781
3802
|
["document", "Document", "flags.0?Document"],
|
|
3782
|
-
["
|
|
3803
|
+
["alt_documents", ["Document"], "flags.5?Vector<Document>"],
|
|
3783
3804
|
["ttl_seconds", "number", "flags.2?int"],
|
|
3784
3805
|
],
|
|
3785
3806
|
],
|
|
@@ -4246,7 +4267,7 @@ const types = new Map([
|
|
|
4246
4267
|
[
|
|
4247
4268
|
"messageActionGiftPremium",
|
|
4248
4269
|
[
|
|
4249
|
-
|
|
4270
|
+
0x6C6274FA,
|
|
4250
4271
|
[
|
|
4251
4272
|
["flags", flags, "#"],
|
|
4252
4273
|
["currency", "string", "string"],
|
|
@@ -4254,6 +4275,7 @@ const types = new Map([
|
|
|
4254
4275
|
["months", "number", "int"],
|
|
4255
4276
|
["crypto_currency", "string", "flags.0?string"],
|
|
4256
4277
|
["crypto_amount", "bigint", "flags.0?long"],
|
|
4278
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
4257
4279
|
],
|
|
4258
4280
|
],
|
|
4259
4281
|
],
|
|
@@ -4316,7 +4338,7 @@ const types = new Map([
|
|
|
4316
4338
|
[
|
|
4317
4339
|
"messageActionGiftCode",
|
|
4318
4340
|
[
|
|
4319
|
-
|
|
4341
|
+
0x56D03994,
|
|
4320
4342
|
[
|
|
4321
4343
|
["flags", flags, "#"],
|
|
4322
4344
|
["via_giveaway", "true", "flags.0?true"],
|
|
@@ -4328,6 +4350,7 @@ const types = new Map([
|
|
|
4328
4350
|
["amount", "bigint", "flags.2?long"],
|
|
4329
4351
|
["crypto_currency", "string", "flags.3?string"],
|
|
4330
4352
|
["crypto_amount", "bigint", "flags.3?long"],
|
|
4353
|
+
["message", "TextWithEntities", "flags.4?TextWithEntities"],
|
|
4331
4354
|
],
|
|
4332
4355
|
],
|
|
4333
4356
|
],
|
|
@@ -4415,6 +4438,21 @@ const types = new Map([
|
|
|
4415
4438
|
],
|
|
4416
4439
|
],
|
|
4417
4440
|
],
|
|
4441
|
+
[
|
|
4442
|
+
"messageActionStarGift",
|
|
4443
|
+
[
|
|
4444
|
+
0x9BB3EF44,
|
|
4445
|
+
[
|
|
4446
|
+
["flags", flags, "#"],
|
|
4447
|
+
["name_hidden", "true", "flags.0?true"],
|
|
4448
|
+
["saved", "true", "flags.2?true"],
|
|
4449
|
+
["converted", "true", "flags.3?true"],
|
|
4450
|
+
["gift", "StarGift", "StarGift"],
|
|
4451
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
4452
|
+
["convert_stars", "bigint", "long"],
|
|
4453
|
+
],
|
|
4454
|
+
],
|
|
4455
|
+
],
|
|
4418
4456
|
[
|
|
4419
4457
|
"dialog",
|
|
4420
4458
|
[
|
|
@@ -4828,7 +4866,7 @@ const types = new Map([
|
|
|
4828
4866
|
[
|
|
4829
4867
|
"userFull",
|
|
4830
4868
|
[
|
|
4831
|
-
|
|
4869
|
+
0x1F58E369,
|
|
4832
4870
|
[
|
|
4833
4871
|
["flags", flags, "#"],
|
|
4834
4872
|
["blocked", "true", "flags.0?true"],
|
|
@@ -4846,6 +4884,7 @@ const types = new Map([
|
|
|
4846
4884
|
["read_dates_private", "true", "flags.30?true"],
|
|
4847
4885
|
["flags2", flags, "#"],
|
|
4848
4886
|
["sponsored_enabled", "true", "flags2.7?true"],
|
|
4887
|
+
["can_view_revenue", "true", "flags2.9?true"],
|
|
4849
4888
|
["id", "bigint", "long"],
|
|
4850
4889
|
["about", "string", "flags.1?string"],
|
|
4851
4890
|
["settings", "PeerSettings", "PeerSettings"],
|
|
@@ -4873,6 +4912,7 @@ const types = new Map([
|
|
|
4873
4912
|
["birthday", "Birthday", "flags2.5?Birthday"],
|
|
4874
4913
|
["personal_channel_id", "bigint", "flags2.6?long"],
|
|
4875
4914
|
["personal_channel_message", "number", "flags2.6?int"],
|
|
4915
|
+
["stargifts_count", "number", "flags2.8?int"],
|
|
4876
4916
|
],
|
|
4877
4917
|
],
|
|
4878
4918
|
],
|
|
@@ -5950,10 +5990,12 @@ const types = new Map([
|
|
|
5950
5990
|
[
|
|
5951
5991
|
"updateDeleteScheduledMessages",
|
|
5952
5992
|
[
|
|
5953
|
-
|
|
5993
|
+
0xF2A71983,
|
|
5954
5994
|
[
|
|
5995
|
+
["flags", flags, "#"],
|
|
5955
5996
|
["peer", "Peer", "Peer"],
|
|
5956
5997
|
["messages", ["number"], "Vector<int>"],
|
|
5998
|
+
["sent_messages", ["number"], "flags.0?Vector<int>"],
|
|
5957
5999
|
],
|
|
5958
6000
|
],
|
|
5959
6001
|
],
|
|
@@ -7885,7 +7927,7 @@ const types = new Map([
|
|
|
7885
7927
|
[
|
|
7886
7928
|
"documentAttributeVideo",
|
|
7887
7929
|
[
|
|
7888
|
-
|
|
7930
|
+
0x43C57C48,
|
|
7889
7931
|
[
|
|
7890
7932
|
["flags", flags, "#"],
|
|
7891
7933
|
["round_message", "true", "flags.0?true"],
|
|
@@ -7896,6 +7938,7 @@ const types = new Map([
|
|
|
7896
7938
|
["h", "number", "int"],
|
|
7897
7939
|
["preload_prefix_size", "number", "flags.2?int"],
|
|
7898
7940
|
["video_start_ts", "number", "flags.4?double"],
|
|
7941
|
+
["video_codec", "string", "flags.5?string"],
|
|
7899
7942
|
],
|
|
7900
7943
|
],
|
|
7901
7944
|
],
|
|
@@ -8578,6 +8621,16 @@ const types = new Map([
|
|
|
8578
8621
|
],
|
|
8579
8622
|
],
|
|
8580
8623
|
],
|
|
8624
|
+
[
|
|
8625
|
+
"keyboardButtonCopy",
|
|
8626
|
+
[
|
|
8627
|
+
0x75D2698E,
|
|
8628
|
+
[
|
|
8629
|
+
["text", "string", "string"],
|
|
8630
|
+
["copy_text", "string", "string"],
|
|
8631
|
+
],
|
|
8632
|
+
],
|
|
8633
|
+
],
|
|
8581
8634
|
[
|
|
8582
8635
|
"keyboardButtonRow",
|
|
8583
8636
|
[
|
|
@@ -10772,6 +10825,16 @@ const types = new Map([
|
|
|
10772
10825
|
],
|
|
10773
10826
|
],
|
|
10774
10827
|
],
|
|
10828
|
+
[
|
|
10829
|
+
"payments.paymentFormStarGift",
|
|
10830
|
+
[
|
|
10831
|
+
0xB425CFE1,
|
|
10832
|
+
[
|
|
10833
|
+
["form_id", "bigint", "long"],
|
|
10834
|
+
["invoice", "Invoice", "Invoice"],
|
|
10835
|
+
],
|
|
10836
|
+
],
|
|
10837
|
+
],
|
|
10775
10838
|
[
|
|
10776
10839
|
"payments.validatedRequestedInfo",
|
|
10777
10840
|
[
|
|
@@ -14683,6 +14746,19 @@ const types = new Map([
|
|
|
14683
14746
|
],
|
|
14684
14747
|
],
|
|
14685
14748
|
],
|
|
14749
|
+
[
|
|
14750
|
+
"inputInvoiceStarGift",
|
|
14751
|
+
[
|
|
14752
|
+
0x25D8C1D8,
|
|
14753
|
+
[
|
|
14754
|
+
["flags", flags, "#"],
|
|
14755
|
+
["hide_name", "true", "flags.0?true"],
|
|
14756
|
+
["user_id", "InputUser", "InputUser"],
|
|
14757
|
+
["gift_id", "bigint", "long"],
|
|
14758
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
14759
|
+
],
|
|
14760
|
+
],
|
|
14761
|
+
],
|
|
14686
14762
|
[
|
|
14687
14763
|
"payments.exportedInvoice",
|
|
14688
14764
|
[
|
|
@@ -14745,13 +14821,14 @@ const types = new Map([
|
|
|
14745
14821
|
[
|
|
14746
14822
|
"inputStorePaymentPremiumGiftCode",
|
|
14747
14823
|
[
|
|
14748
|
-
|
|
14824
|
+
0xFB790393,
|
|
14749
14825
|
[
|
|
14750
14826
|
["flags", flags, "#"],
|
|
14751
14827
|
["users", ["InputUser"], "Vector<InputUser>"],
|
|
14752
14828
|
["boost_peer", "InputPeer", "flags.0?InputPeer"],
|
|
14753
14829
|
["currency", "string", "string"],
|
|
14754
14830
|
["amount", "bigint", "long"],
|
|
14831
|
+
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
14755
14832
|
],
|
|
14756
14833
|
],
|
|
14757
14834
|
],
|
|
@@ -17132,6 +17209,13 @@ const types = new Map([
|
|
|
17132
17209
|
[],
|
|
17133
17210
|
],
|
|
17134
17211
|
],
|
|
17212
|
+
[
|
|
17213
|
+
"starsTransactionPeerAPI",
|
|
17214
|
+
[
|
|
17215
|
+
0xF9677AAD,
|
|
17216
|
+
[],
|
|
17217
|
+
],
|
|
17218
|
+
],
|
|
17135
17219
|
[
|
|
17136
17220
|
"starsTopupOption",
|
|
17137
17221
|
[
|
|
@@ -17149,7 +17233,7 @@ const types = new Map([
|
|
|
17149
17233
|
[
|
|
17150
17234
|
"starsTransaction",
|
|
17151
17235
|
[
|
|
17152
|
-
|
|
17236
|
+
0x35D4F276,
|
|
17153
17237
|
[
|
|
17154
17238
|
["flags", flags, "#"],
|
|
17155
17239
|
["refund", "true", "flags.3?true"],
|
|
@@ -17171,6 +17255,8 @@ const types = new Map([
|
|
|
17171
17255
|
["extended_media", ["MessageMedia"], "flags.9?Vector<MessageMedia>"],
|
|
17172
17256
|
["subscription_period", "number", "flags.12?int"],
|
|
17173
17257
|
["giveaway_post_id", "number", "flags.13?int"],
|
|
17258
|
+
["stargift", "StarGift", "flags.14?StarGift"],
|
|
17259
|
+
["floodskip_number", "number", "flags.15?int"],
|
|
17174
17260
|
],
|
|
17175
17261
|
],
|
|
17176
17262
|
],
|
|
@@ -17397,6 +17483,110 @@ const types = new Map([
|
|
|
17397
17483
|
],
|
|
17398
17484
|
],
|
|
17399
17485
|
],
|
|
17486
|
+
[
|
|
17487
|
+
"starGift",
|
|
17488
|
+
[
|
|
17489
|
+
0x49C577CD,
|
|
17490
|
+
[
|
|
17491
|
+
["flags", flags, "#"],
|
|
17492
|
+
["limited", "true", "flags.0?true"],
|
|
17493
|
+
["sold_out", "true", "flags.1?true"],
|
|
17494
|
+
["id", "bigint", "long"],
|
|
17495
|
+
["sticker", "Document", "Document"],
|
|
17496
|
+
["stars", "bigint", "long"],
|
|
17497
|
+
["availability_remains", "number", "flags.0?int"],
|
|
17498
|
+
["availability_total", "number", "flags.0?int"],
|
|
17499
|
+
["convert_stars", "bigint", "long"],
|
|
17500
|
+
["first_sale_date", "number", "flags.1?int"],
|
|
17501
|
+
["last_sale_date", "number", "flags.1?int"],
|
|
17502
|
+
],
|
|
17503
|
+
],
|
|
17504
|
+
],
|
|
17505
|
+
[
|
|
17506
|
+
"payments.starGiftsNotModified",
|
|
17507
|
+
[
|
|
17508
|
+
0xA388A368,
|
|
17509
|
+
[],
|
|
17510
|
+
],
|
|
17511
|
+
],
|
|
17512
|
+
[
|
|
17513
|
+
"payments.starGifts",
|
|
17514
|
+
[
|
|
17515
|
+
0x901689EA,
|
|
17516
|
+
[
|
|
17517
|
+
["hash", "number", "int"],
|
|
17518
|
+
["gifts", ["StarGift"], "Vector<StarGift>"],
|
|
17519
|
+
],
|
|
17520
|
+
],
|
|
17521
|
+
],
|
|
17522
|
+
[
|
|
17523
|
+
"userStarGift",
|
|
17524
|
+
[
|
|
17525
|
+
0xEEA49A6E,
|
|
17526
|
+
[
|
|
17527
|
+
["flags", flags, "#"],
|
|
17528
|
+
["name_hidden", "true", "flags.0?true"],
|
|
17529
|
+
["unsaved", "true", "flags.5?true"],
|
|
17530
|
+
["from_id", "bigint", "flags.1?long"],
|
|
17531
|
+
["date", "number", "int"],
|
|
17532
|
+
["gift", "StarGift", "StarGift"],
|
|
17533
|
+
["message", "TextWithEntities", "flags.2?TextWithEntities"],
|
|
17534
|
+
["msg_id", "number", "flags.3?int"],
|
|
17535
|
+
["convert_stars", "bigint", "flags.4?long"],
|
|
17536
|
+
],
|
|
17537
|
+
],
|
|
17538
|
+
],
|
|
17539
|
+
[
|
|
17540
|
+
"payments.userStarGifts",
|
|
17541
|
+
[
|
|
17542
|
+
0x6B65B517,
|
|
17543
|
+
[
|
|
17544
|
+
["flags", flags, "#"],
|
|
17545
|
+
["count", "number", "int"],
|
|
17546
|
+
["gifts", ["UserStarGift"], "Vector<UserStarGift>"],
|
|
17547
|
+
["next_offset", "string", "flags.0?string"],
|
|
17548
|
+
["users", ["User"], "Vector<User>"],
|
|
17549
|
+
],
|
|
17550
|
+
],
|
|
17551
|
+
],
|
|
17552
|
+
[
|
|
17553
|
+
"messageReportOption",
|
|
17554
|
+
[
|
|
17555
|
+
0x7903E3D9,
|
|
17556
|
+
[
|
|
17557
|
+
["text", "string", "string"],
|
|
17558
|
+
["option", Uint8Array, "bytes"],
|
|
17559
|
+
],
|
|
17560
|
+
],
|
|
17561
|
+
],
|
|
17562
|
+
[
|
|
17563
|
+
"reportResultChooseOption",
|
|
17564
|
+
[
|
|
17565
|
+
0xF0E4E0B6,
|
|
17566
|
+
[
|
|
17567
|
+
["title", "string", "string"],
|
|
17568
|
+
["options", ["MessageReportOption"], "Vector<MessageReportOption>"],
|
|
17569
|
+
],
|
|
17570
|
+
],
|
|
17571
|
+
],
|
|
17572
|
+
[
|
|
17573
|
+
"reportResultAddComment",
|
|
17574
|
+
[
|
|
17575
|
+
0x6F09AC31,
|
|
17576
|
+
[
|
|
17577
|
+
["flags", flags, "#"],
|
|
17578
|
+
["optional", "true", "flags.0?true"],
|
|
17579
|
+
["option", Uint8Array, "bytes"],
|
|
17580
|
+
],
|
|
17581
|
+
],
|
|
17582
|
+
],
|
|
17583
|
+
[
|
|
17584
|
+
"reportResultReported",
|
|
17585
|
+
[
|
|
17586
|
+
0x8DB33C4B,
|
|
17587
|
+
[],
|
|
17588
|
+
],
|
|
17589
|
+
],
|
|
17400
17590
|
[
|
|
17401
17591
|
"req_pq_multi",
|
|
17402
17592
|
[
|
|
@@ -19368,6 +19558,7 @@ const types = new Map([
|
|
|
19368
19558
|
["noforwards", "true", "flags.14?true"],
|
|
19369
19559
|
["update_stickersets_order", "true", "flags.15?true"],
|
|
19370
19560
|
["invert_media", "true", "flags.16?true"],
|
|
19561
|
+
["allow_paid_floodskip", "true", "flags.19?true"],
|
|
19371
19562
|
["peer", "InputPeer", "InputPeer"],
|
|
19372
19563
|
["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
|
|
19373
19564
|
["message", "string", "string"],
|
|
@@ -19393,6 +19584,7 @@ const types = new Map([
|
|
|
19393
19584
|
["noforwards", "true", "flags.14?true"],
|
|
19394
19585
|
["update_stickersets_order", "true", "flags.15?true"],
|
|
19395
19586
|
["invert_media", "true", "flags.16?true"],
|
|
19587
|
+
["allow_paid_floodskip", "true", "flags.19?true"],
|
|
19396
19588
|
["peer", "InputPeer", "InputPeer"],
|
|
19397
19589
|
["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
|
|
19398
19590
|
["media", "InputMedia", "InputMedia"],
|
|
@@ -19419,6 +19611,7 @@ const types = new Map([
|
|
|
19419
19611
|
["drop_author", "true", "flags.11?true"],
|
|
19420
19612
|
["drop_media_captions", "true", "flags.12?true"],
|
|
19421
19613
|
["noforwards", "true", "flags.14?true"],
|
|
19614
|
+
["allow_paid_floodskip", "true", "flags.19?true"],
|
|
19422
19615
|
["from_peer", "InputPeer", "InputPeer"],
|
|
19423
19616
|
["id", ["number"], "Vector<int>"],
|
|
19424
19617
|
["random_id", ["bigint"], "Vector<long>"],
|
|
@@ -19451,11 +19644,11 @@ const types = new Map([
|
|
|
19451
19644
|
[
|
|
19452
19645
|
"messages.report",
|
|
19453
19646
|
[
|
|
19454
|
-
|
|
19647
|
+
0xFC78AF9B,
|
|
19455
19648
|
[
|
|
19456
19649
|
["peer", "InputPeer", "InputPeer"],
|
|
19457
19650
|
["id", ["number"], "Vector<int>"],
|
|
19458
|
-
["
|
|
19651
|
+
["option", Uint8Array, "bytes"],
|
|
19459
19652
|
["message", "string", "string"],
|
|
19460
19653
|
],
|
|
19461
19654
|
],
|
|
@@ -20317,6 +20510,7 @@ const types = new Map([
|
|
|
20317
20510
|
["noforwards", "true", "flags.14?true"],
|
|
20318
20511
|
["update_stickersets_order", "true", "flags.15?true"],
|
|
20319
20512
|
["invert_media", "true", "flags.16?true"],
|
|
20513
|
+
["allow_paid_floodskip", "true", "flags.19?true"],
|
|
20320
20514
|
["peer", "InputPeer", "InputPeer"],
|
|
20321
20515
|
["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
|
|
20322
20516
|
["multi_media", ["InputSingleMedia"], "Vector<InputSingleMedia>"],
|
|
@@ -21710,6 +21904,49 @@ const types = new Map([
|
|
|
21710
21904
|
[],
|
|
21711
21905
|
],
|
|
21712
21906
|
],
|
|
21907
|
+
[
|
|
21908
|
+
"messages.viewSponsoredMessage",
|
|
21909
|
+
[
|
|
21910
|
+
0x673AD8F1,
|
|
21911
|
+
[
|
|
21912
|
+
["peer", "InputPeer", "InputPeer"],
|
|
21913
|
+
["random_id", Uint8Array, "bytes"],
|
|
21914
|
+
],
|
|
21915
|
+
],
|
|
21916
|
+
],
|
|
21917
|
+
[
|
|
21918
|
+
"messages.clickSponsoredMessage",
|
|
21919
|
+
[
|
|
21920
|
+
0x0F093465,
|
|
21921
|
+
[
|
|
21922
|
+
["flags", flags, "#"],
|
|
21923
|
+
["media", "true", "flags.0?true"],
|
|
21924
|
+
["fullscreen", "true", "flags.1?true"],
|
|
21925
|
+
["peer", "InputPeer", "InputPeer"],
|
|
21926
|
+
["random_id", Uint8Array, "bytes"],
|
|
21927
|
+
],
|
|
21928
|
+
],
|
|
21929
|
+
],
|
|
21930
|
+
[
|
|
21931
|
+
"messages.reportSponsoredMessage",
|
|
21932
|
+
[
|
|
21933
|
+
0x1AF3DBB8,
|
|
21934
|
+
[
|
|
21935
|
+
["peer", "InputPeer", "InputPeer"],
|
|
21936
|
+
["random_id", Uint8Array, "bytes"],
|
|
21937
|
+
["option", Uint8Array, "bytes"],
|
|
21938
|
+
],
|
|
21939
|
+
],
|
|
21940
|
+
],
|
|
21941
|
+
[
|
|
21942
|
+
"messages.getSponsoredMessages",
|
|
21943
|
+
[
|
|
21944
|
+
0x9BD2F439,
|
|
21945
|
+
[
|
|
21946
|
+
["peer", "InputPeer", "InputPeer"],
|
|
21947
|
+
],
|
|
21948
|
+
],
|
|
21949
|
+
],
|
|
21713
21950
|
[
|
|
21714
21951
|
"updates.getState",
|
|
21715
21952
|
[
|
|
@@ -22480,25 +22717,6 @@ const types = new Map([
|
|
|
22480
22717
|
],
|
|
22481
22718
|
],
|
|
22482
22719
|
],
|
|
22483
|
-
[
|
|
22484
|
-
"channels.viewSponsoredMessage",
|
|
22485
|
-
[
|
|
22486
|
-
0xBEAEDB94,
|
|
22487
|
-
[
|
|
22488
|
-
["channel", "InputChannel", "InputChannel"],
|
|
22489
|
-
["random_id", Uint8Array, "bytes"],
|
|
22490
|
-
],
|
|
22491
|
-
],
|
|
22492
|
-
],
|
|
22493
|
-
[
|
|
22494
|
-
"channels.getSponsoredMessages",
|
|
22495
|
-
[
|
|
22496
|
-
0xEC210FBF,
|
|
22497
|
-
[
|
|
22498
|
-
["channel", "InputChannel", "InputChannel"],
|
|
22499
|
-
],
|
|
22500
|
-
],
|
|
22501
|
-
],
|
|
22502
22720
|
[
|
|
22503
22721
|
"channels.getSendAs",
|
|
22504
22722
|
[
|
|
@@ -22696,16 +22914,6 @@ const types = new Map([
|
|
|
22696
22914
|
],
|
|
22697
22915
|
],
|
|
22698
22916
|
],
|
|
22699
|
-
[
|
|
22700
|
-
"channels.clickSponsoredMessage",
|
|
22701
|
-
[
|
|
22702
|
-
0x18AFBC93,
|
|
22703
|
-
[
|
|
22704
|
-
["channel", "InputChannel", "InputChannel"],
|
|
22705
|
-
["random_id", Uint8Array, "bytes"],
|
|
22706
|
-
],
|
|
22707
|
-
],
|
|
22708
|
-
],
|
|
22709
22917
|
[
|
|
22710
22918
|
"channels.updateColor",
|
|
22711
22919
|
[
|
|
@@ -22769,17 +22977,6 @@ const types = new Map([
|
|
|
22769
22977
|
],
|
|
22770
22978
|
],
|
|
22771
22979
|
],
|
|
22772
|
-
[
|
|
22773
|
-
"channels.reportSponsoredMessage",
|
|
22774
|
-
[
|
|
22775
|
-
0xAF8FF6B9,
|
|
22776
|
-
[
|
|
22777
|
-
["channel", "InputChannel", "InputChannel"],
|
|
22778
|
-
["random_id", Uint8Array, "bytes"],
|
|
22779
|
-
["option", Uint8Array, "bytes"],
|
|
22780
|
-
],
|
|
22781
|
-
],
|
|
22782
|
-
],
|
|
22783
22980
|
[
|
|
22784
22981
|
"channels.restrictSponsoredMessages",
|
|
22785
22982
|
[
|
|
@@ -23237,9 +23434,8 @@ const types = new Map([
|
|
|
23237
23434
|
[
|
|
23238
23435
|
"payments.sendStarsForm",
|
|
23239
23436
|
[
|
|
23240
|
-
|
|
23437
|
+
0x7998C914,
|
|
23241
23438
|
[
|
|
23242
|
-
["flags", flags, "#"],
|
|
23243
23439
|
["form_id", "bigint", "long"],
|
|
23244
23440
|
["invoice", "InputInvoice", "InputInvoice"],
|
|
23245
23441
|
],
|
|
@@ -23347,6 +23543,48 @@ const types = new Map([
|
|
|
23347
23543
|
[],
|
|
23348
23544
|
],
|
|
23349
23545
|
],
|
|
23546
|
+
[
|
|
23547
|
+
"payments.getStarGifts",
|
|
23548
|
+
[
|
|
23549
|
+
0xC4563590,
|
|
23550
|
+
[
|
|
23551
|
+
["hash", "number", "int"],
|
|
23552
|
+
],
|
|
23553
|
+
],
|
|
23554
|
+
],
|
|
23555
|
+
[
|
|
23556
|
+
"payments.getUserStarGifts",
|
|
23557
|
+
[
|
|
23558
|
+
0x5E72C7E1,
|
|
23559
|
+
[
|
|
23560
|
+
["user_id", "InputUser", "InputUser"],
|
|
23561
|
+
["offset", "string", "string"],
|
|
23562
|
+
["limit", "number", "int"],
|
|
23563
|
+
],
|
|
23564
|
+
],
|
|
23565
|
+
],
|
|
23566
|
+
[
|
|
23567
|
+
"payments.saveStarGift",
|
|
23568
|
+
[
|
|
23569
|
+
0x87ACF08E,
|
|
23570
|
+
[
|
|
23571
|
+
["flags", flags, "#"],
|
|
23572
|
+
["unsave", "true", "flags.0?true"],
|
|
23573
|
+
["user_id", "InputUser", "InputUser"],
|
|
23574
|
+
["msg_id", "number", "int"],
|
|
23575
|
+
],
|
|
23576
|
+
],
|
|
23577
|
+
],
|
|
23578
|
+
[
|
|
23579
|
+
"payments.convertStarGift",
|
|
23580
|
+
[
|
|
23581
|
+
0x0421E027,
|
|
23582
|
+
[
|
|
23583
|
+
["user_id", "InputUser", "InputUser"],
|
|
23584
|
+
["msg_id", "number", "int"],
|
|
23585
|
+
],
|
|
23586
|
+
],
|
|
23587
|
+
],
|
|
23350
23588
|
[
|
|
23351
23589
|
"stickers.createStickerSet",
|
|
23352
23590
|
[
|
|
@@ -23951,20 +24189,20 @@ const types = new Map([
|
|
|
23951
24189
|
[
|
|
23952
24190
|
"stats.getBroadcastRevenueStats",
|
|
23953
24191
|
[
|
|
23954
|
-
|
|
24192
|
+
0xF788EE19,
|
|
23955
24193
|
[
|
|
23956
24194
|
["flags", flags, "#"],
|
|
23957
24195
|
["dark", "true", "flags.0?true"],
|
|
23958
|
-
["
|
|
24196
|
+
["peer", "InputPeer", "InputPeer"],
|
|
23959
24197
|
],
|
|
23960
24198
|
],
|
|
23961
24199
|
],
|
|
23962
24200
|
[
|
|
23963
24201
|
"stats.getBroadcastRevenueWithdrawalUrl",
|
|
23964
24202
|
[
|
|
23965
|
-
|
|
24203
|
+
0x9DF4FAAD,
|
|
23966
24204
|
[
|
|
23967
|
-
["
|
|
24205
|
+
["peer", "InputPeer", "InputPeer"],
|
|
23968
24206
|
["password", "InputCheckPasswordSRP", "InputCheckPasswordSRP"],
|
|
23969
24207
|
],
|
|
23970
24208
|
],
|
|
@@ -23972,9 +24210,9 @@ const types = new Map([
|
|
|
23972
24210
|
[
|
|
23973
24211
|
"stats.getBroadcastRevenueTransactions",
|
|
23974
24212
|
[
|
|
23975
|
-
|
|
24213
|
+
0x70990B6D,
|
|
23976
24214
|
[
|
|
23977
|
-
["
|
|
24215
|
+
["peer", "InputPeer", "InputPeer"],
|
|
23978
24216
|
["offset", "number", "int"],
|
|
23979
24217
|
["limit", "number", "int"],
|
|
23980
24218
|
],
|
|
@@ -24270,11 +24508,11 @@ const types = new Map([
|
|
|
24270
24508
|
[
|
|
24271
24509
|
"stories.report",
|
|
24272
24510
|
[
|
|
24273
|
-
|
|
24511
|
+
0x19D8EB45,
|
|
24274
24512
|
[
|
|
24275
24513
|
["peer", "InputPeer", "InputPeer"],
|
|
24276
24514
|
["id", ["number"], "Vector<int>"],
|
|
24277
|
-
["
|
|
24515
|
+
["option", Uint8Array, "bytes"],
|
|
24278
24516
|
["message", "string", "string"],
|
|
24279
24517
|
],
|
|
24280
24518
|
],
|
|
@@ -24373,11 +24611,12 @@ const types = new Map([
|
|
|
24373
24611
|
[
|
|
24374
24612
|
"stories.searchPosts",
|
|
24375
24613
|
[
|
|
24376
|
-
|
|
24614
|
+
0xD1810907,
|
|
24377
24615
|
[
|
|
24378
24616
|
["flags", flags, "#"],
|
|
24379
24617
|
["hashtag", "string", "flags.0?string"],
|
|
24380
24618
|
["area", "MediaArea", "flags.1?MediaArea"],
|
|
24619
|
+
["peer", "InputPeer", "flags.2?InputPeer"],
|
|
24381
24620
|
["offset", "string", "string"],
|
|
24382
24621
|
["limit", "number", "int"],
|
|
24383
24622
|
],
|