--- title: changeAccountTtl description: Changes period of inactivity, after which the account of currently logged in user will be automatically deleted --- ## Method: changeAccountTtl [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Changes period of inactivity, after which the account of currently logged in user will be automatically deleted ### Parameters: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |ttl|[accountTtl](../constructors/accountTtl.md) | Yes|New account TTL| ### Return type: [Ok](../types/Ok.md)