MadelineProtoDocs/old_docs/API_docs_v91/constructors/inputCheckPasswordSRP.md
2019-03-08 13:49:23 +01:00

1.0 KiB

title description image
inputCheckPasswordSRP Check password srp https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputCheckPasswordSRP

Back to constructors index

Check password srp

Attributes:

Name Type Required Description
srp_id long Yes Srp ID
A bytes Yes A
M1 bytes Yes M1

Type: InputCheckPasswordSRP

Example:

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

PWRTelegram json-encoded version:

{"_": "inputCheckPasswordSRP", "srp_id": long, "A": {"_": "bytes", "bytes":"base64 encoded bytes"}, "M1": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

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