@mtkruto/node 0.18.1 → 0.19.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 +7 -7
- package/esm/0_deps.js +7 -7
- package/esm/3_types.d.ts +4 -4
- package/esm/3_types.d.ts.map +1 -1
- package/esm/3_types.js +4 -4
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_params.d.ts +1 -1
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_storage_operations.d.ts +1 -1
- package/esm/client/0_storage_operations.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +2 -2
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/1_client_encrypted.d.ts +1 -1
- package/esm/client/1_client_encrypted.d.ts.map +1 -1
- package/esm/client/1_client_plain.d.ts +1 -1
- package/esm/client/1_client_plain.d.ts.map +1 -1
- package/esm/client/2_account_manager.d.ts.map +1 -1
- package/esm/client/2_account_manager.js +4 -16
- package/esm/client/4_gift_manager.d.ts +3 -3
- package/esm/client/4_gift_manager.d.ts.map +1 -1
- package/esm/client/4_gift_manager.js +10 -10
- package/esm/client/5_client.d.ts +7 -7
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +7 -7
- package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.d.ts +2 -2
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.js +22 -15
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +2 -0
- package/{script/deps/jsr.io/@std/bytes/1.0.4 → esm/deps/jsr.io/@std/bytes/1.0.5}/concat.d.ts +3 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
- package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +2 -0
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.js +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.js +1 -1
- package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.js +2 -2
- package/esm/tl/0_api.d.ts +283 -73
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +436 -120
- package/esm/transport/0_transport.d.ts +2 -2
- package/esm/transport/0_transport.d.ts.map +1 -1
- package/esm/types/{4_user_gift.d.ts → 4_claimed_gift.d.ts} +7 -7
- package/esm/types/4_claimed_gift.d.ts.map +1 -0
- package/esm/types/{4_user_gift.js → 4_claimed_gift.js} +16 -11
- package/{script/types/5_user_gifts.d.ts → esm/types/5_claimed_gifts.d.ts} +6 -6
- package/esm/types/5_claimed_gifts.d.ts.map +1 -0
- package/esm/types/{5_user_gifts.js → 5_claimed_gifts.js} +19 -5
- package/esm/utilities/0_part_stream.d.ts +1 -1
- package/esm/utilities/0_part_stream.d.ts.map +1 -1
- package/esm/utilities/1_base64.d.ts +1 -1
- package/esm/utilities/1_base64.d.ts.map +1 -1
- package/esm/utilities/1_crypto.d.ts +2 -2
- package/esm/utilities/1_crypto.d.ts.map +1 -1
- package/package.json +2 -2
- package/script/0_deps.d.ts +7 -7
- package/script/0_deps.js +7 -7
- package/script/3_types.d.ts +4 -4
- package/script/3_types.d.ts.map +1 -1
- package/script/3_types.js +4 -4
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_params.d.ts +1 -1
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_storage_operations.d.ts +1 -1
- package/script/client/0_storage_operations.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +2 -2
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/1_client_encrypted.d.ts +1 -1
- package/script/client/1_client_encrypted.d.ts.map +1 -1
- package/script/client/1_client_plain.d.ts +1 -1
- package/script/client/1_client_plain.d.ts.map +1 -1
- package/script/client/2_account_manager.d.ts.map +1 -1
- package/script/client/2_account_manager.js +4 -16
- package/script/client/4_gift_manager.d.ts +3 -3
- package/script/client/4_gift_manager.d.ts.map +1 -1
- package/script/client/4_gift_manager.js +9 -9
- package/script/client/5_client.d.ts +7 -7
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +7 -7
- package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.d.ts +2 -2
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.js +22 -15
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.js +1 -1
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.js +3 -0
- package/{esm/deps/jsr.io/@std/bytes/1.0.4 → script/deps/jsr.io/@std/bytes/1.0.5}/concat.d.ts +3 -1
- package/script/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
- package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.js +1 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.js +3 -0
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.js +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.js +1 -1
- package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.js +2 -2
- package/script/tl/0_api.d.ts +283 -73
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +436 -120
- package/script/transport/0_transport.d.ts +2 -2
- package/script/transport/0_transport.d.ts.map +1 -1
- package/script/types/{4_user_gift.d.ts → 4_claimed_gift.d.ts} +7 -7
- package/script/types/4_claimed_gift.d.ts.map +1 -0
- package/script/types/{4_user_gift.js → 4_claimed_gift.js} +17 -12
- package/{esm/types/5_user_gifts.d.ts → script/types/5_claimed_gifts.d.ts} +6 -6
- package/script/types/5_claimed_gifts.d.ts.map +1 -0
- package/script/types/{5_user_gifts.js → 5_claimed_gifts.js} +20 -6
- package/script/utilities/0_part_stream.d.ts +1 -1
- package/script/utilities/0_part_stream.d.ts.map +1 -1
- package/script/utilities/1_base64.d.ts +1 -1
- package/script/utilities/1_base64.d.ts.map +1 -1
- package/script/utilities/1_crypto.d.ts +2 -2
- package/script/utilities/1_crypto.d.ts.map +1 -1
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
- package/esm/types/4_user_gift.d.ts.map +0 -1
- package/esm/types/5_user_gifts.d.ts.map +0 -1
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
- package/script/types/4_user_gift.d.ts.map +0 -1
- package/script/types/5_user_gifts.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.js +0 -0
- /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.d.ts +0 -0
- /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts +0 -0
- /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.js +0 -0
- /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.d.ts +0 -0
- /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts +0 -0
package/script/tl/0_api.js
CHANGED
|
@@ -81,7 +81,12 @@ const map = new Map([
|
|
|
81
81
|
[0x9299359F, "http_wait"],
|
|
82
82
|
[0x3FEDD339, "true"],
|
|
83
83
|
[0xC4B9F9BB, "error"],
|
|
84
|
-
[
|
|
84
|
+
[0xD433AD73, "ipPort"],
|
|
85
|
+
[0x37982646, "ipPortSecret"],
|
|
86
|
+
[0x4679B65F, "accessPointRule"],
|
|
87
|
+
[0x5A592A6C, "help.configSimple"],
|
|
88
|
+
[0x27D69997, "inputPeerPhotoFileLocationLegacy"],
|
|
89
|
+
[0x0DBAEAE9, "inputStickerSetThumbLegacy"],
|
|
85
90
|
[0x7F3B18EA, "inputPeerEmpty"],
|
|
86
91
|
[0x7DA07EC9, "inputPeerSelf"],
|
|
87
92
|
[0x35A95CB9, "inputPeerChat"],
|
|
@@ -102,11 +107,11 @@ const map = new Map([
|
|
|
102
107
|
[0xB3BA0635, "inputMediaPhoto"],
|
|
103
108
|
[0xF9C44144, "inputMediaGeoPoint"],
|
|
104
109
|
[0xF8AB7DFB, "inputMediaContact"],
|
|
105
|
-
[
|
|
106
|
-
[
|
|
110
|
+
[0x037C9330, "inputMediaUploadedDocument"],
|
|
111
|
+
[0xA8763AB5, "inputMediaDocument"],
|
|
107
112
|
[0xC13D1C11, "inputMediaVenue"],
|
|
108
113
|
[0xE5BBFE1A, "inputMediaPhotoExternal"],
|
|
109
|
-
[
|
|
114
|
+
[0x779600F9, "inputMediaDocumentExternal"],
|
|
110
115
|
[0xD33F43F3, "inputMediaGame"],
|
|
111
116
|
[0x405FEF0D, "inputMediaInvoice"],
|
|
112
117
|
[0x971FA843, "inputMediaGeoLive"],
|
|
@@ -161,7 +166,7 @@ const map = new Map([
|
|
|
161
166
|
[0xE00998B7, "channel"],
|
|
162
167
|
[0x17D493D5, "channelForbidden"],
|
|
163
168
|
[0x2633421B, "chatFull"],
|
|
164
|
-
[
|
|
169
|
+
[0x52D6806B, "channelFull"],
|
|
165
170
|
[0xC02D4007, "chatParticipant"],
|
|
166
171
|
[0xE46BCEE4, "chatParticipantCreator"],
|
|
167
172
|
[0xA0933F5B, "chatParticipantAdmin"],
|
|
@@ -177,7 +182,7 @@ const map = new Map([
|
|
|
177
182
|
[0x56E0D474, "messageMediaGeo"],
|
|
178
183
|
[0x70322949, "messageMediaContact"],
|
|
179
184
|
[0x9F84F49E, "messageMediaUnsupported"],
|
|
180
|
-
[
|
|
185
|
+
[0x52D8CCD9, "messageMediaDocument"],
|
|
181
186
|
[0xDDF10C3B, "messageMediaWebPage"],
|
|
182
187
|
[0x2EC0533F, "messageMediaVenue"],
|
|
183
188
|
[0xFDB19008, "messageMediaGame"],
|
|
@@ -235,8 +240,8 @@ const map = new Map([
|
|
|
235
240
|
[0x41B3E202, "messageActionPaymentRefunded"],
|
|
236
241
|
[0x45D5B021, "messageActionGiftStars"],
|
|
237
242
|
[0xB00C47A2, "messageActionPrizeStars"],
|
|
238
|
-
[
|
|
239
|
-
[
|
|
243
|
+
[0x4717E8A4, "messageActionStarGift"],
|
|
244
|
+
[0xACDFCB81, "messageActionStarGiftUnique"],
|
|
240
245
|
[0xD58A08C6, "dialog"],
|
|
241
246
|
[0x71BD134C, "dialogFolder"],
|
|
242
247
|
[0x2331B22D, "photoEmpty"],
|
|
@@ -451,7 +456,7 @@ const map = new Map([
|
|
|
451
456
|
[0x1EA2FDA7, "updateBusinessBotCallbackQuery"],
|
|
452
457
|
[0xA584B019, "updateStarsRevenueStatus"],
|
|
453
458
|
[0x283BD312, "updateBotPurchasedPaidMedia"],
|
|
454
|
-
[
|
|
459
|
+
[0x8B725FCE, "updatePaidReactionPrivacy"],
|
|
455
460
|
[0xA56C2A3E, "updates.state"],
|
|
456
461
|
[0x5D75A138, "updates.differenceEmpty"],
|
|
457
462
|
[0x00F49CA0, "updates.difference"],
|
|
@@ -1077,6 +1082,7 @@ const map = new Map([
|
|
|
1077
1082
|
[0x54B56617, "webPageAttributeTheme"],
|
|
1078
1083
|
[0x2E94C3E7, "webPageAttributeStory"],
|
|
1079
1084
|
[0x50CC03D3, "webPageAttributeStickerSet"],
|
|
1085
|
+
[0xCF6F6DB8, "webPageAttributeUniqueStarGift"],
|
|
1080
1086
|
[0x4899484E, "messages.votesList"],
|
|
1081
1087
|
[0xF568028A, "bankCardOpenUrl"],
|
|
1082
1088
|
[0x3E24E573, "payments.bankCardData"],
|
|
@@ -1201,9 +1207,9 @@ const map = new Map([
|
|
|
1201
1207
|
[0x98986C0D, "inputInvoicePremiumGiftCode"],
|
|
1202
1208
|
[0x65F00CE3, "inputInvoiceStars"],
|
|
1203
1209
|
[0x34E793F1, "inputInvoiceChatInviteSubscription"],
|
|
1204
|
-
[
|
|
1205
|
-
[
|
|
1206
|
-
[
|
|
1210
|
+
[0xE8625E92, "inputInvoiceStarGift"],
|
|
1211
|
+
[0x4D818D5D, "inputInvoiceStarGiftUpgrade"],
|
|
1212
|
+
[0x4A5F5BD9, "inputInvoiceStarGiftTransfer"],
|
|
1207
1213
|
[0xAED0CBD9, "payments.exportedInvoice"],
|
|
1208
1214
|
[0xCFB9D957, "messages.transcribedAudio"],
|
|
1209
1215
|
[0x5334759C, "help.premiumPromo"],
|
|
@@ -1217,8 +1223,9 @@ const map = new Map([
|
|
|
1217
1223
|
[0x74C34319, "premiumGiftOption"],
|
|
1218
1224
|
[0x88F8F21B, "paymentFormMethod"],
|
|
1219
1225
|
[0x2DE11AAE, "emojiStatusEmpty"],
|
|
1220
|
-
[
|
|
1221
|
-
[
|
|
1226
|
+
[0xE7FF068A, "emojiStatus"],
|
|
1227
|
+
[0x7184603B, "emojiStatusCollectible"],
|
|
1228
|
+
[0x07141DBF, "inputEmojiStatusCollectible"],
|
|
1222
1229
|
[0xD08CE645, "account.emojiStatusesNotModified"],
|
|
1223
1230
|
[0x90C467D1, "account.emojiStatuses"],
|
|
1224
1231
|
[0x79F5D419, "reactionEmpty"],
|
|
@@ -1309,6 +1316,7 @@ const map = new Map([
|
|
|
1309
1316
|
[0x2271F2BF, "inputMediaAreaChannelPost"],
|
|
1310
1317
|
[0x37381085, "mediaAreaUrl"],
|
|
1311
1318
|
[0x49A6549C, "mediaAreaWeather"],
|
|
1319
|
+
[0x5787686D, "mediaAreaStarGift"],
|
|
1312
1320
|
[0x9A35E999, "peerStories"],
|
|
1313
1321
|
[0xCAE68768, "stories.peerStories"],
|
|
1314
1322
|
[0xFD5E12BD, "messages.webPage"],
|
|
@@ -1442,11 +1450,9 @@ const map = new Map([
|
|
|
1442
1450
|
[0x94CE852A, "starsGiveawayOption"],
|
|
1443
1451
|
[0x54236209, "starsGiveawayWinnersOption"],
|
|
1444
1452
|
[0x02CC73C8, "starGift"],
|
|
1445
|
-
[
|
|
1453
|
+
[0x5C62D151, "starGiftUnique"],
|
|
1446
1454
|
[0xA388A368, "payments.starGiftsNotModified"],
|
|
1447
1455
|
[0x901689EA, "payments.starGifts"],
|
|
1448
|
-
[0x325835E1, "userStarGift"],
|
|
1449
|
-
[0x6B65B517, "payments.userStarGifts"],
|
|
1450
1456
|
[0x7903E3D9, "messageReportOption"],
|
|
1451
1457
|
[0xF0E4E0B6, "reportResultChooseOption"],
|
|
1452
1458
|
[0x6F09AC31, "reportResultAddComment"],
|
|
@@ -1466,10 +1472,20 @@ const map = new Map([
|
|
|
1466
1472
|
[0x39D99013, "starGiftAttributeModel"],
|
|
1467
1473
|
[0x13ACFF19, "starGiftAttributePattern"],
|
|
1468
1474
|
[0x94271762, "starGiftAttributeBackdrop"],
|
|
1469
|
-
[
|
|
1475
|
+
[0xE0BFF26C, "starGiftAttributeOriginalDetails"],
|
|
1470
1476
|
[0x167BD90B, "payments.starGiftUpgradePreview"],
|
|
1471
1477
|
[0x62D706B8, "users.users"],
|
|
1472
1478
|
[0x315A4974, "users.usersSlice"],
|
|
1479
|
+
[0xCAA2F60B, "payments.uniqueStarGift"],
|
|
1480
|
+
[0xB53E8B21, "messages.webPagePreview"],
|
|
1481
|
+
[0x6056DBA5, "savedStarGift"],
|
|
1482
|
+
[0x95F389B1, "payments.savedStarGifts"],
|
|
1483
|
+
[0x69279795, "inputSavedStarGiftUser"],
|
|
1484
|
+
[0xF101AA7F, "inputSavedStarGiftChat"],
|
|
1485
|
+
[0x84AA3A9C, "payments.starGiftWithdrawalUrl"],
|
|
1486
|
+
[0x206AD49E, "paidReactionPrivacyDefault"],
|
|
1487
|
+
[0x1F0C1AD9, "paidReactionPrivacyAnonymous"],
|
|
1488
|
+
[0xDC6CFCF0, "paidReactionPrivacyPeer"],
|
|
1473
1489
|
]);
|
|
1474
1490
|
exports.getTypeName = map.get.bind(map);
|
|
1475
1491
|
exports.flags = Symbol();
|
|
@@ -1500,7 +1516,10 @@ const enums = new Map([
|
|
|
1500
1516
|
["HttpWait", ["http_wait"]],
|
|
1501
1517
|
["True", ["true"]],
|
|
1502
1518
|
["Error", ["error"]],
|
|
1503
|
-
["
|
|
1519
|
+
["IpPort", ["ipPort", "ipPortSecret"]],
|
|
1520
|
+
["AccessPointRule", ["accessPointRule"]],
|
|
1521
|
+
["help.ConfigSimple", ["help.configSimple"]],
|
|
1522
|
+
["InputFileLocation", ["inputPeerPhotoFileLocationLegacy", "inputStickerSetThumbLegacy", "inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
|
|
1504
1523
|
["InputPeer", ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]],
|
|
1505
1524
|
["InputUser", ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]],
|
|
1506
1525
|
["InputContact", ["inputPhoneContact"]],
|
|
@@ -1509,7 +1528,6 @@ const enums = new Map([
|
|
|
1509
1528
|
["InputChatPhoto", ["inputChatPhotoEmpty", "inputChatUploadedPhoto", "inputChatPhoto"]],
|
|
1510
1529
|
["InputGeoPoint", ["inputGeoPointEmpty", "inputGeoPoint"]],
|
|
1511
1530
|
["InputPhoto", ["inputPhotoEmpty", "inputPhoto"]],
|
|
1512
|
-
["InputFileLocation", ["inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
|
|
1513
1531
|
["Peer", ["peerUser", "peerChat", "peerChannel"]],
|
|
1514
1532
|
["storage.FileType", ["storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp"]],
|
|
1515
1533
|
["User", ["userEmpty", "user"]],
|
|
@@ -1958,7 +1976,7 @@ const enums = new Map([
|
|
|
1958
1976
|
["BaseTheme", ["baseThemeClassic", "baseThemeDay", "baseThemeNight", "baseThemeTinted", "baseThemeArctic"]],
|
|
1959
1977
|
["InputThemeSettings", ["inputThemeSettings"]],
|
|
1960
1978
|
["ThemeSettings", ["themeSettings"]],
|
|
1961
|
-
["WebPageAttribute", ["webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet"]],
|
|
1979
|
+
["WebPageAttribute", ["webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet", "webPageAttributeUniqueStarGift"]],
|
|
1962
1980
|
["messages.VotesList", ["messages.votesList"]],
|
|
1963
1981
|
["BankCardOpenUrl", ["bankCardOpenUrl"]],
|
|
1964
1982
|
["payments.BankCardData", ["payments.bankCardData"]],
|
|
@@ -2047,7 +2065,7 @@ const enums = new Map([
|
|
|
2047
2065
|
["InputStorePaymentPurpose", ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway", "inputStorePaymentStarsTopup", "inputStorePaymentStarsGift", "inputStorePaymentStarsGiveaway"]],
|
|
2048
2066
|
["PremiumGiftOption", ["premiumGiftOption"]],
|
|
2049
2067
|
["PaymentFormMethod", ["paymentFormMethod"]],
|
|
2050
|
-
["EmojiStatus", ["emojiStatusEmpty", "emojiStatus", "
|
|
2068
|
+
["EmojiStatus", ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]],
|
|
2051
2069
|
["account.EmojiStatuses", ["account.emojiStatusesNotModified", "account.emojiStatuses"]],
|
|
2052
2070
|
["Reaction", ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]],
|
|
2053
2071
|
["ChatReactions", ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]],
|
|
@@ -2098,7 +2116,7 @@ const enums = new Map([
|
|
|
2098
2116
|
["ExportedStoryLink", ["exportedStoryLink"]],
|
|
2099
2117
|
["StoriesStealthMode", ["storiesStealthMode"]],
|
|
2100
2118
|
["MediaAreaCoordinates", ["mediaAreaCoordinates"]],
|
|
2101
|
-
["MediaArea", ["mediaAreaVenue", "inputMediaAreaVenue", "mediaAreaGeoPoint", "mediaAreaSuggestedReaction", "mediaAreaChannelPost", "inputMediaAreaChannelPost", "mediaAreaUrl", "mediaAreaWeather"]],
|
|
2119
|
+
["MediaArea", ["mediaAreaVenue", "inputMediaAreaVenue", "mediaAreaGeoPoint", "mediaAreaSuggestedReaction", "mediaAreaChannelPost", "inputMediaAreaChannelPost", "mediaAreaUrl", "mediaAreaWeather", "mediaAreaStarGift"]],
|
|
2102
2120
|
["PeerStories", ["peerStories"]],
|
|
2103
2121
|
["stories.PeerStories", ["stories.peerStories"]],
|
|
2104
2122
|
["messages.WebPage", ["messages.webPage"]],
|
|
@@ -2201,8 +2219,6 @@ const enums = new Map([
|
|
|
2201
2219
|
["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
|
|
2202
2220
|
["StarGift", ["starGift", "starGiftUnique"]],
|
|
2203
2221
|
["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
|
|
2204
|
-
["UserStarGift", ["userStarGift"]],
|
|
2205
|
-
["payments.UserStarGifts", ["payments.userStarGifts"]],
|
|
2206
2222
|
["MessageReportOption", ["messageReportOption"]],
|
|
2207
2223
|
["ReportResult", ["reportResultChooseOption", "reportResultAddComment", "reportResultReported"]],
|
|
2208
2224
|
["messages.BotPreparedInlineMessage", ["messages.botPreparedInlineMessage"]],
|
|
@@ -2219,6 +2235,13 @@ const enums = new Map([
|
|
|
2219
2235
|
["StarGiftAttribute", ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]],
|
|
2220
2236
|
["payments.StarGiftUpgradePreview", ["payments.starGiftUpgradePreview"]],
|
|
2221
2237
|
["users.Users", ["users.users", "users.usersSlice"]],
|
|
2238
|
+
["payments.UniqueStarGift", ["payments.uniqueStarGift"]],
|
|
2239
|
+
["messages.WebPagePreview", ["messages.webPagePreview"]],
|
|
2240
|
+
["SavedStarGift", ["savedStarGift"]],
|
|
2241
|
+
["payments.SavedStarGifts", ["payments.savedStarGifts"]],
|
|
2242
|
+
["InputSavedStarGift", ["inputSavedStarGiftUser", "inputSavedStarGiftChat"]],
|
|
2243
|
+
["payments.StarGiftWithdrawalUrl", ["payments.starGiftWithdrawalUrl"]],
|
|
2244
|
+
["PaidReactionPrivacy", ["paidReactionPrivacyDefault", "paidReactionPrivacyAnonymous", "paidReactionPrivacyPeer"]],
|
|
2222
2245
|
]);
|
|
2223
2246
|
const types = new Map([
|
|
2224
2247
|
[
|
|
@@ -2595,10 +2618,70 @@ const types = new Map([
|
|
|
2595
2618
|
],
|
|
2596
2619
|
],
|
|
2597
2620
|
[
|
|
2598
|
-
"
|
|
2621
|
+
"ipPort",
|
|
2599
2622
|
[
|
|
2600
|
-
|
|
2601
|
-
[
|
|
2623
|
+
0xD433AD73,
|
|
2624
|
+
[
|
|
2625
|
+
["ipv4", "number", "int"],
|
|
2626
|
+
["port", "number", "int"],
|
|
2627
|
+
],
|
|
2628
|
+
],
|
|
2629
|
+
],
|
|
2630
|
+
[
|
|
2631
|
+
"ipPortSecret",
|
|
2632
|
+
[
|
|
2633
|
+
0x37982646,
|
|
2634
|
+
[
|
|
2635
|
+
["ipv4", "number", "int"],
|
|
2636
|
+
["port", "number", "int"],
|
|
2637
|
+
["secret", Uint8Array, "bytes"],
|
|
2638
|
+
],
|
|
2639
|
+
],
|
|
2640
|
+
],
|
|
2641
|
+
[
|
|
2642
|
+
"accessPointRule",
|
|
2643
|
+
[
|
|
2644
|
+
0x4679B65F,
|
|
2645
|
+
[
|
|
2646
|
+
["phone_prefix_rules", "string", "string"],
|
|
2647
|
+
["dc_id", "number", "int"],
|
|
2648
|
+
["ips", ["IpPort"], "vector<IpPort>"],
|
|
2649
|
+
],
|
|
2650
|
+
],
|
|
2651
|
+
],
|
|
2652
|
+
[
|
|
2653
|
+
"help.configSimple",
|
|
2654
|
+
[
|
|
2655
|
+
0x5A592A6C,
|
|
2656
|
+
[
|
|
2657
|
+
["date", "number", "int"],
|
|
2658
|
+
["expires", "number", "int"],
|
|
2659
|
+
["rules", ["AccessPointRule"], "vector<AccessPointRule>"],
|
|
2660
|
+
],
|
|
2661
|
+
],
|
|
2662
|
+
],
|
|
2663
|
+
[
|
|
2664
|
+
"inputPeerPhotoFileLocationLegacy",
|
|
2665
|
+
[
|
|
2666
|
+
0x27D69997,
|
|
2667
|
+
[
|
|
2668
|
+
["flags", exports.flags, "#"],
|
|
2669
|
+
["big", "true", "flags.0?true"],
|
|
2670
|
+
["peer", "InputPeer", "InputPeer"],
|
|
2671
|
+
["volume_id", "bigint", "long"],
|
|
2672
|
+
["local_id", "number", "int"],
|
|
2673
|
+
],
|
|
2674
|
+
],
|
|
2675
|
+
],
|
|
2676
|
+
[
|
|
2677
|
+
"inputStickerSetThumbLegacy",
|
|
2678
|
+
[
|
|
2679
|
+
0x0DBAEAE9,
|
|
2680
|
+
[
|
|
2681
|
+
["stickerset", "InputStickerSet", "InputStickerSet"],
|
|
2682
|
+
["volume_id", "bigint", "long"],
|
|
2683
|
+
["local_id", "number", "int"],
|
|
2684
|
+
],
|
|
2602
2685
|
],
|
|
2603
2686
|
],
|
|
2604
2687
|
[
|
|
@@ -2801,7 +2884,7 @@ const types = new Map([
|
|
|
2801
2884
|
[
|
|
2802
2885
|
"inputMediaUploadedDocument",
|
|
2803
2886
|
[
|
|
2804
|
-
|
|
2887
|
+
0x037C9330,
|
|
2805
2888
|
[
|
|
2806
2889
|
["flags", exports.flags, "#"],
|
|
2807
2890
|
["nosound_video", "true", "flags.3?true"],
|
|
@@ -2812,6 +2895,8 @@ const types = new Map([
|
|
|
2812
2895
|
["mime_type", "string", "string"],
|
|
2813
2896
|
["attributes", ["DocumentAttribute"], "Vector<DocumentAttribute>"],
|
|
2814
2897
|
["stickers", ["InputDocument"], "flags.0?Vector<InputDocument>"],
|
|
2898
|
+
["video_cover", "InputPhoto", "flags.6?InputPhoto"],
|
|
2899
|
+
["video_timestamp", "number", "flags.7?int"],
|
|
2815
2900
|
["ttl_seconds", "number", "flags.1?int"],
|
|
2816
2901
|
],
|
|
2817
2902
|
],
|
|
@@ -2819,11 +2904,13 @@ const types = new Map([
|
|
|
2819
2904
|
[
|
|
2820
2905
|
"inputMediaDocument",
|
|
2821
2906
|
[
|
|
2822
|
-
|
|
2907
|
+
0xA8763AB5,
|
|
2823
2908
|
[
|
|
2824
2909
|
["flags", exports.flags, "#"],
|
|
2825
2910
|
["spoiler", "true", "flags.2?true"],
|
|
2826
2911
|
["id", "InputDocument", "InputDocument"],
|
|
2912
|
+
["video_cover", "InputPhoto", "flags.3?InputPhoto"],
|
|
2913
|
+
["video_timestamp", "number", "flags.4?int"],
|
|
2827
2914
|
["ttl_seconds", "number", "flags.0?int"],
|
|
2828
2915
|
["query", "string", "flags.1?string"],
|
|
2829
2916
|
],
|
|
@@ -2858,12 +2945,14 @@ const types = new Map([
|
|
|
2858
2945
|
[
|
|
2859
2946
|
"inputMediaDocumentExternal",
|
|
2860
2947
|
[
|
|
2861
|
-
|
|
2948
|
+
0x779600F9,
|
|
2862
2949
|
[
|
|
2863
2950
|
["flags", exports.flags, "#"],
|
|
2864
2951
|
["spoiler", "true", "flags.1?true"],
|
|
2865
2952
|
["url", "string", "string"],
|
|
2866
2953
|
["ttl_seconds", "number", "flags.0?int"],
|
|
2954
|
+
["video_cover", "InputPhoto", "flags.2?InputPhoto"],
|
|
2955
|
+
["video_timestamp", "number", "flags.3?int"],
|
|
2867
2956
|
],
|
|
2868
2957
|
],
|
|
2869
2958
|
],
|
|
@@ -3523,7 +3612,7 @@ const types = new Map([
|
|
|
3523
3612
|
[
|
|
3524
3613
|
"channelFull",
|
|
3525
3614
|
[
|
|
3526
|
-
|
|
3615
|
+
0x52D6806B,
|
|
3527
3616
|
[
|
|
3528
3617
|
["flags", exports.flags, "#"],
|
|
3529
3618
|
["can_view_participants", "true", "flags.3?true"],
|
|
@@ -3546,6 +3635,7 @@ const types = new Map([
|
|
|
3546
3635
|
["paid_media_allowed", "true", "flags2.14?true"],
|
|
3547
3636
|
["can_view_stars_revenue", "true", "flags2.15?true"],
|
|
3548
3637
|
["paid_reactions_available", "true", "flags2.16?true"],
|
|
3638
|
+
["stargifts_available", "true", "flags2.19?true"],
|
|
3549
3639
|
["id", "bigint", "long"],
|
|
3550
3640
|
["about", "string", "string"],
|
|
3551
3641
|
["participants_count", "number", "flags.0?int"],
|
|
@@ -3588,6 +3678,7 @@ const types = new Map([
|
|
|
3588
3678
|
["boosts_unrestrict", "number", "flags2.9?int"],
|
|
3589
3679
|
["emojiset", "StickerSet", "flags2.10?StickerSet"],
|
|
3590
3680
|
["bot_verification", "BotVerification", "flags2.17?BotVerification"],
|
|
3681
|
+
["stargifts_count", "number", "flags2.18?int"],
|
|
3591
3682
|
],
|
|
3592
3683
|
],
|
|
3593
3684
|
],
|
|
@@ -3800,7 +3891,7 @@ const types = new Map([
|
|
|
3800
3891
|
[
|
|
3801
3892
|
"messageMediaDocument",
|
|
3802
3893
|
[
|
|
3803
|
-
|
|
3894
|
+
0x52D8CCD9,
|
|
3804
3895
|
[
|
|
3805
3896
|
["flags", exports.flags, "#"],
|
|
3806
3897
|
["nopremium", "true", "flags.3?true"],
|
|
@@ -3810,6 +3901,8 @@ const types = new Map([
|
|
|
3810
3901
|
["voice", "true", "flags.8?true"],
|
|
3811
3902
|
["document", "Document", "flags.0?Document"],
|
|
3812
3903
|
["alt_documents", ["Document"], "flags.5?Vector<Document>"],
|
|
3904
|
+
["video_cover", "Photo", "flags.9?Photo"],
|
|
3905
|
+
["video_timestamp", "number", "flags.10?int"],
|
|
3813
3906
|
["ttl_seconds", "number", "flags.2?int"],
|
|
3814
3907
|
],
|
|
3815
3908
|
],
|
|
@@ -4452,7 +4545,7 @@ const types = new Map([
|
|
|
4452
4545
|
[
|
|
4453
4546
|
"messageActionStarGift",
|
|
4454
4547
|
[
|
|
4455
|
-
|
|
4548
|
+
0x4717E8A4,
|
|
4456
4549
|
[
|
|
4457
4550
|
["flags", exports.flags, "#"],
|
|
4458
4551
|
["name_hidden", "true", "flags.0?true"],
|
|
@@ -4466,13 +4559,16 @@ const types = new Map([
|
|
|
4466
4559
|
["convert_stars", "bigint", "flags.4?long"],
|
|
4467
4560
|
["upgrade_msg_id", "number", "flags.5?int"],
|
|
4468
4561
|
["upgrade_stars", "bigint", "flags.8?long"],
|
|
4562
|
+
["from_id", "Peer", "flags.11?Peer"],
|
|
4563
|
+
["peer", "Peer", "flags.12?Peer"],
|
|
4564
|
+
["saved_id", "bigint", "flags.12?long"],
|
|
4469
4565
|
],
|
|
4470
4566
|
],
|
|
4471
4567
|
],
|
|
4472
4568
|
[
|
|
4473
4569
|
"messageActionStarGiftUnique",
|
|
4474
4570
|
[
|
|
4475
|
-
|
|
4571
|
+
0xACDFCB81,
|
|
4476
4572
|
[
|
|
4477
4573
|
["flags", exports.flags, "#"],
|
|
4478
4574
|
["upgrade", "true", "flags.0?true"],
|
|
@@ -4482,6 +4578,9 @@ const types = new Map([
|
|
|
4482
4578
|
["gift", "StarGift", "StarGift"],
|
|
4483
4579
|
["can_export_at", "number", "flags.3?int"],
|
|
4484
4580
|
["transfer_stars", "bigint", "flags.4?long"],
|
|
4581
|
+
["from_id", "Peer", "flags.6?Peer"],
|
|
4582
|
+
["peer", "Peer", "flags.7?Peer"],
|
|
4583
|
+
["saved_id", "bigint", "flags.7?long"],
|
|
4485
4584
|
],
|
|
4486
4585
|
],
|
|
4487
4586
|
],
|
|
@@ -6799,9 +6898,9 @@ const types = new Map([
|
|
|
6799
6898
|
[
|
|
6800
6899
|
"updatePaidReactionPrivacy",
|
|
6801
6900
|
[
|
|
6802
|
-
|
|
6901
|
+
0x8B725FCE,
|
|
6803
6902
|
[
|
|
6804
|
-
["private", "
|
|
6903
|
+
["private", "PaidReactionPrivacy", "PaidReactionPrivacy"],
|
|
6805
6904
|
],
|
|
6806
6905
|
],
|
|
6807
6906
|
],
|
|
@@ -8147,6 +8246,7 @@ const types = new Map([
|
|
|
8147
8246
|
[
|
|
8148
8247
|
["flags", exports.flags, "#"],
|
|
8149
8248
|
["has_large_media", "true", "flags.13?true"],
|
|
8249
|
+
["video_cover_photo", "true", "flags.14?true"],
|
|
8150
8250
|
["id", "bigint", "long"],
|
|
8151
8251
|
["url", "string", "string"],
|
|
8152
8252
|
["display_url", "string", "string"],
|
|
@@ -13461,6 +13561,15 @@ const types = new Map([
|
|
|
13461
13561
|
],
|
|
13462
13562
|
],
|
|
13463
13563
|
],
|
|
13564
|
+
[
|
|
13565
|
+
"webPageAttributeUniqueStarGift",
|
|
13566
|
+
[
|
|
13567
|
+
0xCF6F6DB8,
|
|
13568
|
+
[
|
|
13569
|
+
["gift", "StarGift", "StarGift"],
|
|
13570
|
+
],
|
|
13571
|
+
],
|
|
13572
|
+
],
|
|
13464
13573
|
[
|
|
13465
13574
|
"messages.votesList",
|
|
13466
13575
|
[
|
|
@@ -14849,12 +14958,12 @@ const types = new Map([
|
|
|
14849
14958
|
[
|
|
14850
14959
|
"inputInvoiceStarGift",
|
|
14851
14960
|
[
|
|
14852
|
-
|
|
14961
|
+
0xE8625E92,
|
|
14853
14962
|
[
|
|
14854
14963
|
["flags", exports.flags, "#"],
|
|
14855
14964
|
["hide_name", "true", "flags.0?true"],
|
|
14856
14965
|
["include_upgrade", "true", "flags.2?true"],
|
|
14857
|
-
["
|
|
14966
|
+
["peer", "InputPeer", "InputPeer"],
|
|
14858
14967
|
["gift_id", "bigint", "long"],
|
|
14859
14968
|
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
14860
14969
|
],
|
|
@@ -14863,21 +14972,21 @@ const types = new Map([
|
|
|
14863
14972
|
[
|
|
14864
14973
|
"inputInvoiceStarGiftUpgrade",
|
|
14865
14974
|
[
|
|
14866
|
-
|
|
14975
|
+
0x4D818D5D,
|
|
14867
14976
|
[
|
|
14868
14977
|
["flags", exports.flags, "#"],
|
|
14869
14978
|
["keep_original_details", "true", "flags.0?true"],
|
|
14870
|
-
["
|
|
14979
|
+
["stargift", "InputSavedStarGift", "InputSavedStarGift"],
|
|
14871
14980
|
],
|
|
14872
14981
|
],
|
|
14873
14982
|
],
|
|
14874
14983
|
[
|
|
14875
14984
|
"inputInvoiceStarGiftTransfer",
|
|
14876
14985
|
[
|
|
14877
|
-
|
|
14986
|
+
0x4A5F5BD9,
|
|
14878
14987
|
[
|
|
14879
|
-
["
|
|
14880
|
-
["to_id", "
|
|
14988
|
+
["stargift", "InputSavedStarGift", "InputSavedStarGift"],
|
|
14989
|
+
["to_id", "InputPeer", "InputPeer"],
|
|
14881
14990
|
],
|
|
14882
14991
|
],
|
|
14883
14992
|
],
|
|
@@ -15051,19 +15160,41 @@ const types = new Map([
|
|
|
15051
15160
|
[
|
|
15052
15161
|
"emojiStatus",
|
|
15053
15162
|
[
|
|
15054
|
-
|
|
15163
|
+
0xE7FF068A,
|
|
15055
15164
|
[
|
|
15165
|
+
["flags", exports.flags, "#"],
|
|
15056
15166
|
["document_id", "bigint", "long"],
|
|
15167
|
+
["until", "number", "flags.0?int"],
|
|
15057
15168
|
],
|
|
15058
15169
|
],
|
|
15059
15170
|
],
|
|
15060
15171
|
[
|
|
15061
|
-
"
|
|
15172
|
+
"emojiStatusCollectible",
|
|
15062
15173
|
[
|
|
15063
|
-
|
|
15174
|
+
0x7184603B,
|
|
15064
15175
|
[
|
|
15176
|
+
["flags", exports.flags, "#"],
|
|
15177
|
+
["collectible_id", "bigint", "long"],
|
|
15065
15178
|
["document_id", "bigint", "long"],
|
|
15066
|
-
["
|
|
15179
|
+
["title", "string", "string"],
|
|
15180
|
+
["slug", "string", "string"],
|
|
15181
|
+
["pattern_document_id", "bigint", "long"],
|
|
15182
|
+
["center_color", "number", "int"],
|
|
15183
|
+
["edge_color", "number", "int"],
|
|
15184
|
+
["pattern_color", "number", "int"],
|
|
15185
|
+
["text_color", "number", "int"],
|
|
15186
|
+
["until", "number", "flags.0?int"],
|
|
15187
|
+
],
|
|
15188
|
+
],
|
|
15189
|
+
],
|
|
15190
|
+
[
|
|
15191
|
+
"inputEmojiStatusCollectible",
|
|
15192
|
+
[
|
|
15193
|
+
0x07141DBF,
|
|
15194
|
+
[
|
|
15195
|
+
["flags", exports.flags, "#"],
|
|
15196
|
+
["collectible_id", "bigint", "long"],
|
|
15197
|
+
["until", "number", "flags.0?int"],
|
|
15067
15198
|
],
|
|
15068
15199
|
],
|
|
15069
15200
|
],
|
|
@@ -16080,6 +16211,16 @@ const types = new Map([
|
|
|
16080
16211
|
],
|
|
16081
16212
|
],
|
|
16082
16213
|
],
|
|
16214
|
+
[
|
|
16215
|
+
"mediaAreaStarGift",
|
|
16216
|
+
[
|
|
16217
|
+
0x5787686D,
|
|
16218
|
+
[
|
|
16219
|
+
["coordinates", "MediaAreaCoordinates", "MediaAreaCoordinates"],
|
|
16220
|
+
["slug", "string", "string"],
|
|
16221
|
+
],
|
|
16222
|
+
],
|
|
16223
|
+
],
|
|
16083
16224
|
[
|
|
16084
16225
|
"peerStories",
|
|
16085
16226
|
[
|
|
@@ -17638,15 +17779,20 @@ const types = new Map([
|
|
|
17638
17779
|
[
|
|
17639
17780
|
"starGiftUnique",
|
|
17640
17781
|
[
|
|
17641
|
-
|
|
17782
|
+
0x5C62D151,
|
|
17642
17783
|
[
|
|
17784
|
+
["flags", exports.flags, "#"],
|
|
17643
17785
|
["id", "bigint", "long"],
|
|
17644
17786
|
["title", "string", "string"],
|
|
17787
|
+
["slug", "string", "string"],
|
|
17645
17788
|
["num", "number", "int"],
|
|
17646
|
-
["owner_id", "
|
|
17789
|
+
["owner_id", "Peer", "flags.0?Peer"],
|
|
17790
|
+
["owner_name", "string", "flags.1?string"],
|
|
17791
|
+
["owner_address", "string", "flags.2?string"],
|
|
17647
17792
|
["attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
|
|
17648
17793
|
["availability_issued", "number", "int"],
|
|
17649
17794
|
["availability_total", "number", "int"],
|
|
17795
|
+
["gift_address", "string", "flags.3?string"],
|
|
17650
17796
|
],
|
|
17651
17797
|
],
|
|
17652
17798
|
],
|
|
@@ -17667,41 +17813,6 @@ const types = new Map([
|
|
|
17667
17813
|
],
|
|
17668
17814
|
],
|
|
17669
17815
|
],
|
|
17670
|
-
[
|
|
17671
|
-
"userStarGift",
|
|
17672
|
-
[
|
|
17673
|
-
0x325835E1,
|
|
17674
|
-
[
|
|
17675
|
-
["flags", exports.flags, "#"],
|
|
17676
|
-
["name_hidden", "true", "flags.0?true"],
|
|
17677
|
-
["unsaved", "true", "flags.5?true"],
|
|
17678
|
-
["refunded", "true", "flags.9?true"],
|
|
17679
|
-
["can_upgrade", "true", "flags.10?true"],
|
|
17680
|
-
["from_id", "bigint", "flags.1?long"],
|
|
17681
|
-
["date", "number", "int"],
|
|
17682
|
-
["gift", "StarGift", "StarGift"],
|
|
17683
|
-
["message", "TextWithEntities", "flags.2?TextWithEntities"],
|
|
17684
|
-
["msg_id", "number", "flags.3?int"],
|
|
17685
|
-
["convert_stars", "bigint", "flags.4?long"],
|
|
17686
|
-
["upgrade_stars", "bigint", "flags.6?long"],
|
|
17687
|
-
["can_export_at", "number", "flags.7?int"],
|
|
17688
|
-
["transfer_stars", "bigint", "flags.8?long"],
|
|
17689
|
-
],
|
|
17690
|
-
],
|
|
17691
|
-
],
|
|
17692
|
-
[
|
|
17693
|
-
"payments.userStarGifts",
|
|
17694
|
-
[
|
|
17695
|
-
0x6B65B517,
|
|
17696
|
-
[
|
|
17697
|
-
["flags", exports.flags, "#"],
|
|
17698
|
-
["count", "number", "int"],
|
|
17699
|
-
["gifts", ["UserStarGift"], "Vector<UserStarGift>"],
|
|
17700
|
-
["next_offset", "string", "flags.0?string"],
|
|
17701
|
-
["users", ["User"], "Vector<User>"],
|
|
17702
|
-
],
|
|
17703
|
-
],
|
|
17704
|
-
],
|
|
17705
17816
|
[
|
|
17706
17817
|
"messageReportOption",
|
|
17707
17818
|
[
|
|
@@ -17927,11 +18038,11 @@ const types = new Map([
|
|
|
17927
18038
|
[
|
|
17928
18039
|
"starGiftAttributeOriginalDetails",
|
|
17929
18040
|
[
|
|
17930
|
-
|
|
18041
|
+
0xE0BFF26C,
|
|
17931
18042
|
[
|
|
17932
18043
|
["flags", exports.flags, "#"],
|
|
17933
|
-
["sender_id", "
|
|
17934
|
-
["recipient_id", "
|
|
18044
|
+
["sender_id", "Peer", "flags.0?Peer"],
|
|
18045
|
+
["recipient_id", "Peer", "Peer"],
|
|
17935
18046
|
["date", "number", "int"],
|
|
17936
18047
|
["message", "TextWithEntities", "flags.1?TextWithEntities"],
|
|
17937
18048
|
],
|
|
@@ -17965,6 +18076,115 @@ const types = new Map([
|
|
|
17965
18076
|
],
|
|
17966
18077
|
],
|
|
17967
18078
|
],
|
|
18079
|
+
[
|
|
18080
|
+
"payments.uniqueStarGift",
|
|
18081
|
+
[
|
|
18082
|
+
0xCAA2F60B,
|
|
18083
|
+
[
|
|
18084
|
+
["gift", "StarGift", "StarGift"],
|
|
18085
|
+
["users", ["User"], "Vector<User>"],
|
|
18086
|
+
],
|
|
18087
|
+
],
|
|
18088
|
+
],
|
|
18089
|
+
[
|
|
18090
|
+
"messages.webPagePreview",
|
|
18091
|
+
[
|
|
18092
|
+
0xB53E8B21,
|
|
18093
|
+
[
|
|
18094
|
+
["media", "MessageMedia", "MessageMedia"],
|
|
18095
|
+
["users", ["User"], "Vector<User>"],
|
|
18096
|
+
],
|
|
18097
|
+
],
|
|
18098
|
+
],
|
|
18099
|
+
[
|
|
18100
|
+
"savedStarGift",
|
|
18101
|
+
[
|
|
18102
|
+
0x6056DBA5,
|
|
18103
|
+
[
|
|
18104
|
+
["flags", exports.flags, "#"],
|
|
18105
|
+
["name_hidden", "true", "flags.0?true"],
|
|
18106
|
+
["unsaved", "true", "flags.5?true"],
|
|
18107
|
+
["refunded", "true", "flags.9?true"],
|
|
18108
|
+
["can_upgrade", "true", "flags.10?true"],
|
|
18109
|
+
["from_id", "Peer", "flags.1?Peer"],
|
|
18110
|
+
["date", "number", "int"],
|
|
18111
|
+
["gift", "StarGift", "StarGift"],
|
|
18112
|
+
["message", "TextWithEntities", "flags.2?TextWithEntities"],
|
|
18113
|
+
["msg_id", "number", "flags.3?int"],
|
|
18114
|
+
["saved_id", "bigint", "flags.11?long"],
|
|
18115
|
+
["convert_stars", "bigint", "flags.4?long"],
|
|
18116
|
+
["upgrade_stars", "bigint", "flags.6?long"],
|
|
18117
|
+
["can_export_at", "number", "flags.7?int"],
|
|
18118
|
+
["transfer_stars", "bigint", "flags.8?long"],
|
|
18119
|
+
],
|
|
18120
|
+
],
|
|
18121
|
+
],
|
|
18122
|
+
[
|
|
18123
|
+
"payments.savedStarGifts",
|
|
18124
|
+
[
|
|
18125
|
+
0x95F389B1,
|
|
18126
|
+
[
|
|
18127
|
+
["flags", exports.flags, "#"],
|
|
18128
|
+
["count", "number", "int"],
|
|
18129
|
+
["chat_notifications_enabled", "boolean", "flags.1?Bool"],
|
|
18130
|
+
["gifts", ["SavedStarGift"], "Vector<SavedStarGift>"],
|
|
18131
|
+
["next_offset", "string", "flags.0?string"],
|
|
18132
|
+
["chats", ["Chat"], "Vector<Chat>"],
|
|
18133
|
+
["users", ["User"], "Vector<User>"],
|
|
18134
|
+
],
|
|
18135
|
+
],
|
|
18136
|
+
],
|
|
18137
|
+
[
|
|
18138
|
+
"inputSavedStarGiftUser",
|
|
18139
|
+
[
|
|
18140
|
+
0x69279795,
|
|
18141
|
+
[
|
|
18142
|
+
["msg_id", "number", "int"],
|
|
18143
|
+
],
|
|
18144
|
+
],
|
|
18145
|
+
],
|
|
18146
|
+
[
|
|
18147
|
+
"inputSavedStarGiftChat",
|
|
18148
|
+
[
|
|
18149
|
+
0xF101AA7F,
|
|
18150
|
+
[
|
|
18151
|
+
["peer", "InputPeer", "InputPeer"],
|
|
18152
|
+
["saved_id", "bigint", "long"],
|
|
18153
|
+
],
|
|
18154
|
+
],
|
|
18155
|
+
],
|
|
18156
|
+
[
|
|
18157
|
+
"payments.starGiftWithdrawalUrl",
|
|
18158
|
+
[
|
|
18159
|
+
0x84AA3A9C,
|
|
18160
|
+
[
|
|
18161
|
+
["url", "string", "string"],
|
|
18162
|
+
],
|
|
18163
|
+
],
|
|
18164
|
+
],
|
|
18165
|
+
[
|
|
18166
|
+
"paidReactionPrivacyDefault",
|
|
18167
|
+
[
|
|
18168
|
+
0x206AD49E,
|
|
18169
|
+
[],
|
|
18170
|
+
],
|
|
18171
|
+
],
|
|
18172
|
+
[
|
|
18173
|
+
"paidReactionPrivacyAnonymous",
|
|
18174
|
+
[
|
|
18175
|
+
0x1F0C1AD9,
|
|
18176
|
+
[],
|
|
18177
|
+
],
|
|
18178
|
+
],
|
|
18179
|
+
[
|
|
18180
|
+
"paidReactionPrivacyPeer",
|
|
18181
|
+
[
|
|
18182
|
+
0xDC6CFCF0,
|
|
18183
|
+
[
|
|
18184
|
+
["peer", "InputPeer", "InputPeer"],
|
|
18185
|
+
],
|
|
18186
|
+
],
|
|
18187
|
+
],
|
|
17968
18188
|
[
|
|
17969
18189
|
"req_pq_multi",
|
|
17970
18190
|
[
|
|
@@ -18052,6 +18272,44 @@ const types = new Map([
|
|
|
18052
18272
|
[],
|
|
18053
18273
|
],
|
|
18054
18274
|
],
|
|
18275
|
+
[
|
|
18276
|
+
"invokeWithBusinessConnectionPrefix",
|
|
18277
|
+
[
|
|
18278
|
+
0xDD289F8E,
|
|
18279
|
+
[
|
|
18280
|
+
["connection_id", "string", "string"],
|
|
18281
|
+
],
|
|
18282
|
+
],
|
|
18283
|
+
],
|
|
18284
|
+
[
|
|
18285
|
+
"invokeWithGooglePlayIntegrityPrefix",
|
|
18286
|
+
[
|
|
18287
|
+
0x1DF92984,
|
|
18288
|
+
[
|
|
18289
|
+
["nonce", "string", "string"],
|
|
18290
|
+
["token", "string", "string"],
|
|
18291
|
+
],
|
|
18292
|
+
],
|
|
18293
|
+
],
|
|
18294
|
+
[
|
|
18295
|
+
"invokeWithApnsSecretPrefix",
|
|
18296
|
+
[
|
|
18297
|
+
0x0DAE54F8,
|
|
18298
|
+
[
|
|
18299
|
+
["nonce", "string", "string"],
|
|
18300
|
+
["secret", "string", "string"],
|
|
18301
|
+
],
|
|
18302
|
+
],
|
|
18303
|
+
],
|
|
18304
|
+
[
|
|
18305
|
+
"invokeWithReCaptchaPrefix",
|
|
18306
|
+
[
|
|
18307
|
+
0xADBB0F94,
|
|
18308
|
+
[
|
|
18309
|
+
["token", "string", "string"],
|
|
18310
|
+
],
|
|
18311
|
+
],
|
|
18312
|
+
],
|
|
18055
18313
|
[
|
|
18056
18314
|
"invokeAfterMsg",
|
|
18057
18315
|
[
|
|
@@ -18162,6 +18420,16 @@ const types = new Map([
|
|
|
18162
18420
|
],
|
|
18163
18421
|
],
|
|
18164
18422
|
],
|
|
18423
|
+
[
|
|
18424
|
+
"invokeWithReCaptcha",
|
|
18425
|
+
[
|
|
18426
|
+
0xADBB0F94,
|
|
18427
|
+
[
|
|
18428
|
+
["token", "string", "string"],
|
|
18429
|
+
["query", null, "!X"],
|
|
18430
|
+
],
|
|
18431
|
+
],
|
|
18432
|
+
],
|
|
18165
18433
|
[
|
|
18166
18434
|
"auth.sendCode",
|
|
18167
18435
|
[
|
|
@@ -19475,6 +19743,15 @@ const types = new Map([
|
|
|
19475
19743
|
],
|
|
19476
19744
|
],
|
|
19477
19745
|
],
|
|
19746
|
+
[
|
|
19747
|
+
"account.getCollectibleEmojiStatuses",
|
|
19748
|
+
[
|
|
19749
|
+
0x2E7B4543,
|
|
19750
|
+
[
|
|
19751
|
+
["hash", "bigint", "long"],
|
|
19752
|
+
],
|
|
19753
|
+
],
|
|
19754
|
+
],
|
|
19478
19755
|
[
|
|
19479
19756
|
"users.getUsers",
|
|
19480
19757
|
[
|
|
@@ -19953,7 +20230,7 @@ const types = new Map([
|
|
|
19953
20230
|
[
|
|
19954
20231
|
"messages.forwardMessages",
|
|
19955
20232
|
[
|
|
19956
|
-
|
|
20233
|
+
0x6D74DA08,
|
|
19957
20234
|
[
|
|
19958
20235
|
["flags", exports.flags, "#"],
|
|
19959
20236
|
["silent", "true", "flags.5?true"],
|
|
@@ -19971,6 +20248,7 @@ const types = new Map([
|
|
|
19971
20248
|
["schedule_date", "number", "flags.10?int"],
|
|
19972
20249
|
["send_as", "InputPeer", "flags.13?InputPeer"],
|
|
19973
20250
|
["quick_reply_shortcut", "InputQuickReplyShortcut", "flags.17?InputQuickReplyShortcut"],
|
|
20251
|
+
["video_timestamp", "number", "flags.20?int"],
|
|
19974
20252
|
],
|
|
19975
20253
|
],
|
|
19976
20254
|
],
|
|
@@ -20227,7 +20505,7 @@ const types = new Map([
|
|
|
20227
20505
|
[
|
|
20228
20506
|
"messages.getWebPagePreview",
|
|
20229
20507
|
[
|
|
20230
|
-
|
|
20508
|
+
0x570D6F6F,
|
|
20231
20509
|
[
|
|
20232
20510
|
["flags", exports.flags, "#"],
|
|
20233
20511
|
["message", "string", "string"],
|
|
@@ -22232,25 +22510,25 @@ const types = new Map([
|
|
|
22232
22510
|
[
|
|
22233
22511
|
"messages.sendPaidReaction",
|
|
22234
22512
|
[
|
|
22235
|
-
|
|
22513
|
+
0x58BBCB50,
|
|
22236
22514
|
[
|
|
22237
22515
|
["flags", exports.flags, "#"],
|
|
22238
22516
|
["peer", "InputPeer", "InputPeer"],
|
|
22239
22517
|
["msg_id", "number", "int"],
|
|
22240
22518
|
["count", "number", "int"],
|
|
22241
22519
|
["random_id", "bigint", "long"],
|
|
22242
|
-
["private", "
|
|
22520
|
+
["private", "PaidReactionPrivacy", "flags.0?PaidReactionPrivacy"],
|
|
22243
22521
|
],
|
|
22244
22522
|
],
|
|
22245
22523
|
],
|
|
22246
22524
|
[
|
|
22247
22525
|
"messages.togglePaidReactionPrivacy",
|
|
22248
22526
|
[
|
|
22249
|
-
|
|
22527
|
+
0x435885B5,
|
|
22250
22528
|
[
|
|
22251
22529
|
["peer", "InputPeer", "InputPeer"],
|
|
22252
22530
|
["msg_id", "number", "int"],
|
|
22253
|
-
["private", "
|
|
22531
|
+
["private", "PaidReactionPrivacy", "PaidReactionPrivacy"],
|
|
22254
22532
|
],
|
|
22255
22533
|
],
|
|
22256
22534
|
],
|
|
@@ -23127,8 +23405,10 @@ const types = new Map([
|
|
|
23127
23405
|
[
|
|
23128
23406
|
"channels.getSendAs",
|
|
23129
23407
|
[
|
|
23130
|
-
|
|
23408
|
+
0xE785A43F,
|
|
23131
23409
|
[
|
|
23410
|
+
["flags", exports.flags, "#"],
|
|
23411
|
+
["for_paid_reactions", "true", "flags.0?true"],
|
|
23132
23412
|
["peer", "InputPeer", "InputPeer"],
|
|
23133
23413
|
],
|
|
23134
23414
|
],
|
|
@@ -23710,9 +23990,8 @@ const types = new Map([
|
|
|
23710
23990
|
[
|
|
23711
23991
|
"bots.getBotRecommendations",
|
|
23712
23992
|
[
|
|
23713
|
-
|
|
23993
|
+
0xA1B70815,
|
|
23714
23994
|
[
|
|
23715
|
-
["flags", exports.flags, "#"],
|
|
23716
23995
|
["bot", "InputUser", "InputUser"],
|
|
23717
23996
|
],
|
|
23718
23997
|
],
|
|
@@ -24032,34 +24311,23 @@ const types = new Map([
|
|
|
24032
24311
|
],
|
|
24033
24312
|
],
|
|
24034
24313
|
],
|
|
24035
|
-
[
|
|
24036
|
-
"payments.getUserStarGifts",
|
|
24037
|
-
[
|
|
24038
|
-
0x5E72C7E1,
|
|
24039
|
-
[
|
|
24040
|
-
["user_id", "InputUser", "InputUser"],
|
|
24041
|
-
["offset", "string", "string"],
|
|
24042
|
-
["limit", "number", "int"],
|
|
24043
|
-
],
|
|
24044
|
-
],
|
|
24045
|
-
],
|
|
24046
24314
|
[
|
|
24047
24315
|
"payments.saveStarGift",
|
|
24048
24316
|
[
|
|
24049
|
-
|
|
24317
|
+
0x2A2A697C,
|
|
24050
24318
|
[
|
|
24051
24319
|
["flags", exports.flags, "#"],
|
|
24052
24320
|
["unsave", "true", "flags.0?true"],
|
|
24053
|
-
["
|
|
24321
|
+
["stargift", "InputSavedStarGift", "InputSavedStarGift"],
|
|
24054
24322
|
],
|
|
24055
24323
|
],
|
|
24056
24324
|
],
|
|
24057
24325
|
[
|
|
24058
24326
|
"payments.convertStarGift",
|
|
24059
24327
|
[
|
|
24060
|
-
|
|
24328
|
+
0x74BF076B,
|
|
24061
24329
|
[
|
|
24062
|
-
["
|
|
24330
|
+
["stargift", "InputSavedStarGift", "InputSavedStarGift"],
|
|
24063
24331
|
],
|
|
24064
24332
|
],
|
|
24065
24333
|
],
|
|
@@ -24146,30 +24414,78 @@ const types = new Map([
|
|
|
24146
24414
|
[
|
|
24147
24415
|
"payments.upgradeStarGift",
|
|
24148
24416
|
[
|
|
24149
|
-
|
|
24417
|
+
0xAED6E4F5,
|
|
24150
24418
|
[
|
|
24151
24419
|
["flags", exports.flags, "#"],
|
|
24152
24420
|
["keep_original_details", "true", "flags.0?true"],
|
|
24153
|
-
["
|
|
24421
|
+
["stargift", "InputSavedStarGift", "InputSavedStarGift"],
|
|
24154
24422
|
],
|
|
24155
24423
|
],
|
|
24156
24424
|
],
|
|
24157
24425
|
[
|
|
24158
24426
|
"payments.transferStarGift",
|
|
24159
24427
|
[
|
|
24160
|
-
|
|
24428
|
+
0x7F18176A,
|
|
24161
24429
|
[
|
|
24162
|
-
["
|
|
24163
|
-
["to_id", "
|
|
24430
|
+
["stargift", "InputSavedStarGift", "InputSavedStarGift"],
|
|
24431
|
+
["to_id", "InputPeer", "InputPeer"],
|
|
24164
24432
|
],
|
|
24165
24433
|
],
|
|
24166
24434
|
],
|
|
24167
24435
|
[
|
|
24168
|
-
"payments.
|
|
24436
|
+
"payments.getUniqueStarGift",
|
|
24169
24437
|
[
|
|
24170
|
-
|
|
24438
|
+
0xA1974D72,
|
|
24171
24439
|
[
|
|
24172
|
-
["
|
|
24440
|
+
["slug", "string", "string"],
|
|
24441
|
+
],
|
|
24442
|
+
],
|
|
24443
|
+
],
|
|
24444
|
+
[
|
|
24445
|
+
"payments.getSavedStarGifts",
|
|
24446
|
+
[
|
|
24447
|
+
0x23830DE9,
|
|
24448
|
+
[
|
|
24449
|
+
["flags", exports.flags, "#"],
|
|
24450
|
+
["exclude_unsaved", "true", "flags.0?true"],
|
|
24451
|
+
["exclude_saved", "true", "flags.1?true"],
|
|
24452
|
+
["exclude_unlimited", "true", "flags.2?true"],
|
|
24453
|
+
["exclude_limited", "true", "flags.3?true"],
|
|
24454
|
+
["exclude_unique", "true", "flags.4?true"],
|
|
24455
|
+
["sort_by_value", "true", "flags.5?true"],
|
|
24456
|
+
["peer", "InputPeer", "InputPeer"],
|
|
24457
|
+
["offset", "string", "string"],
|
|
24458
|
+
["limit", "number", "int"],
|
|
24459
|
+
],
|
|
24460
|
+
],
|
|
24461
|
+
],
|
|
24462
|
+
[
|
|
24463
|
+
"payments.getSavedStarGift",
|
|
24464
|
+
[
|
|
24465
|
+
0xB455A106,
|
|
24466
|
+
[
|
|
24467
|
+
["stargift", ["InputSavedStarGift"], "Vector<InputSavedStarGift>"],
|
|
24468
|
+
],
|
|
24469
|
+
],
|
|
24470
|
+
],
|
|
24471
|
+
[
|
|
24472
|
+
"payments.getStarGiftWithdrawalUrl",
|
|
24473
|
+
[
|
|
24474
|
+
0xD06E93A8,
|
|
24475
|
+
[
|
|
24476
|
+
["stargift", "InputSavedStarGift", "InputSavedStarGift"],
|
|
24477
|
+
["password", "InputCheckPasswordSRP", "InputCheckPasswordSRP"],
|
|
24478
|
+
],
|
|
24479
|
+
],
|
|
24480
|
+
],
|
|
24481
|
+
[
|
|
24482
|
+
"payments.toggleChatStarGiftNotifications",
|
|
24483
|
+
[
|
|
24484
|
+
0x60EAEFA1,
|
|
24485
|
+
[
|
|
24486
|
+
["flags", exports.flags, "#"],
|
|
24487
|
+
["enabled", "true", "flags.0?true"],
|
|
24488
|
+
["peer", "InputPeer", "InputPeer"],
|
|
24173
24489
|
],
|
|
24174
24490
|
],
|
|
24175
24491
|
],
|