# DefaultHistoryTTL

Contains info about the default value of the Time-To-Live setting, applied to all new chats.

```tl
defaultHistoryTTL#43b46b20 period:int = DefaultHistoryTTL;

---functions---

messages.getDefaultHistoryTTL#658b7188 = DefaultHistoryTTL;
```

### Constructors

| Constructor | Description |
| --- | --- |
| [defaultHistoryTTL](/constructor/defaultHistoryTTL.md) | Contains info about the default value of the Time-To-Live setting, applied to all new chats. |

### Methods

| Method | Description |
| --- | --- |
| [messages.getDefaultHistoryTTL](/method/messages.getDefaultHistoryTTL.md) | Gets the default value of the Time-To-Live setting, applied to all new chats. |