MadelineProto/docs/TD_docs/constructors/authCodeTypeSms.md
2017-07-23 16:33:46 +02:00

759 B

title description
authCodeTypeSms Code is delivered by SMS to the specified phone number

Constructor: authCodeTypeSms

Back to constructors index

Code is delivered by SMS to the specified phone number

Attributes:

Name Type Required Description
length int Yes Length of the code

Type: AuthCodeType

Example:

$authCodeTypeSms = ['_' => 'authCodeTypeSms', 'length' => int];

PWRTelegram json-encoded version:

{"_": "authCodeTypeSms", "length": int}

Or, if you're into Lua:

authCodeTypeSms={_='authCodeTypeSms', length=int}