MadelineProtoDocs/old_docs/API_docs_v104/constructors/inputCheckPasswordSRP.md
2019-12-27 17:48:04 +01:00

1.1 KiB

title description image
inputCheckPasswordSRP Constructor for checking the validity of a 2FA SRP password (see [SRP](https://core.telegram.org/api/srp)) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputCheckPasswordSRP

Back to constructors index

Constructor for checking the validity of a 2FA SRP password (see SRP)

Attributes:

Name Type Required Description
srp_id long Yes SRP ID
A bytes Yes A parameter (see SRP)
M1 bytes Yes M1 parameter (see SRP)

Type: InputCheckPasswordSRP

Example:

$inputCheckPasswordSRP = ['_' => 'inputCheckPasswordSRP', 'srp_id' => long, 'A' => 'bytes', 'M1' => 'bytes'];

Or, if you're into Lua:

inputCheckPasswordSRP={_='inputCheckPasswordSRP', srp_id=long, A='bytes', M1='bytes'}