MadelineProtoDocs/old_docs/API_docs_v14/constructors/auth.sentCodeTypeSms.md

779 B

title description image redirect_from
auth.sentCodeTypeSms The code was sent via SMS https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/auth_sentCodeTypeSms.html

Constructor: auth.sentCodeTypeSms

Back to constructors index

The code was sent via SMS

Attributes:

Name Type Required Description
length int Yes Length of the code in bytes

Type: auth.SentCodeType

Example:

$auth.sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int];

Or, if you're into Lua:

auth.sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int}