MadelineProtoDocs/old_docs/API_docs_v2/constructors/auth.sentAppCode.md
2020-06-16 17:50:25 +02:00

1016 B

title description image redirect_from
auth.sentAppCode auth.sentAppCode attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/auth_sentAppCode.html

Constructor: auth.sentAppCode

Back to constructors index

Attributes:

Name Type Required
phone_registered Bool Yes
phone_code_hash string Yes
send_call_timeout int Yes
is_password Bool Yes

Type: auth.SentCode

Example:

$auth.sentAppCode = ['_' => 'auth.sentAppCode', 'phone_registered' => Bool, 'phone_code_hash' => 'string', 'send_call_timeout' => int, 'is_password' => Bool];

Or, if you're into Lua:

auth.sentAppCode={_='auth.sentAppCode', phone_registered=Bool, phone_code_hash='string', send_call_timeout=int, is_password=Bool}