api.getAccountTtl()
Returns the period of inactivity after which the account of the current user will automatically be deleted
Returns
ApiResponse
interface:interface ApiResponse {
_: 'getAccountTtl' | 'error'
airgram: Airgram
request: {
method: 'getAccountTtl'
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}