39 lines
749 B
Markdown
39 lines
749 B
Markdown
---
|
|
title: auth.sentCodeTypeApp
|
|
description: The code was sent through the telegram app
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: auth.sentCodeTypeApp
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
The code was sent through the telegram app
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|length|[int](../types/int.md) | Yes|Length of the code in bytes|
|
|
|
|
|
|
|
|
### Type: [auth.SentCodeType](../types/auth.SentCodeType.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```php
|
|
$auth.sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int];
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
```lua
|
|
auth.sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int}
|
|
|
|
```
|
|
|
|
|