@mtkruto/node 0.7.2 → 0.7.4
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/client/0_params.d.ts +5 -0
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +1 -1
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/0_utilities.js +3 -0
- package/esm/client/1_types.d.ts +2 -1
- package/esm/client/1_types.d.ts.map +1 -1
- package/esm/client/2_account_manager.d.ts +5 -1
- package/esm/client/2_account_manager.d.ts.map +1 -1
- package/esm/client/2_account_manager.js +35 -2
- package/esm/client/2_update_manager.d.ts.map +1 -1
- package/esm/client/2_update_manager.js +0 -13
- package/esm/client/3_message_manager.js +1 -1
- package/esm/client/4_callback_query_manager.d.ts.map +1 -1
- package/esm/client/4_callback_query_manager.js +2 -2
- package/esm/client/4_chat_list_manager.d.ts.map +1 -1
- package/esm/client/4_chat_list_manager.js +3 -2
- package/esm/client/4_inline_query_manager.d.ts.map +1 -1
- package/esm/client/4_inline_query_manager.js +2 -2
- package/esm/client/5_client.d.ts +29 -2
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +50 -3
- package/{script/deps/jsr.io/@std/assert/1.0.8 → esm/deps/jsr.io/@std/assert/1.0.9}/almost_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/array_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assert.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assertion_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/equal.d.ts.map +1 -1
- package/{script/deps/jsr.io/@std/assert/1.0.8 → esm/deps/jsr.io/@std/assert/1.0.9}/equals.d.ts +13 -0
- package/esm/deps/jsr.io/@std/assert/1.0.9/equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/equals.js +13 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/exists.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/fail.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/false.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/is_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less_or_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/mod.d.ts +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/mod.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_instance_of.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_match.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/object_match.d.ts +2 -1
- package/esm/deps/jsr.io/@std/assert/1.0.9/object_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/object_match.js +2 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/rejects.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/strict_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/string_includes.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/throws.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unimplemented.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unreachable.d.ts.map +1 -1
- package/esm/tl/3_utilities.d.ts +6 -4
- package/esm/tl/3_utilities.d.ts.map +1 -1
- package/esm/tl/3_utilities.js +4 -3
- package/esm/types/0_chat_member_rights.js +17 -17
- package/package.json +1 -1
- package/script/0_deps.d.ts +1 -1
- package/script/0_deps.js +1 -1
- package/script/client/0_params.d.ts +5 -0
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +1 -1
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/0_utilities.js +3 -0
- package/script/client/1_types.d.ts +2 -1
- package/script/client/1_types.d.ts.map +1 -1
- package/script/client/2_account_manager.d.ts +5 -1
- package/script/client/2_account_manager.d.ts.map +1 -1
- package/script/client/2_account_manager.js +33 -0
- package/script/client/2_update_manager.d.ts.map +1 -1
- package/script/client/2_update_manager.js +0 -13
- package/script/client/3_message_manager.js +1 -1
- package/script/client/4_callback_query_manager.d.ts.map +1 -1
- package/script/client/4_callback_query_manager.js +1 -1
- package/script/client/4_chat_list_manager.d.ts.map +1 -1
- package/script/client/4_chat_list_manager.js +3 -2
- package/script/client/4_inline_query_manager.d.ts.map +1 -1
- package/script/client/4_inline_query_manager.js +1 -1
- package/script/client/5_client.d.ts +29 -2
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +50 -3
- package/{esm/deps/jsr.io/@std/assert/1.0.8 → script/deps/jsr.io/@std/assert/1.0.9}/almost_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/array_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assert.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assertion_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/equal.d.ts.map +1 -1
- package/{esm/deps/jsr.io/@std/assert/1.0.8 → script/deps/jsr.io/@std/assert/1.0.9}/equals.d.ts +13 -0
- package/script/deps/jsr.io/@std/assert/1.0.9/equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/equals.js +13 -0
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/exists.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/fail.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/false.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/is_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less_or_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/mod.d.ts +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/mod.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/mod.js +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_instance_of.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_match.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/object_match.d.ts +2 -1
- package/script/deps/jsr.io/@std/assert/1.0.9/object_match.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/object_match.js +2 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/rejects.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/strict_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/string_includes.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/throws.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unimplemented.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unreachable.d.ts.map +1 -1
- package/script/tl/3_utilities.d.ts +6 -4
- package/script/tl/3_utilities.d.ts.map +1 -1
- package/script/tl/3_utilities.js +4 -3
- package/script/types/0_chat_member_rights.js +17 -17
- package/esm/deps/jsr.io/@std/assert/1.0.8/equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.8/equals.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/almost_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/almost_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/array_includes.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/array_includes.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assert.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assert.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assertion_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assertion_error.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/equal.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/exists.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/fail.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/fail.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/false.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/false.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater_or_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater_or_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/instance_of.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/is_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/is_error.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less_or_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less_or_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/match.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_instance_of.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_instance_of.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_match.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_match.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_strict_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/rejects.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/rejects.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/strict_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/strict_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/string_includes.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/string_includes.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/throws.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/throws.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unimplemented.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unimplemented.js +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unreachable.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unreachable.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/almost_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/almost_equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/array_includes.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/array_includes.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assert.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assert.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assertion_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/assertion_error.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/equal.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/exists.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/exists.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/fail.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/fail.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/false.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/false.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater_or_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/greater_or_equal.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/instance_of.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/is_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/is_error.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less_or_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/less_or_equal.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/match.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_instance_of.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_instance_of.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_match.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_match.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/not_strict_equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/rejects.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/rejects.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/strict_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/strict_equals.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/string_includes.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/string_includes.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/throws.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/throws.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unimplemented.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unimplemented.js +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unreachable.d.ts +0 -0
- /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.9}/unreachable.js +0 -0
package/script/0_deps.js
CHANGED
|
@@ -35,7 +35,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.Parser = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.contentType = exports.encodeBase64 = exports.decodeBase64 = exports.iterateReader = exports.toArrayBuffer = exports.concat = exports.toFileUrl = exports.join = exports.isAbsolute = exports.extname = exports.basename = void 0;
|
|
37
37
|
exports.extension = extension;
|
|
38
|
-
__exportStar(require("./deps/jsr.io/@std/assert/1.0.
|
|
38
|
+
__exportStar(require("./deps/jsr.io/@std/assert/1.0.9/mod.js"), exports);
|
|
39
39
|
var basename_js_1 = require("./deps/jsr.io/@std/path/1.0.8/basename.js");
|
|
40
40
|
Object.defineProperty(exports, "basename", { enumerable: true, get: function () { return basename_js_1.basename; } });
|
|
41
41
|
var extname_js_1 = require("./deps/jsr.io/@std/path/1.0.8/extname.js");
|
|
@@ -474,4 +474,9 @@ export interface SetEmojiStatusParams {
|
|
|
474
474
|
/** If specified, the emoji status will be unset in that date. */
|
|
475
475
|
until?: Date;
|
|
476
476
|
}
|
|
477
|
+
export interface AddContactParams {
|
|
478
|
+
firstName?: string;
|
|
479
|
+
lastName?: string;
|
|
480
|
+
sharePhoneNumber?: boolean;
|
|
481
|
+
}
|
|
477
482
|
//# sourceMappingURL=0_params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_params.d.ts","sourceRoot":"","sources":["../../src/client/0_params.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,EAAE,EAAE,uBAAuB,EAAE,WAAW,EAAE,aAAa,EAAE,mBAAmB,EAAE,SAAS,EAAE,WAAW,EAAE,kBAAkB,EAAE,oBAAoB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C;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,yFAAyF;IACzF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,4FAA4F;IAC5F,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,gDAAgD;IAChD,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC;IACb,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,sBAAsB;IACrC,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,uFAAuF;IACvF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,EAAE,CAAC;CACb;AAED,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,KAAK,CAAC,EAAE,IAAI,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B"}
|
|
@@ -31,7 +31,7 @@ export declare function checkInlineQueryId(id: string): void;
|
|
|
31
31
|
export declare function isMtprotoFunction(value: unknown): value is Api.req_pq_multi | Api.req_DH_params | Api.set_client_DH_params | Api.rpc_drop_answer | Api.get_future_salts | Api.ping | Api.ping_delay_disconnect | Api.destroy_session | Api.destroy_auth_key | Api.invokeWithBusinessConnectionPrefix | Api.invokeWithGooglePlayIntegrityPrefix | Api.invokeWithApnsSecretPrefix | Api.auth_sendCode | Api.auth_signUp | Api.auth_signIn | Api.auth_logOut | Api.auth_resetAuthorizations | Api.auth_exportAuthorization | Api.auth_importAuthorization | Api.auth_bindTempAuthKey | Api.auth_importBotAuthorization | Api.auth_checkPassword | Api.auth_requestPasswordRecovery | Api.auth_recoverPassword | Api.auth_resendCode | Api.auth_cancelCode | Api.auth_dropTempAuthKeys | Api.auth_exportLoginToken | Api.auth_importLoginToken | Api.auth_acceptLoginToken | Api.auth_checkRecoveryPassword | Api.auth_importWebTokenAuthorization | Api.auth_requestFirebaseSms | Api.auth_resetLoginEmail | Api.auth_reportMissingCode | Api.account_registerDevice | Api.account_unregisterDevice | Api.account_updateNotifySettings | Api.account_getNotifySettings | Api.account_resetNotifySettings | Api.account_updateProfile | Api.account_updateStatus | Api.account_getWallPapers | Api.account_reportPeer | Api.account_checkUsername | Api.account_updateUsername | Api.account_getPrivacy | Api.account_setPrivacy | Api.account_deleteAccount | Api.account_getAccountTTL | Api.account_setAccountTTL | Api.account_sendChangePhoneCode | Api.account_changePhone | Api.account_updateDeviceLocked | Api.account_getAuthorizations | Api.account_resetAuthorization | Api.account_getPassword | Api.account_getPasswordSettings | Api.account_updatePasswordSettings | Api.account_sendConfirmPhoneCode | Api.account_confirmPhone | Api.account_getTmpPassword | Api.account_getWebAuthorizations | Api.account_resetWebAuthorization | Api.account_resetWebAuthorizations | Api.account_getAllSecureValues | Api.account_getSecureValue | Api.account_saveSecureValue | Api.account_deleteSecureValue | Api.account_getAuthorizationForm | Api.account_acceptAuthorization | Api.account_sendVerifyPhoneCode | Api.account_verifyPhone | Api.account_sendVerifyEmailCode | Api.account_verifyEmail | Api.account_initTakeoutSession | Api.account_finishTakeoutSession | Api.account_confirmPasswordEmail | Api.account_resendPasswordEmail | Api.account_cancelPasswordEmail | Api.account_getContactSignUpNotification | Api.account_setContactSignUpNotification | Api.account_getNotifyExceptions | Api.account_getWallPaper | Api.account_uploadWallPaper | Api.account_saveWallPaper | Api.account_installWallPaper | Api.account_resetWallPapers | Api.account_getAutoDownloadSettings | Api.account_saveAutoDownloadSettings | Api.account_uploadTheme | Api.account_createTheme | Api.account_updateTheme | Api.account_saveTheme | Api.account_installTheme | Api.account_getTheme | Api.account_getThemes | Api.account_setContentSettings | Api.account_getContentSettings | Api.account_getMultiWallPapers | Api.account_getGlobalPrivacySettings | Api.account_setGlobalPrivacySettings | Api.account_reportProfilePhoto | Api.account_resetPassword | Api.account_declinePasswordReset | Api.account_getChatThemes | Api.account_setAuthorizationTTL | Api.account_changeAuthorizationSettings | Api.account_getSavedRingtones | Api.account_saveRingtone | Api.account_uploadRingtone | Api.account_updateEmojiStatus | Api.account_getDefaultEmojiStatuses | Api.account_getRecentEmojiStatuses | Api.account_clearRecentEmojiStatuses | Api.account_reorderUsernames | Api.account_toggleUsername | Api.account_getDefaultProfilePhotoEmojis | Api.account_getDefaultGroupPhotoEmojis | Api.account_getAutoSaveSettings | Api.account_saveAutoSaveSettings | Api.account_deleteAutoSaveExceptions | Api.account_invalidateSignInCodes | Api.account_updateColor | Api.account_getDefaultBackgroundEmojis | Api.account_getChannelDefaultEmojiStatuses | Api.account_getChannelRestrictedStatusEmojis | Api.account_updateBusinessWorkHours | Api.account_updateBusinessLocation | Api.account_updateBusinessGreetingMessage | Api.account_updateBusinessAwayMessage | Api.account_updateConnectedBot | Api.account_getConnectedBots | Api.account_getBotBusinessConnection | Api.account_updateBusinessIntro | Api.account_toggleConnectedBotPaused | Api.account_disablePeerConnectedBot | Api.account_updateBirthday | Api.account_createBusinessChatLink | Api.account_editBusinessChatLink | Api.account_deleteBusinessChatLink | Api.account_getBusinessChatLinks | Api.account_resolveBusinessChatLink | Api.account_updatePersonalChannel | Api.account_toggleSponsoredMessages | Api.account_getReactionsNotifySettings | Api.account_setReactionsNotifySettings | Api.users_getUsers | Api.users_getFullUser | Api.users_setSecureValueErrors | Api.users_getIsPremiumRequiredToContact | Api.contacts_getContactIDs | Api.contacts_getStatuses | Api.contacts_getContacts | Api.contacts_importContacts | Api.contacts_deleteContacts | Api.contacts_deleteByPhones | Api.contacts_block | Api.contacts_unblock | Api.contacts_getBlocked | Api.contacts_search | Api.contacts_resolveUsername | Api.contacts_getTopPeers | Api.contacts_resetTopPeerRating | Api.contacts_resetSaved | Api.contacts_getSaved | Api.contacts_toggleTopPeers | Api.contacts_addContact | Api.contacts_acceptContact | Api.contacts_getLocated | Api.contacts_blockFromReplies | Api.contacts_resolvePhone | Api.contacts_exportContactToken | Api.contacts_importContactToken | Api.contacts_editCloseFriends | Api.contacts_setBlocked | Api.contacts_getBirthdays | Api.messages_getMessages | Api.messages_getDialogs | Api.messages_getHistory | Api.messages_search | Api.messages_readHistory | Api.messages_deleteHistory | Api.messages_deleteMessages | Api.messages_receivedMessages | Api.messages_setTyping | Api.messages_sendMessage | Api.messages_sendMedia | Api.messages_forwardMessages | Api.messages_reportSpam | Api.messages_getPeerSettings | Api.messages_report | Api.messages_getChats | Api.messages_getFullChat | Api.messages_editChatTitle | Api.messages_editChatPhoto | Api.messages_addChatUser | Api.messages_deleteChatUser | Api.messages_createChat | Api.messages_getDhConfig | Api.messages_requestEncryption | Api.messages_acceptEncryption | Api.messages_discardEncryption | Api.messages_setEncryptedTyping | Api.messages_readEncryptedHistory | Api.messages_sendEncrypted | Api.messages_sendEncryptedFile | Api.messages_sendEncryptedService | Api.messages_receivedQueue | Api.messages_reportEncryptedSpam | Api.messages_readMessageContents | Api.messages_getStickers | Api.messages_getAllStickers | Api.messages_getWebPagePreview | Api.messages_exportChatInvite | Api.messages_checkChatInvite | Api.messages_importChatInvite | Api.messages_getStickerSet | Api.messages_installStickerSet | Api.messages_uninstallStickerSet | Api.messages_startBot | Api.messages_getMessagesViews | Api.messages_editChatAdmin | Api.messages_migrateChat | Api.messages_searchGlobal | Api.messages_reorderStickerSets | Api.messages_getDocumentByHash | Api.messages_getSavedGifs | Api.messages_saveGif | Api.messages_getInlineBotResults | Api.messages_setInlineBotResults | Api.messages_sendInlineBotResult | Api.messages_getMessageEditData | Api.messages_editMessage | Api.messages_editInlineBotMessage | Api.messages_getBotCallbackAnswer | Api.messages_setBotCallbackAnswer | Api.messages_getPeerDialogs | Api.messages_saveDraft | Api.messages_getAllDrafts | Api.messages_getFeaturedStickers | Api.messages_readFeaturedStickers | Api.messages_getRecentStickers | Api.messages_saveRecentSticker | Api.messages_clearRecentStickers | Api.messages_getArchivedStickers | Api.messages_getMaskStickers | Api.messages_getAttachedStickers | Api.messages_setGameScore | Api.messages_setInlineGameScore | Api.messages_getGameHighScores | Api.messages_getInlineGameHighScores | Api.messages_getCommonChats | Api.messages_getWebPage | Api.messages_toggleDialogPin | Api.messages_reorderPinnedDialogs | Api.messages_getPinnedDialogs | Api.messages_setBotShippingResults | Api.messages_setBotPrecheckoutResults | Api.messages_uploadMedia | Api.messages_sendScreenshotNotification | Api.messages_getFavedStickers | Api.messages_faveSticker | Api.messages_getUnreadMentions | Api.messages_readMentions | Api.messages_getRecentLocations | Api.messages_sendMultiMedia | Api.messages_uploadEncryptedFile | Api.messages_searchStickerSets | Api.messages_getSplitRanges | Api.messages_markDialogUnread | Api.messages_getDialogUnreadMarks | Api.messages_clearAllDrafts | Api.messages_updatePinnedMessage | Api.messages_sendVote | Api.messages_getPollResults | Api.messages_getOnlines | Api.messages_editChatAbout | Api.messages_editChatDefaultBannedRights | Api.messages_getEmojiKeywords | Api.messages_getEmojiKeywordsDifference | Api.messages_getEmojiKeywordsLanguages | Api.messages_getEmojiURL | Api.messages_getSearchCounters | Api.messages_requestUrlAuth | Api.messages_acceptUrlAuth | Api.messages_hidePeerSettingsBar | Api.messages_getScheduledHistory | Api.messages_getScheduledMessages | Api.messages_sendScheduledMessages | Api.messages_deleteScheduledMessages | Api.messages_getPollVotes | Api.messages_toggleStickerSets | Api.messages_getDialogFilters | Api.messages_getSuggestedDialogFilters | Api.messages_updateDialogFilter | Api.messages_updateDialogFiltersOrder | Api.messages_getOldFeaturedStickers | Api.messages_getReplies | Api.messages_getDiscussionMessage | Api.messages_readDiscussion | Api.messages_unpinAllMessages | Api.messages_deleteChat | Api.messages_deletePhoneCallHistory | Api.messages_checkHistoryImport | Api.messages_initHistoryImport | Api.messages_uploadImportedMedia | Api.messages_startHistoryImport | Api.messages_getExportedChatInvites | Api.messages_getExportedChatInvite | Api.messages_editExportedChatInvite | Api.messages_deleteRevokedExportedChatInvites | Api.messages_deleteExportedChatInvite | Api.messages_getAdminsWithInvites | Api.messages_getChatInviteImporters | Api.messages_setHistoryTTL | Api.messages_checkHistoryImportPeer | Api.messages_setChatTheme | Api.messages_getMessageReadParticipants | Api.messages_getSearchResultsCalendar | Api.messages_getSearchResultsPositions | Api.messages_hideChatJoinRequest | Api.messages_hideAllChatJoinRequests | Api.messages_toggleNoForwards | Api.messages_saveDefaultSendAs | Api.messages_sendReaction | Api.messages_getMessagesReactions | Api.messages_getMessageReactionsList | Api.messages_setChatAvailableReactions | Api.messages_getAvailableReactions | Api.messages_setDefaultReaction | Api.messages_translateText | Api.messages_getUnreadReactions | Api.messages_readReactions | Api.messages_searchSentMedia | Api.messages_getAttachMenuBots | Api.messages_getAttachMenuBot | Api.messages_toggleBotInAttachMenu | Api.messages_requestWebView | Api.messages_prolongWebView | Api.messages_requestSimpleWebView | Api.messages_sendWebViewResultMessage | Api.messages_sendWebViewData | Api.messages_transcribeAudio | Api.messages_rateTranscribedAudio | Api.messages_getCustomEmojiDocuments | Api.messages_getEmojiStickers | Api.messages_getFeaturedEmojiStickers | Api.messages_reportReaction | Api.messages_getTopReactions | Api.messages_getRecentReactions | Api.messages_clearRecentReactions | Api.messages_getExtendedMedia | Api.messages_setDefaultHistoryTTL | Api.messages_getDefaultHistoryTTL | Api.messages_sendBotRequestedPeer | Api.messages_getEmojiGroups | Api.messages_getEmojiStatusGroups | Api.messages_getEmojiProfilePhotoGroups | Api.messages_searchCustomEmoji | Api.messages_togglePeerTranslations | Api.messages_getBotApp | Api.messages_requestAppWebView | Api.messages_setChatWallPaper | Api.messages_searchEmojiStickerSets | Api.messages_getSavedDialogs | Api.messages_getSavedHistory | Api.messages_deleteSavedHistory | Api.messages_getPinnedSavedDialogs | Api.messages_toggleSavedDialogPin | Api.messages_reorderPinnedSavedDialogs | Api.messages_getSavedReactionTags | Api.messages_updateSavedReactionTag | Api.messages_getDefaultTagReactions | Api.messages_getOutboxReadDate | Api.messages_getQuickReplies | Api.messages_reorderQuickReplies | Api.messages_checkQuickReplyShortcut | Api.messages_editQuickReplyShortcut | Api.messages_deleteQuickReplyShortcut | Api.messages_getQuickReplyMessages | Api.messages_sendQuickReplyMessages | Api.messages_deleteQuickReplyMessages | Api.messages_toggleDialogFilterTags | Api.messages_getMyStickers | Api.messages_getEmojiStickerGroups | Api.messages_getAvailableEffects | Api.messages_editFactCheck | Api.messages_deleteFactCheck | Api.messages_getFactCheck | Api.messages_requestMainWebView | Api.messages_sendPaidReaction | Api.messages_togglePaidReactionPrivacy | Api.messages_getPaidReactionPrivacy | Api.messages_viewSponsoredMessage | Api.messages_clickSponsoredMessage | Api.messages_reportSponsoredMessage | Api.messages_getSponsoredMessages | Api.messages_savePreparedInlineMessage | Api.messages_getPreparedInlineMessage | Api.updates_getState | Api.updates_getDifference | Api.updates_getChannelDifference | Api.photos_updateProfilePhoto | Api.photos_uploadProfilePhoto | Api.photos_deletePhotos | Api.photos_getUserPhotos | Api.photos_uploadContactProfilePhoto | Api.upload_saveFilePart | Api.upload_getFile | Api.upload_saveBigFilePart | Api.upload_getWebFile | Api.upload_getCdnFile | Api.upload_reuploadCdnFile | Api.upload_getCdnFileHashes | Api.upload_getFileHashes | Api.help_getConfig | Api.help_getNearestDc | Api.help_getAppUpdate | Api.help_getInviteText | Api.help_getSupport | Api.help_setBotUpdatesStatus | Api.help_getCdnConfig | Api.help_getRecentMeUrls | Api.help_getTermsOfServiceUpdate | Api.help_acceptTermsOfService | Api.help_getDeepLinkInfo | Api.help_getAppConfig | Api.help_saveAppLog | Api.help_getPassportConfig | Api.help_getSupportName | Api.help_getUserInfo | Api.help_editUserInfo | Api.help_getPromoData | Api.help_hidePromoData | Api.help_dismissSuggestion | Api.help_getCountriesList | Api.help_getPremiumPromo | Api.help_getPeerColors | Api.help_getPeerProfileColors | Api.help_getTimezonesList | Api.channels_readHistory | Api.channels_deleteMessages | Api.channels_reportSpam | Api.channels_getMessages | Api.channels_getParticipants | Api.channels_getParticipant | Api.channels_getChannels | Api.channels_getFullChannel | Api.channels_createChannel | Api.channels_editAdmin | Api.channels_editTitle | Api.channels_editPhoto | Api.channels_checkUsername | Api.channels_updateUsername | Api.channels_joinChannel | Api.channels_leaveChannel | Api.channels_inviteToChannel | Api.channels_deleteChannel | Api.channels_exportMessageLink | Api.channels_toggleSignatures | Api.channels_getAdminedPublicChannels | Api.channels_editBanned | Api.channels_getAdminLog | Api.channels_setStickers | Api.channels_readMessageContents | Api.channels_deleteHistory | Api.channels_togglePreHistoryHidden | Api.channels_getLeftChannels | Api.channels_getGroupsForDiscussion | Api.channels_setDiscussionGroup | Api.channels_editCreator | Api.channels_editLocation | Api.channels_toggleSlowMode | Api.channels_getInactiveChannels | Api.channels_convertToGigagroup | Api.channels_getSendAs | Api.channels_deleteParticipantHistory | Api.channels_toggleJoinToSend | Api.channels_toggleJoinRequest | Api.channels_reorderUsernames | Api.channels_toggleUsername | Api.channels_deactivateAllUsernames | Api.channels_toggleForum | Api.channels_createForumTopic | Api.channels_getForumTopics | Api.channels_getForumTopicsByID | Api.channels_editForumTopic | Api.channels_updatePinnedForumTopic | Api.channels_deleteTopicHistory | Api.channels_reorderPinnedForumTopics | Api.channels_toggleAntiSpam | Api.channels_reportAntiSpamFalsePositive | Api.channels_toggleParticipantsHidden | Api.channels_updateColor | Api.channels_toggleViewForumAsMessages | Api.channels_getChannelRecommendations | Api.channels_updateEmojiStatus | Api.channels_setBoostsToUnblockRestrictions | Api.channels_setEmojiStickers | Api.channels_restrictSponsoredMessages | Api.channels_searchPosts | Api.bots_sendCustomRequest | Api.bots_answerWebhookJSONQuery | Api.bots_setBotCommands | Api.bots_resetBotCommands | Api.bots_getBotCommands | Api.bots_setBotMenuButton | Api.bots_getBotMenuButton | Api.bots_setBotBroadcastDefaultAdminRights | Api.bots_setBotGroupDefaultAdminRights | Api.bots_setBotInfo | Api.bots_getBotInfo | Api.bots_reorderUsernames | Api.bots_toggleUsername | Api.bots_canSendMessage | Api.bots_allowSendMessage | Api.bots_invokeWebViewCustomMethod | Api.bots_getPopularAppBots | Api.bots_addPreviewMedia | Api.bots_editPreviewMedia | Api.bots_deletePreviewMedia | Api.bots_reorderPreviewMedias | Api.bots_getPreviewInfo | Api.bots_getPreviewMedias | Api.bots_updateUserEmojiStatus | Api.bots_toggleUserEmojiStatusPermission | Api.bots_checkDownloadFileParams | Api.payments_getPaymentForm | Api.payments_getPaymentReceipt | Api.payments_validateRequestedInfo | Api.payments_sendPaymentForm | Api.payments_getSavedInfo | Api.payments_clearSavedInfo | Api.payments_getBankCardData | Api.payments_exportInvoice | Api.payments_assignAppStoreTransaction | Api.payments_assignPlayMarketTransaction | Api.payments_canPurchasePremium | Api.payments_getPremiumGiftCodeOptions | Api.payments_checkGiftCode | Api.payments_applyGiftCode | Api.payments_getGiveawayInfo | Api.payments_launchPrepaidGiveaway | Api.payments_getStarsTopupOptions | Api.payments_getStarsStatus | Api.payments_getStarsTransactions | Api.payments_sendStarsForm | Api.payments_refundStarsCharge | Api.payments_getStarsRevenueStats | Api.payments_getStarsRevenueWithdrawalUrl | Api.payments_getStarsRevenueAdsAccountUrl | Api.payments_getStarsTransactionsByID | Api.payments_getStarsGiftOptions | Api.payments_getStarsSubscriptions | Api.payments_changeStarsSubscription | Api.payments_fulfillStarsSubscription | Api.payments_getStarsGiveawayOptions | Api.payments_getStarGifts | Api.payments_getUserStarGifts | Api.payments_saveStarGift | Api.payments_convertStarGift | Api.payments_botCancelStarsSubscription | Api.stickers_createStickerSet | Api.stickers_removeStickerFromSet | Api.stickers_changeStickerPosition | Api.stickers_addStickerToSet | Api.stickers_setStickerSetThumb | Api.stickers_checkShortName | Api.stickers_suggestShortName | Api.stickers_changeSticker | Api.stickers_renameStickerSet | Api.stickers_deleteStickerSet | Api.stickers_replaceSticker | Api.phone_getCallConfig | Api.phone_requestCall | Api.phone_acceptCall | Api.phone_confirmCall | Api.phone_receivedCall | Api.phone_discardCall | Api.phone_setCallRating | Api.phone_saveCallDebug | Api.phone_sendSignalingData | Api.phone_createGroupCall | Api.phone_joinGroupCall | Api.phone_leaveGroupCall | Api.phone_inviteToGroupCall | Api.phone_discardGroupCall | Api.phone_toggleGroupCallSettings | Api.phone_getGroupCall | Api.phone_getGroupParticipants | Api.phone_checkGroupCall | Api.phone_toggleGroupCallRecord | Api.phone_editGroupCallParticipant | Api.phone_editGroupCallTitle | Api.phone_getGroupCallJoinAs | Api.phone_exportGroupCallInvite | Api.phone_toggleGroupCallStartSubscription | Api.phone_startScheduledGroupCall | Api.phone_saveDefaultGroupCallJoinAs | Api.phone_joinGroupCallPresentation | Api.phone_leaveGroupCallPresentation | Api.phone_getGroupCallStreamChannels | Api.phone_getGroupCallStreamRtmpUrl | Api.phone_saveCallLog | Api.langpack_getLangPack | Api.langpack_getStrings | Api.langpack_getDifference | Api.langpack_getLanguages | Api.langpack_getLanguage | Api.folders_editPeerFolders | Api.stats_getBroadcastStats | Api.stats_loadAsyncGraph | Api.stats_getMegagroupStats | Api.stats_getMessagePublicForwards | Api.stats_getMessageStats | Api.stats_getStoryStats | Api.stats_getStoryPublicForwards | Api.stats_getBroadcastRevenueStats | Api.stats_getBroadcastRevenueWithdrawalUrl | Api.stats_getBroadcastRevenueTransactions | Api.chatlists_exportChatlistInvite | Api.chatlists_deleteExportedInvite | Api.chatlists_editExportedInvite | Api.chatlists_getExportedInvites | Api.chatlists_checkChatlistInvite | Api.chatlists_joinChatlistInvite | Api.chatlists_getChatlistUpdates | Api.chatlists_joinChatlistUpdates | Api.chatlists_hideChatlistUpdates | Api.chatlists_getLeaveChatlistSuggestions | Api.chatlists_leaveChatlist | Api.stories_canSendStory | Api.stories_sendStory | Api.stories_editStory | Api.stories_deleteStories | Api.stories_togglePinned | Api.stories_getAllStories | Api.stories_getPinnedStories | Api.stories_getStoriesArchive | Api.stories_getStoriesByID | Api.stories_toggleAllStoriesHidden | Api.stories_readStories | Api.stories_incrementStoryViews | Api.stories_getStoryViewsList | Api.stories_getStoriesViews | Api.stories_exportStoryLink | Api.stories_report | Api.stories_activateStealthMode | Api.stories_sendReaction | Api.stories_getPeerStories | Api.stories_getAllReadPeerStories | Api.stories_getPeerMaxIDs | Api.stories_getChatsToSend | Api.stories_togglePeerStoriesHidden | Api.stories_getStoryReactionsList | Api.stories_togglePinnedToTop | Api.stories_searchPosts | Api.premium_getBoostsList | Api.premium_getMyBoosts | Api.premium_applyBoost | Api.premium_getBoostsStatus | Api.premium_getUserBoosts | Api.smsjobs_isEligibleToJoin | Api.smsjobs_join | Api.smsjobs_leave | Api.smsjobs_updateSettings | Api.smsjobs_getStatus | Api.smsjobs_getSmsJob | Api.smsjobs_finishJob | Api.fragment_getCollectibleInfo | Api.invokeAfterMsg<Api.Function> | Api.invokeAfterMsgs<Api.Function> | Api.initConnection<Api.Function> | Api.invokeWithLayer<Api.Function> | Api.invokeWithoutUpdates<Api.Function> | Api.invokeWithMessagesRange<Api.Function> | Api.invokeWithTakeout<Api.Function> | Api.invokeWithBusinessConnection<Api.Function> | Api.invokeWithGooglePlayIntegrity<Api.Function> | Api.invokeWithApnsSecret<Api.Function>;
|
|
32
32
|
export declare function isCdnFunction(value: unknown): value is Api.req_pq_multi | Api.req_DH_params | Api.set_client_DH_params | Api.rpc_drop_answer | Api.get_future_salts | Api.ping | Api.ping_delay_disconnect | Api.destroy_session | Api.destroy_auth_key | Api.invokeWithBusinessConnectionPrefix | Api.invokeWithGooglePlayIntegrityPrefix | Api.invokeWithApnsSecretPrefix | Api.auth_sendCode | Api.auth_signUp | Api.auth_signIn | Api.auth_logOut | Api.auth_resetAuthorizations | Api.auth_exportAuthorization | Api.auth_importAuthorization | Api.auth_bindTempAuthKey | Api.auth_importBotAuthorization | Api.auth_checkPassword | Api.auth_requestPasswordRecovery | Api.auth_recoverPassword | Api.auth_resendCode | Api.auth_cancelCode | Api.auth_dropTempAuthKeys | Api.auth_exportLoginToken | Api.auth_importLoginToken | Api.auth_acceptLoginToken | Api.auth_checkRecoveryPassword | Api.auth_importWebTokenAuthorization | Api.auth_requestFirebaseSms | Api.auth_resetLoginEmail | Api.auth_reportMissingCode | Api.account_registerDevice | Api.account_unregisterDevice | Api.account_updateNotifySettings | Api.account_getNotifySettings | Api.account_resetNotifySettings | Api.account_updateProfile | Api.account_updateStatus | Api.account_getWallPapers | Api.account_reportPeer | Api.account_checkUsername | Api.account_updateUsername | Api.account_getPrivacy | Api.account_setPrivacy | Api.account_deleteAccount | Api.account_getAccountTTL | Api.account_setAccountTTL | Api.account_sendChangePhoneCode | Api.account_changePhone | Api.account_updateDeviceLocked | Api.account_getAuthorizations | Api.account_resetAuthorization | Api.account_getPassword | Api.account_getPasswordSettings | Api.account_updatePasswordSettings | Api.account_sendConfirmPhoneCode | Api.account_confirmPhone | Api.account_getTmpPassword | Api.account_getWebAuthorizations | Api.account_resetWebAuthorization | Api.account_resetWebAuthorizations | Api.account_getAllSecureValues | Api.account_getSecureValue | Api.account_saveSecureValue | Api.account_deleteSecureValue | Api.account_getAuthorizationForm | Api.account_acceptAuthorization | Api.account_sendVerifyPhoneCode | Api.account_verifyPhone | Api.account_sendVerifyEmailCode | Api.account_verifyEmail | Api.account_initTakeoutSession | Api.account_finishTakeoutSession | Api.account_confirmPasswordEmail | Api.account_resendPasswordEmail | Api.account_cancelPasswordEmail | Api.account_getContactSignUpNotification | Api.account_setContactSignUpNotification | Api.account_getNotifyExceptions | Api.account_getWallPaper | Api.account_uploadWallPaper | Api.account_saveWallPaper | Api.account_installWallPaper | Api.account_resetWallPapers | Api.account_getAutoDownloadSettings | Api.account_saveAutoDownloadSettings | Api.account_uploadTheme | Api.account_createTheme | Api.account_updateTheme | Api.account_saveTheme | Api.account_installTheme | Api.account_getTheme | Api.account_getThemes | Api.account_setContentSettings | Api.account_getContentSettings | Api.account_getMultiWallPapers | Api.account_getGlobalPrivacySettings | Api.account_setGlobalPrivacySettings | Api.account_reportProfilePhoto | Api.account_resetPassword | Api.account_declinePasswordReset | Api.account_getChatThemes | Api.account_setAuthorizationTTL | Api.account_changeAuthorizationSettings | Api.account_getSavedRingtones | Api.account_saveRingtone | Api.account_uploadRingtone | Api.account_updateEmojiStatus | Api.account_getDefaultEmojiStatuses | Api.account_getRecentEmojiStatuses | Api.account_clearRecentEmojiStatuses | Api.account_reorderUsernames | Api.account_toggleUsername | Api.account_getDefaultProfilePhotoEmojis | Api.account_getDefaultGroupPhotoEmojis | Api.account_getAutoSaveSettings | Api.account_saveAutoSaveSettings | Api.account_deleteAutoSaveExceptions | Api.account_invalidateSignInCodes | Api.account_updateColor | Api.account_getDefaultBackgroundEmojis | Api.account_getChannelDefaultEmojiStatuses | Api.account_getChannelRestrictedStatusEmojis | Api.account_updateBusinessWorkHours | Api.account_updateBusinessLocation | Api.account_updateBusinessGreetingMessage | Api.account_updateBusinessAwayMessage | Api.account_updateConnectedBot | Api.account_getConnectedBots | Api.account_getBotBusinessConnection | Api.account_updateBusinessIntro | Api.account_toggleConnectedBotPaused | Api.account_disablePeerConnectedBot | Api.account_updateBirthday | Api.account_createBusinessChatLink | Api.account_editBusinessChatLink | Api.account_deleteBusinessChatLink | Api.account_getBusinessChatLinks | Api.account_resolveBusinessChatLink | Api.account_updatePersonalChannel | Api.account_toggleSponsoredMessages | Api.account_getReactionsNotifySettings | Api.account_setReactionsNotifySettings | Api.users_getUsers | Api.users_getFullUser | Api.users_setSecureValueErrors | Api.users_getIsPremiumRequiredToContact | Api.contacts_getContactIDs | Api.contacts_getStatuses | Api.contacts_getContacts | Api.contacts_importContacts | Api.contacts_deleteContacts | Api.contacts_deleteByPhones | Api.contacts_block | Api.contacts_unblock | Api.contacts_getBlocked | Api.contacts_search | Api.contacts_resolveUsername | Api.contacts_getTopPeers | Api.contacts_resetTopPeerRating | Api.contacts_resetSaved | Api.contacts_getSaved | Api.contacts_toggleTopPeers | Api.contacts_addContact | Api.contacts_acceptContact | Api.contacts_getLocated | Api.contacts_blockFromReplies | Api.contacts_resolvePhone | Api.contacts_exportContactToken | Api.contacts_importContactToken | Api.contacts_editCloseFriends | Api.contacts_setBlocked | Api.contacts_getBirthdays | Api.messages_getMessages | Api.messages_getDialogs | Api.messages_getHistory | Api.messages_search | Api.messages_readHistory | Api.messages_deleteHistory | Api.messages_deleteMessages | Api.messages_receivedMessages | Api.messages_setTyping | Api.messages_sendMessage | Api.messages_sendMedia | Api.messages_forwardMessages | Api.messages_reportSpam | Api.messages_getPeerSettings | Api.messages_report | Api.messages_getChats | Api.messages_getFullChat | Api.messages_editChatTitle | Api.messages_editChatPhoto | Api.messages_addChatUser | Api.messages_deleteChatUser | Api.messages_createChat | Api.messages_getDhConfig | Api.messages_requestEncryption | Api.messages_acceptEncryption | Api.messages_discardEncryption | Api.messages_setEncryptedTyping | Api.messages_readEncryptedHistory | Api.messages_sendEncrypted | Api.messages_sendEncryptedFile | Api.messages_sendEncryptedService | Api.messages_receivedQueue | Api.messages_reportEncryptedSpam | Api.messages_readMessageContents | Api.messages_getStickers | Api.messages_getAllStickers | Api.messages_getWebPagePreview | Api.messages_exportChatInvite | Api.messages_checkChatInvite | Api.messages_importChatInvite | Api.messages_getStickerSet | Api.messages_installStickerSet | Api.messages_uninstallStickerSet | Api.messages_startBot | Api.messages_getMessagesViews | Api.messages_editChatAdmin | Api.messages_migrateChat | Api.messages_searchGlobal | Api.messages_reorderStickerSets | Api.messages_getDocumentByHash | Api.messages_getSavedGifs | Api.messages_saveGif | Api.messages_getInlineBotResults | Api.messages_setInlineBotResults | Api.messages_sendInlineBotResult | Api.messages_getMessageEditData | Api.messages_editMessage | Api.messages_editInlineBotMessage | Api.messages_getBotCallbackAnswer | Api.messages_setBotCallbackAnswer | Api.messages_getPeerDialogs | Api.messages_saveDraft | Api.messages_getAllDrafts | Api.messages_getFeaturedStickers | Api.messages_readFeaturedStickers | Api.messages_getRecentStickers | Api.messages_saveRecentSticker | Api.messages_clearRecentStickers | Api.messages_getArchivedStickers | Api.messages_getMaskStickers | Api.messages_getAttachedStickers | Api.messages_setGameScore | Api.messages_setInlineGameScore | Api.messages_getGameHighScores | Api.messages_getInlineGameHighScores | Api.messages_getCommonChats | Api.messages_getWebPage | Api.messages_toggleDialogPin | Api.messages_reorderPinnedDialogs | Api.messages_getPinnedDialogs | Api.messages_setBotShippingResults | Api.messages_setBotPrecheckoutResults | Api.messages_uploadMedia | Api.messages_sendScreenshotNotification | Api.messages_getFavedStickers | Api.messages_faveSticker | Api.messages_getUnreadMentions | Api.messages_readMentions | Api.messages_getRecentLocations | Api.messages_sendMultiMedia | Api.messages_uploadEncryptedFile | Api.messages_searchStickerSets | Api.messages_getSplitRanges | Api.messages_markDialogUnread | Api.messages_getDialogUnreadMarks | Api.messages_clearAllDrafts | Api.messages_updatePinnedMessage | Api.messages_sendVote | Api.messages_getPollResults | Api.messages_getOnlines | Api.messages_editChatAbout | Api.messages_editChatDefaultBannedRights | Api.messages_getEmojiKeywords | Api.messages_getEmojiKeywordsDifference | Api.messages_getEmojiKeywordsLanguages | Api.messages_getEmojiURL | Api.messages_getSearchCounters | Api.messages_requestUrlAuth | Api.messages_acceptUrlAuth | Api.messages_hidePeerSettingsBar | Api.messages_getScheduledHistory | Api.messages_getScheduledMessages | Api.messages_sendScheduledMessages | Api.messages_deleteScheduledMessages | Api.messages_getPollVotes | Api.messages_toggleStickerSets | Api.messages_getDialogFilters | Api.messages_getSuggestedDialogFilters | Api.messages_updateDialogFilter | Api.messages_updateDialogFiltersOrder | Api.messages_getOldFeaturedStickers | Api.messages_getReplies | Api.messages_getDiscussionMessage | Api.messages_readDiscussion | Api.messages_unpinAllMessages | Api.messages_deleteChat | Api.messages_deletePhoneCallHistory | Api.messages_checkHistoryImport | Api.messages_initHistoryImport | Api.messages_uploadImportedMedia | Api.messages_startHistoryImport | Api.messages_getExportedChatInvites | Api.messages_getExportedChatInvite | Api.messages_editExportedChatInvite | Api.messages_deleteRevokedExportedChatInvites | Api.messages_deleteExportedChatInvite | Api.messages_getAdminsWithInvites | Api.messages_getChatInviteImporters | Api.messages_setHistoryTTL | Api.messages_checkHistoryImportPeer | Api.messages_setChatTheme | Api.messages_getMessageReadParticipants | Api.messages_getSearchResultsCalendar | Api.messages_getSearchResultsPositions | Api.messages_hideChatJoinRequest | Api.messages_hideAllChatJoinRequests | Api.messages_toggleNoForwards | Api.messages_saveDefaultSendAs | Api.messages_sendReaction | Api.messages_getMessagesReactions | Api.messages_getMessageReactionsList | Api.messages_setChatAvailableReactions | Api.messages_getAvailableReactions | Api.messages_setDefaultReaction | Api.messages_translateText | Api.messages_getUnreadReactions | Api.messages_readReactions | Api.messages_searchSentMedia | Api.messages_getAttachMenuBots | Api.messages_getAttachMenuBot | Api.messages_toggleBotInAttachMenu | Api.messages_requestWebView | Api.messages_prolongWebView | Api.messages_requestSimpleWebView | Api.messages_sendWebViewResultMessage | Api.messages_sendWebViewData | Api.messages_transcribeAudio | Api.messages_rateTranscribedAudio | Api.messages_getCustomEmojiDocuments | Api.messages_getEmojiStickers | Api.messages_getFeaturedEmojiStickers | Api.messages_reportReaction | Api.messages_getTopReactions | Api.messages_getRecentReactions | Api.messages_clearRecentReactions | Api.messages_getExtendedMedia | Api.messages_setDefaultHistoryTTL | Api.messages_getDefaultHistoryTTL | Api.messages_sendBotRequestedPeer | Api.messages_getEmojiGroups | Api.messages_getEmojiStatusGroups | Api.messages_getEmojiProfilePhotoGroups | Api.messages_searchCustomEmoji | Api.messages_togglePeerTranslations | Api.messages_getBotApp | Api.messages_requestAppWebView | Api.messages_setChatWallPaper | Api.messages_searchEmojiStickerSets | Api.messages_getSavedDialogs | Api.messages_getSavedHistory | Api.messages_deleteSavedHistory | Api.messages_getPinnedSavedDialogs | Api.messages_toggleSavedDialogPin | Api.messages_reorderPinnedSavedDialogs | Api.messages_getSavedReactionTags | Api.messages_updateSavedReactionTag | Api.messages_getDefaultTagReactions | Api.messages_getOutboxReadDate | Api.messages_getQuickReplies | Api.messages_reorderQuickReplies | Api.messages_checkQuickReplyShortcut | Api.messages_editQuickReplyShortcut | Api.messages_deleteQuickReplyShortcut | Api.messages_getQuickReplyMessages | Api.messages_sendQuickReplyMessages | Api.messages_deleteQuickReplyMessages | Api.messages_toggleDialogFilterTags | Api.messages_getMyStickers | Api.messages_getEmojiStickerGroups | Api.messages_getAvailableEffects | Api.messages_editFactCheck | Api.messages_deleteFactCheck | Api.messages_getFactCheck | Api.messages_requestMainWebView | Api.messages_sendPaidReaction | Api.messages_togglePaidReactionPrivacy | Api.messages_getPaidReactionPrivacy | Api.messages_viewSponsoredMessage | Api.messages_clickSponsoredMessage | Api.messages_reportSponsoredMessage | Api.messages_getSponsoredMessages | Api.messages_savePreparedInlineMessage | Api.messages_getPreparedInlineMessage | Api.updates_getState | Api.updates_getDifference | Api.updates_getChannelDifference | Api.photos_updateProfilePhoto | Api.photos_uploadProfilePhoto | Api.photos_deletePhotos | Api.photos_getUserPhotos | Api.photos_uploadContactProfilePhoto | Api.upload_saveFilePart | Api.upload_getFile | Api.upload_saveBigFilePart | Api.upload_getWebFile | Api.upload_getCdnFile | Api.upload_reuploadCdnFile | Api.upload_getCdnFileHashes | Api.upload_getFileHashes | Api.help_getConfig | Api.help_getNearestDc | Api.help_getAppUpdate | Api.help_getInviteText | Api.help_getSupport | Api.help_setBotUpdatesStatus | Api.help_getCdnConfig | Api.help_getRecentMeUrls | Api.help_getTermsOfServiceUpdate | Api.help_acceptTermsOfService | Api.help_getDeepLinkInfo | Api.help_getAppConfig | Api.help_saveAppLog | Api.help_getPassportConfig | Api.help_getSupportName | Api.help_getUserInfo | Api.help_editUserInfo | Api.help_getPromoData | Api.help_hidePromoData | Api.help_dismissSuggestion | Api.help_getCountriesList | Api.help_getPremiumPromo | Api.help_getPeerColors | Api.help_getPeerProfileColors | Api.help_getTimezonesList | Api.channels_readHistory | Api.channels_deleteMessages | Api.channels_reportSpam | Api.channels_getMessages | Api.channels_getParticipants | Api.channels_getParticipant | Api.channels_getChannels | Api.channels_getFullChannel | Api.channels_createChannel | Api.channels_editAdmin | Api.channels_editTitle | Api.channels_editPhoto | Api.channels_checkUsername | Api.channels_updateUsername | Api.channels_joinChannel | Api.channels_leaveChannel | Api.channels_inviteToChannel | Api.channels_deleteChannel | Api.channels_exportMessageLink | Api.channels_toggleSignatures | Api.channels_getAdminedPublicChannels | Api.channels_editBanned | Api.channels_getAdminLog | Api.channels_setStickers | Api.channels_readMessageContents | Api.channels_deleteHistory | Api.channels_togglePreHistoryHidden | Api.channels_getLeftChannels | Api.channels_getGroupsForDiscussion | Api.channels_setDiscussionGroup | Api.channels_editCreator | Api.channels_editLocation | Api.channels_toggleSlowMode | Api.channels_getInactiveChannels | Api.channels_convertToGigagroup | Api.channels_getSendAs | Api.channels_deleteParticipantHistory | Api.channels_toggleJoinToSend | Api.channels_toggleJoinRequest | Api.channels_reorderUsernames | Api.channels_toggleUsername | Api.channels_deactivateAllUsernames | Api.channels_toggleForum | Api.channels_createForumTopic | Api.channels_getForumTopics | Api.channels_getForumTopicsByID | Api.channels_editForumTopic | Api.channels_updatePinnedForumTopic | Api.channels_deleteTopicHistory | Api.channels_reorderPinnedForumTopics | Api.channels_toggleAntiSpam | Api.channels_reportAntiSpamFalsePositive | Api.channels_toggleParticipantsHidden | Api.channels_updateColor | Api.channels_toggleViewForumAsMessages | Api.channels_getChannelRecommendations | Api.channels_updateEmojiStatus | Api.channels_setBoostsToUnblockRestrictions | Api.channels_setEmojiStickers | Api.channels_restrictSponsoredMessages | Api.channels_searchPosts | Api.bots_sendCustomRequest | Api.bots_answerWebhookJSONQuery | Api.bots_setBotCommands | Api.bots_resetBotCommands | Api.bots_getBotCommands | Api.bots_setBotMenuButton | Api.bots_getBotMenuButton | Api.bots_setBotBroadcastDefaultAdminRights | Api.bots_setBotGroupDefaultAdminRights | Api.bots_setBotInfo | Api.bots_getBotInfo | Api.bots_reorderUsernames | Api.bots_toggleUsername | Api.bots_canSendMessage | Api.bots_allowSendMessage | Api.bots_invokeWebViewCustomMethod | Api.bots_getPopularAppBots | Api.bots_addPreviewMedia | Api.bots_editPreviewMedia | Api.bots_deletePreviewMedia | Api.bots_reorderPreviewMedias | Api.bots_getPreviewInfo | Api.bots_getPreviewMedias | Api.bots_updateUserEmojiStatus | Api.bots_toggleUserEmojiStatusPermission | Api.bots_checkDownloadFileParams | Api.payments_getPaymentForm | Api.payments_getPaymentReceipt | Api.payments_validateRequestedInfo | Api.payments_sendPaymentForm | Api.payments_getSavedInfo | Api.payments_clearSavedInfo | Api.payments_getBankCardData | Api.payments_exportInvoice | Api.payments_assignAppStoreTransaction | Api.payments_assignPlayMarketTransaction | Api.payments_canPurchasePremium | Api.payments_getPremiumGiftCodeOptions | Api.payments_checkGiftCode | Api.payments_applyGiftCode | Api.payments_getGiveawayInfo | Api.payments_launchPrepaidGiveaway | Api.payments_getStarsTopupOptions | Api.payments_getStarsStatus | Api.payments_getStarsTransactions | Api.payments_sendStarsForm | Api.payments_refundStarsCharge | Api.payments_getStarsRevenueStats | Api.payments_getStarsRevenueWithdrawalUrl | Api.payments_getStarsRevenueAdsAccountUrl | Api.payments_getStarsTransactionsByID | Api.payments_getStarsGiftOptions | Api.payments_getStarsSubscriptions | Api.payments_changeStarsSubscription | Api.payments_fulfillStarsSubscription | Api.payments_getStarsGiveawayOptions | Api.payments_getStarGifts | Api.payments_getUserStarGifts | Api.payments_saveStarGift | Api.payments_convertStarGift | Api.payments_botCancelStarsSubscription | Api.stickers_createStickerSet | Api.stickers_removeStickerFromSet | Api.stickers_changeStickerPosition | Api.stickers_addStickerToSet | Api.stickers_setStickerSetThumb | Api.stickers_checkShortName | Api.stickers_suggestShortName | Api.stickers_changeSticker | Api.stickers_renameStickerSet | Api.stickers_deleteStickerSet | Api.stickers_replaceSticker | Api.phone_getCallConfig | Api.phone_requestCall | Api.phone_acceptCall | Api.phone_confirmCall | Api.phone_receivedCall | Api.phone_discardCall | Api.phone_setCallRating | Api.phone_saveCallDebug | Api.phone_sendSignalingData | Api.phone_createGroupCall | Api.phone_joinGroupCall | Api.phone_leaveGroupCall | Api.phone_inviteToGroupCall | Api.phone_discardGroupCall | Api.phone_toggleGroupCallSettings | Api.phone_getGroupCall | Api.phone_getGroupParticipants | Api.phone_checkGroupCall | Api.phone_toggleGroupCallRecord | Api.phone_editGroupCallParticipant | Api.phone_editGroupCallTitle | Api.phone_getGroupCallJoinAs | Api.phone_exportGroupCallInvite | Api.phone_toggleGroupCallStartSubscription | Api.phone_startScheduledGroupCall | Api.phone_saveDefaultGroupCallJoinAs | Api.phone_joinGroupCallPresentation | Api.phone_leaveGroupCallPresentation | Api.phone_getGroupCallStreamChannels | Api.phone_getGroupCallStreamRtmpUrl | Api.phone_saveCallLog | Api.langpack_getLangPack | Api.langpack_getStrings | Api.langpack_getDifference | Api.langpack_getLanguages | Api.langpack_getLanguage | Api.folders_editPeerFolders | Api.stats_getBroadcastStats | Api.stats_loadAsyncGraph | Api.stats_getMegagroupStats | Api.stats_getMessagePublicForwards | Api.stats_getMessageStats | Api.stats_getStoryStats | Api.stats_getStoryPublicForwards | Api.stats_getBroadcastRevenueStats | Api.stats_getBroadcastRevenueWithdrawalUrl | Api.stats_getBroadcastRevenueTransactions | Api.chatlists_exportChatlistInvite | Api.chatlists_deleteExportedInvite | Api.chatlists_editExportedInvite | Api.chatlists_getExportedInvites | Api.chatlists_checkChatlistInvite | Api.chatlists_joinChatlistInvite | Api.chatlists_getChatlistUpdates | Api.chatlists_joinChatlistUpdates | Api.chatlists_hideChatlistUpdates | Api.chatlists_getLeaveChatlistSuggestions | Api.chatlists_leaveChatlist | Api.stories_canSendStory | Api.stories_sendStory | Api.stories_editStory | Api.stories_deleteStories | Api.stories_togglePinned | Api.stories_getAllStories | Api.stories_getPinnedStories | Api.stories_getStoriesArchive | Api.stories_getStoriesByID | Api.stories_toggleAllStoriesHidden | Api.stories_readStories | Api.stories_incrementStoryViews | Api.stories_getStoryViewsList | Api.stories_getStoriesViews | Api.stories_exportStoryLink | Api.stories_report | Api.stories_activateStealthMode | Api.stories_sendReaction | Api.stories_getPeerStories | Api.stories_getAllReadPeerStories | Api.stories_getPeerMaxIDs | Api.stories_getChatsToSend | Api.stories_togglePeerStoriesHidden | Api.stories_getStoryReactionsList | Api.stories_togglePinnedToTop | Api.stories_searchPosts | Api.premium_getBoostsList | Api.premium_getMyBoosts | Api.premium_applyBoost | Api.premium_getBoostsStatus | Api.premium_getUserBoosts | Api.smsjobs_isEligibleToJoin | Api.smsjobs_join | Api.smsjobs_leave | Api.smsjobs_updateSettings | Api.smsjobs_getStatus | Api.smsjobs_getSmsJob | Api.smsjobs_finishJob | Api.fragment_getCollectibleInfo | Api.invokeAfterMsg<Api.Function> | Api.invokeAfterMsgs<Api.Function> | Api.initConnection<Api.Function> | Api.invokeWithLayer<Api.Function> | Api.invokeWithoutUpdates<Api.Function> | Api.invokeWithMessagesRange<Api.Function> | Api.invokeWithTakeout<Api.Function> | Api.invokeWithBusinessConnection<Api.Function> | Api.invokeWithGooglePlayIntegrity<Api.Function> | Api.invokeWithApnsSecret<Api.Function>;
|
|
33
33
|
export declare function canBeInputUser(inputPeer: Api.InputPeer): inputPeer is Api.inputPeerUser | Api.inputPeerUserFromMessage;
|
|
34
|
-
export declare function toInputUser(inputPeer: Api.InputPeer): Api.inputUser | Api.inputUserFromMessage;
|
|
34
|
+
export declare function toInputUser(inputPeer: Api.InputPeer): Api.inputUserSelf | Api.inputUser | Api.inputUserFromMessage;
|
|
35
35
|
export declare function canBeInputChannel(inputPeer: Api.InputPeer): inputPeer is Api.inputPeerChannel | Api.inputPeerChannelFromMessage;
|
|
36
36
|
export declare function toInputChannel(inputPeer: Api.InputPeer): Api.inputChannel | Api.inputChannelFromMessage;
|
|
37
37
|
//# sourceMappingURL=0_utilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_utilities.d.ts","sourceRoot":"","sources":["../../src/client/0_utilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAe,MAAM,YAAY,CAAC;AAE9C,eAAO,MAAM,OAAO,qBAA0B,CAAC;AAE/C,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,WAMvC;AAsCD,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,UAyBzC;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,SAS7C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,UAK/C;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,UAK3C;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,QAI7C;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,QAIlE;AAED,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,QAI9C;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,QAI5C;AAaD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,osqBAE/C;AAYD,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,osqBAE3C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,iEAEtD;AACD,wBAAgB,WAAW,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"0_utilities.d.ts","sourceRoot":"","sources":["../../src/client/0_utilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAe,MAAM,YAAY,CAAC;AAE9C,eAAO,MAAM,OAAO,qBAA0B,CAAC;AAE/C,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,WAMvC;AAsCD,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,UAyBzC;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,SAS7C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,UAK/C;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,UAK3C;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,QAI7C;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,QAIlE;AAED,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,QAI9C;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,QAI5C;AAaD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,osqBAE/C;AAYD,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,osqBAE3C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,iEAEtD;AACD,wBAAgB,WAAW,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,gEAYnD;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,uEAEzD;AACD,wBAAgB,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,kDAUtD"}
|
|
@@ -191,6 +191,9 @@ function toInputUser(inputPeer) {
|
|
|
191
191
|
else if ((0, _2_tl_js_1.is)("inputPeerUserFromMessage", inputPeer)) {
|
|
192
192
|
id = { ...inputPeer, _: "inputUserFromMessage" };
|
|
193
193
|
}
|
|
194
|
+
else if ((0, _2_tl_js_1.is)("inputPeerSelf", inputPeer)) {
|
|
195
|
+
id = { _: "inputUserSelf" };
|
|
196
|
+
}
|
|
194
197
|
else {
|
|
195
198
|
(0, _0_deps_js_1.unreachable)();
|
|
196
199
|
}
|
|
@@ -48,7 +48,8 @@ export interface C {
|
|
|
48
48
|
getSelfId: () => Promise<number>;
|
|
49
49
|
getInputPeer: (id: ID) => Promise<Api.InputPeer>;
|
|
50
50
|
getInputChannel: (id: ID) => Promise<Api.inputChannel | Api.inputChannelFromMessage>;
|
|
51
|
-
getInputUser: (id: ID) => Promise<Api.inputUser | Api.inputUserFromMessage>;
|
|
51
|
+
getInputUser: (id: ID) => Promise<Api.inputUserSelf | Api.inputUser | Api.inputUserFromMessage>;
|
|
52
|
+
getInputPeerChatId: (inputPeer: Api.InputPeer | Api.InputUser | Api.InputChannel) => Promise<number>;
|
|
52
53
|
getEntity: EntityGetter;
|
|
53
54
|
handleUpdate: (update: Update) => void;
|
|
54
55
|
parseMode: ParseMode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1_types.d.ts","sourceRoot":"","sources":["../../src/client/1_types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,SAAS,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,CAAC,QAAQ,EAAE,CAAC,SAAS,OAAO,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,oBAAoB,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAElM,UAAU,UA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If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
20
|
import { ID } from "../3_types.js";
|
|
21
|
-
import { SetEmojiStatusParams } from "./0_params.js";
|
|
21
|
+
import { AddContactParams, SetEmojiStatusParams } from "./0_params.js";
|
|
22
22
|
import { C } from "./1_types.js";
|
|
23
23
|
export declare class AccountManager {
|
|
24
24
|
#private;
|
|
@@ -32,5 +32,9 @@ export declare class AccountManager {
|
|
|
32
32
|
setEmojiStatus(id: string, params?: SetEmojiStatusParams): Promise<void>;
|
|
33
33
|
setUserEmojiStatus(userId: ID, id: string, params?: SetEmojiStatusParams): Promise<void>;
|
|
34
34
|
setBotCanSetEmojiStatus(botId: ID, canSetEmojiStatus: boolean): Promise<void>;
|
|
35
|
+
getContacts(): Promise<import("../3_types.js").User[]>;
|
|
36
|
+
deleteContacts(userIds: ID[]): Promise<void>;
|
|
37
|
+
deleteContact(userId: ID): Promise<void>;
|
|
38
|
+
addContact(userId: ID, params?: AddContactParams): Promise<void>;
|
|
35
39
|
}
|
|
36
40
|
//# sourceMappingURL=2_account_manager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2_account_manager.d.ts","sourceRoot":"","sources":["../../src/client/2_account_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,
|
|
1
|
+
{"version":3,"file":"2_account_manager.d.ts","sourceRoot":"","sources":["../../src/client/2_account_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAwC,EAAE,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,qBAAa,cAAc;;gBAGb,CAAC,EAAE,CAAC;IAiBV,YAAY,CAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM;IAKrC,YAAY,CAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM;IAKrC,gBAAgB,CAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;IAcxC,aAAa,CAAC,EAAE,EAAE,EAAE;IAUpB,gBAAgB;IAMhB,SAAS,CAAC,MAAM,EAAE,OAAO;IAKzB,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB;IAaxD,kBAAkB,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB;IAcxE,uBAAuB,CAAC,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,OAAO;IAO7D,WAAW;IASX,cAAc,CAAC,OAAO,EAAE,EAAE,EAAE;IAM5B,aAAa,CAAC,MAAM,EAAE,EAAE;IAKxB,UAAU,CAAC,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,gBAAgB;CAgBvD"}
|
|
@@ -119,6 +119,39 @@ class AccountManager {
|
|
|
119
119
|
const enabled = canSetEmojiStatus;
|
|
120
120
|
await __classPrivateFieldGet(this, _AccountManager_c, "f").invoke({ _: "bots.toggleUserEmojiStatusPermission", bot, enabled });
|
|
121
121
|
}
|
|
122
|
+
async getContacts() {
|
|
123
|
+
__classPrivateFieldGet(this, _AccountManager_c, "f").storage.assertUser("getContacts");
|
|
124
|
+
const result = await __classPrivateFieldGet(this, _AccountManager_c, "f").invoke({ _: "contacts.getContacts", hash: 0n });
|
|
125
|
+
if (!(0, _2_tl_js_1.is)("contacts.contacts", result)) {
|
|
126
|
+
(0, _0_deps_js_1.unreachable)();
|
|
127
|
+
}
|
|
128
|
+
return result.users.map((v) => (0, _2_tl_js_1.is)("user", v) ? (0, _3_types_js_1.constructUser)(v) : null).filter((v) => v != null);
|
|
129
|
+
}
|
|
130
|
+
async deleteContacts(userIds) {
|
|
131
|
+
__classPrivateFieldGet(this, _AccountManager_c, "f").storage.assertUser("deleteContacts");
|
|
132
|
+
const id = await Promise.all(userIds.map((v) => __classPrivateFieldGet(this, _AccountManager_c, "f").getInputUser(v)));
|
|
133
|
+
await __classPrivateFieldGet(this, _AccountManager_c, "f").invoke({ _: "contacts.deleteContacts", id });
|
|
134
|
+
}
|
|
135
|
+
async deleteContact(userId) {
|
|
136
|
+
__classPrivateFieldGet(this, _AccountManager_c, "f").storage.assertUser("deleteContact");
|
|
137
|
+
await this.deleteContacts([userId]);
|
|
138
|
+
}
|
|
139
|
+
async addContact(userId, params) {
|
|
140
|
+
__classPrivateFieldGet(this, _AccountManager_c, "f").storage.assertUser("addContact");
|
|
141
|
+
const id = await __classPrivateFieldGet(this, _AccountManager_c, "f").getInputUser(userId);
|
|
142
|
+
if (!(0, _2_tl_js_1.is)("inputPeerUser", id)) {
|
|
143
|
+
(0, _0_deps_js_1.unreachable)();
|
|
144
|
+
}
|
|
145
|
+
const user = await __classPrivateFieldGet(this, _AccountManager_c, "f").getEntity((0, _2_tl_js_1.inputPeerToPeer)(id));
|
|
146
|
+
if (!user || !("first_name" in user)) {
|
|
147
|
+
(0, _0_deps_js_1.unreachable)();
|
|
148
|
+
}
|
|
149
|
+
const first_name = params?.firstName ?? user.first_name ?? "";
|
|
150
|
+
const last_name = params?.lastName ?? user.last_name ?? "";
|
|
151
|
+
const phone = "";
|
|
152
|
+
const add_phone_privacy_exception = params?.sharePhoneNumber ? true : undefined;
|
|
153
|
+
await __classPrivateFieldGet(this, _AccountManager_c, "f").invoke({ _: "contacts.addContact", add_phone_privacy_exception, id, first_name, last_name, phone });
|
|
154
|
+
}
|
|
122
155
|
}
|
|
123
156
|
exports.AccountManager = AccountManager;
|
|
124
157
|
_AccountManager_c = new WeakMap(), _AccountManager_instances = new WeakSet(), _AccountManager_toggleUsername = async function _AccountManager_toggleUsername(id, username, active) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2_update_manager.d.ts","sourceRoot":"","sources":["../../src/client/2_update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CzD,oBAAoB,CAAC,KAAK,EAAE,MAAM;IA2JlC,cAAc,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,GAAE,GAAG,CAAC,SAAS,GAAG,IAAW,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI;IAuMvH,gBAAgB,CAAC,MAAM,EAAE,MAAM;IAsLrC,gBAAgB,CAAC,OAAO,EAAE,aAAa;IAQjC,QAAQ,CAAC,MAAM,EAAE,EAAE;IAmDnB,SAAS,CAAC,MAAM,EAAE,EAAE;IAY1B,aAAa;CAMd"}
|
|
@@ -240,15 +240,11 @@ class UpdateManager {
|
|
|
240
240
|
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("encountered min user");
|
|
241
241
|
}
|
|
242
242
|
if ((0, _2_tl_js_1.is)("user", user) && user.min) {
|
|
243
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("emu A");
|
|
244
243
|
const entity = await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.getEntity((0, _2_tl_js_1.peerToChatId)(user));
|
|
245
244
|
const userId = (0, _2_tl_js_1.peerToChatId)(user);
|
|
246
245
|
if ((0, _2_tl_js_1.is)("user", entity) && entity.min) {
|
|
247
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("emu B");
|
|
248
246
|
for (const { chatId, senderId, messageId } of __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_extractMinPeerReferences).call(this, context)) {
|
|
249
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("emu C", { chatId, senderId, messageId }, "=", userId);
|
|
250
247
|
if (senderId == userId) {
|
|
251
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("emu X");
|
|
252
248
|
await __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.setMinPeerReference(chatId, senderId, messageId);
|
|
253
249
|
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("user min peer reference stored", chatId, senderId, messageId);
|
|
254
250
|
}
|
|
@@ -464,17 +460,14 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
464
460
|
}, _UpdateManager_extractMessages = function _UpdateManager_extractMessages(context) {
|
|
465
461
|
const messages = new Array();
|
|
466
462
|
if (Array.isArray(context)) {
|
|
467
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("em A");
|
|
468
463
|
for (const item of context) {
|
|
469
464
|
messages.push(...__classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_extractMessages).call(this, item));
|
|
470
465
|
}
|
|
471
466
|
}
|
|
472
467
|
else if ((0, _2_tl_js_1.isOneOf)(["updates", "updatesCombined"], context)) {
|
|
473
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("em B");
|
|
474
468
|
messages.push(...__classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_extractMessages).call(this, context.updates));
|
|
475
469
|
}
|
|
476
470
|
else if ((0, _2_tl_js_1.isOneOf)(["updates.difference", "updates.differenceSlice", "updates.channelDifference"], context)) {
|
|
477
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("em C");
|
|
478
471
|
for (const message of context.new_messages) {
|
|
479
472
|
if ((0, _2_tl_js_1.is)("message", message)) {
|
|
480
473
|
messages.push(message);
|
|
@@ -483,17 +476,14 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
483
476
|
messages.push(...__classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_extractMessages).call(this, context.other_updates));
|
|
484
477
|
}
|
|
485
478
|
else if ((0, _2_tl_js_1.isOneOf)(["updateNewMessage", "updateNewChannelMessage", "updateEditMessage", "updateEditChannelMessage", "updateBotNewBusinessMessage", "updateBotNewBusinessMessage"], context)) {
|
|
486
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("em D");
|
|
487
479
|
if ((0, _2_tl_js_1.is)("message", context.message)) {
|
|
488
480
|
messages.push(context.message);
|
|
489
481
|
}
|
|
490
482
|
}
|
|
491
483
|
else if ((0, _2_tl_js_1.is)("message", context)) {
|
|
492
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("em E");
|
|
493
484
|
messages.push(context);
|
|
494
485
|
}
|
|
495
486
|
else if (context != null && typeof context === "object" && "messages" in context && Array.isArray(context.messages)) {
|
|
496
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("em F");
|
|
497
487
|
for (const message of context.messages) {
|
|
498
488
|
if ((0, _2_tl_js_1.is)("message", message)) {
|
|
499
489
|
messages.push(message);
|
|
@@ -502,12 +492,9 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
502
492
|
}
|
|
503
493
|
return messages;
|
|
504
494
|
}, _UpdateManager_extractMinPeerReferences = function _UpdateManager_extractMinPeerReferences(context) {
|
|
505
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("empr A");
|
|
506
495
|
const minPeerReferences = new Array();
|
|
507
496
|
const messages = __classPrivateFieldGet(this, _UpdateManager_instances, "m", _UpdateManager_extractMessages).call(this, context);
|
|
508
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("empr B", messages.length, context != null && typeof context == "object" && "_" in context ? context._ : typeof context);
|
|
509
497
|
for (const message of messages) {
|
|
510
|
-
__classPrivateFieldGet(this, _UpdateManager_Lmin, "f").debug("empr C");
|
|
511
498
|
if (!message.from_id) {
|
|
512
499
|
continue;
|
|
513
500
|
}
|
|
@@ -82,7 +82,7 @@ class MessageManager {
|
|
|
82
82
|
(0, _0_utilities_js_1.checkArray)(messageIds, _0_utilities_js_1.checkMessageId);
|
|
83
83
|
const peer = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeer(chatId);
|
|
84
84
|
let messages_ = new Array();
|
|
85
|
-
const chatId_ = (
|
|
85
|
+
const chatId_ = await __classPrivateFieldGet(this, _MessageManager_c, "f").getInputPeerChatId(peer);
|
|
86
86
|
let shouldFetch = false;
|
|
87
87
|
for (const messageId of messageIds) {
|
|
88
88
|
const message = await __classPrivateFieldGet(this, _MessageManager_c, "f").messageStorage.getMessage(chatId_, messageId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4_callback_query_manager.d.ts","sourceRoot":"","sources":["../../src/client/4_callback_query_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"4_callback_query_manager.d.ts","sourceRoot":"","sources":["../../src/client/4_callback_query_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,GAAG,EAAW,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAwD,EAAE,EAAE,MAAM,EAAiC,MAAM,eAAe,CAAC;AACvJ,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,KAAK,CAAC,GAAG,EAAE,GAAG;IAAE,cAAc,EAAE,cAAc,CAAA;CAAE,CAAC;AAEjD,QAAA,MAAM,2BAA2B,qEAGvB,CAAC;AAEX,KAAK,0BAA0B,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAE1F,qBAAa,oBAAoB;;gBAGnB,CAAC,EAAE,CAAC;IAIV,mBAAmB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,yBAAyB;IAOlE,iBAAiB,CAAC,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,qBAAqB;IAyBtF,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,IAAI,0BAA0B;IAI1E,YAAY,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,MAAM,CAAC;CAGxE"}
|
|
@@ -55,7 +55,7 @@ class CallbackQueryManager {
|
|
|
55
55
|
__classPrivateFieldGet(this, _CallbackQueryManager_c, "f").storage.assertUser("sendCallbackQuery");
|
|
56
56
|
(0, _0_utilities_js_1.checkMessageId)(messageId);
|
|
57
57
|
(0, _3_types_js_1.validateCallbackQueryQuestion)(question);
|
|
58
|
-
const peer = await __classPrivateFieldGet(this, _CallbackQueryManager_c, "f").getInputPeer(chatId), peerId = (
|
|
58
|
+
const peer = await __classPrivateFieldGet(this, _CallbackQueryManager_c, "f").getInputPeer(chatId), peerId = await __classPrivateFieldGet(this, _CallbackQueryManager_c, "f").getInputPeerChatId(peer), questionKey = JSON.stringify(question);
|
|
59
59
|
const maybeAnswer = await __classPrivateFieldGet(this, _CallbackQueryManager_c, "f").messageStorage.getCallbackQueryAnswer(peerId, messageId, questionKey);
|
|
60
60
|
if (maybeAnswer != null && !__classPrivateFieldGet(_a, _a, "m", _CallbackQueryManager_isExpired).call(_a, maybeAnswer[1], maybeAnswer[0].cache_time)) {
|
|
61
61
|
return (0, _3_types_js_1.constructCallbackQueryAnswer)(maybeAnswer[0]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4_chat_list_manager.d.ts","sourceRoot":"","sources":["../../src/client/4_chat_list_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAE,GAAG,EAAiC,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,YAAY,EAAE,KAAK,eAAe,EAAmJ,EAAE,EAAE,MAAM,eAAe,CAAC;AACvP,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EA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EAAE,MAAM,CAAC,EAAE,iBAAiB;IAwCrD,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,sBAAsB;IAK/D,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,mBAAmB;IAKzD,aAAa,CAAC,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM;CAMnD"}
|
|
@@ -226,8 +226,9 @@ class ChatListManager {
|
|
|
226
226
|
}
|
|
227
227
|
else if ((0, _2_tl_js_1.is)("inputPeerChat", peer)) {
|
|
228
228
|
const user = await __classPrivateFieldGet(this, _ChatListManager_c, "f").getInputUser(userId);
|
|
229
|
+
const userId_ = BigInt(await __classPrivateFieldGet(this, _ChatListManager_c, "f").getInputPeerChatId(user));
|
|
229
230
|
const fullChat = await __classPrivateFieldGet(this, _ChatListManager_c, "f").invoke({ ...peer, _: "messages.getFullChat" }).then((v) => (0, _2_tl_js_1.as)("chatFull", v.full_chat));
|
|
230
|
-
const participant = (0, _2_tl_js_1.as)("chatParticipants", fullChat.participants).participants.find((v) => v.user_id ==
|
|
231
|
+
const participant = (0, _2_tl_js_1.as)("chatParticipants", fullChat.participants).participants.find((v) => v.user_id == userId_);
|
|
231
232
|
return await (0, _3_types_js_1.constructChatMember)(participant, __classPrivateFieldGet(this, _ChatListManager_c, "f").getEntity);
|
|
232
233
|
}
|
|
233
234
|
else {
|
|
@@ -530,7 +531,7 @@ _ChatListManager_c = new WeakMap(), _ChatListManager_LgetChats = new WeakMap(),
|
|
|
530
531
|
}
|
|
531
532
|
}, _ChatListManager_getFullChat = async function _ChatListManager_getFullChat(chatId) {
|
|
532
533
|
const inputPeer = await __classPrivateFieldGet(this, _ChatListManager_c, "f").getInputPeer(chatId);
|
|
533
|
-
const chatId_ = (
|
|
534
|
+
const chatId_ = await __classPrivateFieldGet(this, _ChatListManager_c, "f").getInputPeerChatId(inputPeer);
|
|
534
535
|
let fullChat = await __classPrivateFieldGet(this, _ChatListManager_c, "f").storage.getFullChat(chatId_);
|
|
535
536
|
if (fullChat != null) {
|
|
536
537
|
return fullChat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4_inline_query_manager.d.ts","sourceRoot":"","sources":["../../src/client/4_inline_query_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"4_inline_query_manager.d.ts","sourceRoot":"","sources":["../../src/client/4_inline_query_manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAe,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAiF,EAAE,EAAE,iBAAiB,EAA+B,MAAM,EAAE,MAAM,eAAe,CAAC;AAC1K,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAE/E,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,KAAK,CAAC,GAAG,EAAE,GAAG;IAAE,cAAc,EAAE,cAAc,CAAA;CAAE,CAAC;AAEjD,QAAA,MAAM,yBAAyB,0DAGrB,CAAC;AAEX,KAAK,wBAAwB,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAEtF,qBAAa,kBAAkB;;gBAGjB,CAAC,EAAE,CAAC;IAIV,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,MAAM,CAAC,EAAE,uBAAuB;IAMlG,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,IAAI,wBAAwB;IAIxE,YAAY,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC;IAU/D,eAAe,CAAC,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,qBAAqB;CAsB7E"}
|
|
@@ -67,7 +67,7 @@ class InlineQueryManager {
|
|
|
67
67
|
async sendInlineQuery(userId, chatId, params) {
|
|
68
68
|
__classPrivateFieldGet(this, _InlineQueryManager_c, "f").storage.assertUser("sendInlineQuery");
|
|
69
69
|
const bot = await __classPrivateFieldGet(this, _InlineQueryManager_c, "f").getInputUser(userId), peer = await __classPrivateFieldGet(this, _InlineQueryManager_c, "f").getInputPeer(chatId), query = params?.query ?? "", offset = params?.offset ?? "";
|
|
70
|
-
const botId = (
|
|
70
|
+
const botId = await __classPrivateFieldGet(this, _InlineQueryManager_c, "f").getInputPeerChatId(bot), peerId = await __classPrivateFieldGet(this, _InlineQueryManager_c, "f").getInputPeerChatId(peer);
|
|
71
71
|
const maybeResults = await __classPrivateFieldGet(this, _InlineQueryManager_c, "f").messageStorage.getInlineQueryAnswer(botId, peerId, query, offset);
|
|
72
72
|
if (maybeResults != null && !__classPrivateFieldGet(_a, _a, "m", _InlineQueryManager_isExpired).call(_a, maybeResults[1], maybeResults[0].cache_time)) {
|
|
73
73
|
return (0, _3_types_js_1.constructInlineQueryAnswer)(maybeResults[0]);
|
|
@@ -23,7 +23,7 @@ import { Api } from "../2_tl.js";
|
|
|
23
23
|
import { DC } from "../3_transport.js";
|
|
24
24
|
import { BotCommand, BusinessConnection, CallbackQueryAnswer, CallbackQueryQuestion, Chat, ChatAction, ChatListItem, ChatMember, ChatP, type ChatPChannel, type ChatPGroup, type ChatPSupergroup, FailedInvitation, FileSource, ID, InactiveChat, InlineQueryAnswer, InlineQueryResult, InputMedia, InputStoryContent, InviteLink, LiveStreamChannel, Message, MessageAnimation, MessageAudio, MessageContact, MessageDice, MessageDocument, MessageInvoice, MessageLocation, MessagePhoto, MessagePoll, MessageSticker, MessageText, MessageVenue, MessageVideo, MessageVideoNote, MessageVoice, NetworkStatistics, ParseMode, Poll, PriceTag, Reaction, Sticker, Story, Update, User, VideoChat, VideoChatActive, VideoChatScheduled } from "../3_types.js";
|
|
25
25
|
import { Migrate } from "../4_errors.js";
|
|
26
|
-
import { AddChatMemberParams, AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AnswerPreCheckoutQueryParams, ApproveJoinRequestsParams, BanChatMemberParams, type CreateChannelParams, type CreateGroupParams, CreateInviteLinkParams, CreateStoryParams, type CreateSupergroupParams, DeclineJoinRequestsParams, DeleteMessageParams, DeleteMessagesParams, DownloadLiveStreamChunkParams, DownloadParams, EditInlineMessageMediaParams, EditMessageLiveLocationParams, EditMessageMediaParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetChatMembersParams, GetChatsParams, GetCreatedInviteLinksParams, GetHistoryParams, GetMyCommandsParams, JoinVideoChatParams, PinMessageParams, ReplyParams, ScheduleVideoChatParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendInlineQueryParams, SendInvoiceParams, SendLocationParams, SendMediaGroupParams, SendMessageParams, SendPhotoParams, SendPollParams, SendStickerParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetEmojiStatusParams, SetMyCommandsParams, SetReactionsParams, SignInParams, type StartBotParams, StartVideoChatParams, StopPollParams, UnpinMessageParams } from "./0_params.js";
|
|
26
|
+
import { AddChatMemberParams, AddContactParams, AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AnswerPreCheckoutQueryParams, ApproveJoinRequestsParams, BanChatMemberParams, type CreateChannelParams, type CreateGroupParams, CreateInviteLinkParams, CreateStoryParams, type CreateSupergroupParams, DeclineJoinRequestsParams, DeleteMessageParams, DeleteMessagesParams, DownloadLiveStreamChunkParams, DownloadParams, EditInlineMessageMediaParams, EditMessageLiveLocationParams, EditMessageMediaParams, EditMessageParams, EditMessageReplyMarkupParams, ForwardMessagesParams, GetChatMembersParams, GetChatsParams, GetCreatedInviteLinksParams, GetHistoryParams, GetMyCommandsParams, JoinVideoChatParams, PinMessageParams, ReplyParams, ScheduleVideoChatParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendInlineQueryParams, SendInvoiceParams, SendLocationParams, SendMediaGroupParams, SendMessageParams, SendPhotoParams, SendPollParams, SendStickerParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetEmojiStatusParams, SetMyCommandsParams, SetReactionsParams, SignInParams, type StartBotParams, StartVideoChatParams, StopPollParams, UnpinMessageParams } from "./0_params.js";
|
|
27
27
|
import { StorageOperations } from "./0_storage_operations.js";
|
|
28
28
|
import { ClientPlainParams } from "./1_client_plain.js";
|
|
29
29
|
import { Composer as Composer_, Middleware, MiddlewareFn, MiddlewareObj, NextFunction } from "./1_composer.js";
|
|
@@ -331,7 +331,7 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
|
|
|
331
331
|
*
|
|
332
332
|
* @param id The identifier of the user.
|
|
333
333
|
*/
|
|
334
|
-
getInputUser(id: ID): Promise<Api.inputUser | Api.inputUserFromMessage>;
|
|
334
|
+
getInputUser(id: ID): Promise<Api.inputUserSelf | Api.inputUser | Api.inputUserFromMessage>;
|
|
335
335
|
private [getEntity];
|
|
336
336
|
private [getEntity];
|
|
337
337
|
private [getEntity];
|
|
@@ -1383,5 +1383,32 @@ export declare class Client<C extends Context = Context> extends Composer<C> {
|
|
|
1383
1383
|
* @param telegramPaymentChargeId The identifier of the charge.
|
|
1384
1384
|
*/
|
|
1385
1385
|
refundStarPayment(userId: ID, telegramPaymentChargeId: string): Promise<void>;
|
|
1386
|
+
/**
|
|
1387
|
+
* Get contacts. User-only.
|
|
1388
|
+
*
|
|
1389
|
+
* @method co
|
|
1390
|
+
*/
|
|
1391
|
+
getContacts(): Promise<User[]>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Delete multiple contacts. User-only.
|
|
1394
|
+
*
|
|
1395
|
+
* @method co
|
|
1396
|
+
* @param userIds The identifiers of contacts to delete.
|
|
1397
|
+
*/
|
|
1398
|
+
deleteContacts(userIds: ID[]): Promise<void>;
|
|
1399
|
+
/**
|
|
1400
|
+
* Delete a single contact. User-only.
|
|
1401
|
+
*
|
|
1402
|
+
* @method co
|
|
1403
|
+
* @param userId The identifier of the contact to delete.
|
|
1404
|
+
*/
|
|
1405
|
+
deleteContact(userId: ID): Promise<void>;
|
|
1406
|
+
/**
|
|
1407
|
+
* Add a contact. User-only.
|
|
1408
|
+
*
|
|
1409
|
+
* @method co
|
|
1410
|
+
* @param userId The identifier of a user to add as contact.
|
|
1411
|
+
*/
|
|
1412
|
+
addContact(userId: ID, params?: AddContactParams): Promise<void>;
|
|
1386
1413
|
}
|
|
1387
1414
|
//# sourceMappingURL=5_client.d.ts.map
|