mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 01:27:47 +01:00
43 lines
634 B
Markdown
43 lines
634 B
Markdown
|
---
|
||
|
title: accountDaysTTL
|
||
|
description: accountDaysTTL attributes, type and example
|
||
|
---
|
||
|
## Constructor: accountDaysTTL
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|days|[int](../types/int.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [AccountDaysTTL](../types/AccountDaysTTL.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "accountDaysTTL", "days": int}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
accountDaysTTL={_='accountDaysTTL', days=int}
|
||
|
|
||
|
```
|
||
|
|
||
|
|