set_account_ttl()

Client.set_account_ttl()

Set days to live of account.

Usable by Users Bots
Parameters:

days (int) – Time to live in days.

Returns:

bool – On success, True is returned.

Example

# Set ttl in days
await app.set_account_ttl(365)