2019-08-15 20:25:16 +02:00
|
|
|
---
|
|
|
|
title: codeSettings
|
|
|
|
description: Code settings
|
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: codeSettings
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code settings
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Allow flashcal?|
|
|
|
|
|current\_number|[Bool](../types/Bool.md) | Optional|Current number?|
|
2019-08-15 20:30:02 +02:00
|
|
|
|allow\_app\_hash|[Bool](../types/Bool.md) | Optional|Whether to allow a persistent app hash|
|
2019-08-15 20:25:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [CodeSettings](../types/CodeSettings.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$codeSettings = ['_' => 'codeSettings', 'allow_flashcall' => Bool, 'current_number' => Bool, 'allow_app_hash' => Bool];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
codeSettings={_='codeSettings', allow_flashcall=Bool, current_number=Bool, allow_app_hash=Bool}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|