--- title: changeAccountTtl description: Changes period of inactivity, after which the account of currently logged in user will be automatically deleted image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- ## 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)