get_account_ttl()

Client.get_account_ttl()

Get days to live of account.

Usable by Users Bots
Returns:

int – Time to live in days of the current account.

Example

# Get ttl in days
await app.get_account_ttl()