1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 03:56:57 +01:00
MadelineProto/docs/TD_docs/constructors/accountTtl.md

45 lines
930 B
Markdown
Raw Normal View History

---
title: accountTtl
description: Contains infotmation about period of inactivity, after which the account of currently logged in user will be automatically deleted
---
## Constructor: accountTtl
[Back to constructors index](index.md)
Contains infotmation about period of inactivity, after which the account of currently logged in user will be automatically deleted
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|days|[int](../types/int.md) | Yes|Number of days of inactivity before account deletion, should be from 30 up to 366|
### Type: [AccountTtl](../types/AccountTtl.md)
### Example:
```
$accountTtl = ['_' => 'accountTtl', 'days' => int, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"accountTtl","days":"int"}
```
Or, if you're into Lua:
```
accountTtl={_='accountTtl', days=int, }
```