Telegram APIAccount
account.getAccountTTL
Get days to live of account
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
workspaceId*string
Workspace ID
accountId*string
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
params*
Get days to live of account
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/account.getAccountTTL" \ -H "Content-Type: application/json" \ -d '{ "params": {} }'{ "result": { "_": "accountDaysTTL", "days": 0 }}finishTakeoutSession
Terminate a [takeout session, see here » for more info](https://core.telegram.org/api/takeout).
getAllSecureValues
Get all saved [Telegram Passport](https://core.telegram.org/passport) documents, [for more info see the passport docs »](https://core.telegram.org/passport/encryption#encryption)