Changes the default value of the Time-To-Live setting, applied to all new chats.
 Method schema is available as of layer 150. Switch ยป
| Name | Type | Description | 
|---|---|---|
| period | int | The new default Time-To-Live of all messages sent in new chats, in seconds. | 
| Code | Type | Description | 
|---|---|---|
| 400 | TTL_PERIOD_INVALID | The specified TTL period is invalid. |