MadelineProto/docs/TD_docs/constructors/authCodeTypeCall.md

45 lines
782 B
Markdown
Raw Normal View History

---
title: authCodeTypeCall
description: Code is delievered by voice call to the specified phone number
---
## Constructor: authCodeTypeCall
[Back to constructors index](index.md)
Code is delievered by voice call to the specified phone number
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|length|[int](../types/int.md) | Yes|Length of the code|
### Type: [AuthCodeType](../types/AuthCodeType.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$authCodeTypeCall = ['_' => 'authCodeTypeCall', 'length' => int];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "authCodeTypeCall", "length": int}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
authCodeTypeCall={_='authCodeTypeCall', length=int}
```