Layer 220
DefaultHistoryTtl
Contains info about the default value of the Time-To-Live setting, applied to all new chats.
constructor
defaultHistoryTTL#43b46b20 period:int = DefaultHistoryTTL;
Parameters
| Name | Type | Description |
|---|---|---|
| Period | int | Time-To-Live setting applied to all new chats. |
Returns
DefaultHistoryTTLGogram Example
// Creating DefaultHistoryTtl constructor obj := &tg.DefaultHistoryTtl{ Period: 0, }