MadelineProtoDocs/old_docs/API_docs_v109/constructors/auth.codeTypeSms.md

35 lines
657 B
Markdown

---
title: auth.codeTypeSms
description: Type of verification code that will be sent next if you call the resendCode method: SMS code
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/auth_codeTypeSms.html
---
# Constructor: auth.codeTypeSms
[Back to constructors index](index.md)
Type of verification code that will be sent next if you call the resendCode method: SMS code
### Type: [auth.CodeType](../types/auth.CodeType.md)
### Example:
```php
$auth.codeTypeSms = ['_' => 'auth.codeTypeSms'];
```
Or, if you're into Lua:
```lua
auth.codeTypeSms={_='auth.codeTypeSms'}
```