MadelineProto/old_docs/API_docs_v65/constructors/auth_sentCodeTypeSms.md

43 lines
700 B
Markdown
Raw Normal View History

2017-04-21 13:27:04 +02:00
---
title: auth.sentCodeTypeSms
description: auth_sentCodeTypeSms attributes, type and example
---
## Constructor: auth.sentCodeTypeSms
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|length|[int](../types/int.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"auth.sentCodeTypeSms","length":"int"}
```
2017-04-21 13:27:04 +02:00
Or, if you're into Lua:
```
auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int, }
```