MadelineProto/docs/TD_docs/constructors/authCodeTypeFlashCall.md

45 lines
1020 B
Markdown
Raw Normal View History

---
title: authCodeTypeFlashCall
description: Code is delivered by the immediately cancelled call to the specified phone number. Number from which the call was done is the code
---
## Constructor: authCodeTypeFlashCall
[Back to constructors index](index.md)
Code is delivered by the immediately cancelled call to the specified phone number. Number from which the call was done is the code
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|pattern|[string](../types/string.md) | Yes|Pattern of the phone number from which the call will be done|
### Type: [AuthCodeType](../types/AuthCodeType.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$authCodeTypeFlashCall = ['_' => 'authCodeTypeFlashCall', 'pattern' => 'string'];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "authCodeTypeFlashCall", "pattern": "string"}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
authCodeTypeFlashCall={_='authCodeTypeFlashCall', pattern='string'}
```