MadelineProtoDocs/old_docs/API_docs_v2/constructors/account.sentChangePhoneCode.md

943 B

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

Constructor: account.sentChangePhoneCode

Back to constructors index

Attributes:

Name Type Required
phone_code_hash string Yes
send_call_timeout int Yes

Type: account.SentChangePhoneCode

Example:

$account.sentChangePhoneCode = ['_' => 'account.sentChangePhoneCode', 'phone_code_hash' => 'string', 'send_call_timeout' => int];

Or, if you're into Lua:

account.sentChangePhoneCode={_='account.sentChangePhoneCode', phone_code_hash='string', send_call_timeout=int}