MadelineProtoDocs/docs/TD_docs/methods/changeAccountTtl.md

24 lines
695 B
Markdown

---
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 | Description | Required |
|----------|---------------|-------------|----------|
|ttl|[accountTtl](../constructors/accountTtl.md) | New account TTL | Yes|
### Return type: [Ok](../types/Ok.md)