MadelineProto/docs/TD_docs/constructors/authCodeTypeSms.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}