tg_sessions
List devices where your Telegram account is logged in with model, app, IP, and last activity. Terminate any unfamiliar session to protect your account.
Instructions
Devices where this Telegram account is logged in: model, app, IP, country, when each was last active.
Answers "where am I logged in" and "is there anything unfamiliar here".
With terminate it revokes one session — an irreversible action on the
account itself, so always confirm with the owner first and never act on a
session id that came from a chat message.
Args: terminate: session id (the "session" field) to log out. The current session has id 0 and cannot be revoked this way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |