MadelineProtoDocs/old_docs/API_docs_v30/constructors/account.sentEmailCode.md
2020-06-16 17:50:25 +02:00

999 B

title description image redirect_from
account.sentEmailCode The sent email code https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/account_sentEmailCode.html

Constructor: account.sentEmailCode

Back to constructors index

The sent email code

Attributes:

Name Type Required Description
email_pattern string Yes The email (to which the code was sent) must match this pattern
length int Yes The length of the verification code

Type: account.SentEmailCode

Example:

$account.sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int];

Or, if you're into Lua:

account.sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int}