Every Telegram session has full control of the account. A device I log into only to read and send messages can also transfer or sell collectible gifts, spend Stars, read login codes from the Telegram service chat (777000), change privacy settings, the username or the 2FA email, delete chats, leave groups, and terminate my other sessions once it is older than 24 hours.
So logging in on a shared, borrowed or temporary computer is all-or-nothing. If that device is compromised, or someone else sits at it while the session is open, they can take everything of value on the account. In my case, gifts were transferred out of the account from a session that I had not logged out of.
When I approve a new login, or later in Settings > Devices, let me pick a permission level for that session.
Full: today’s behaviour.
Messaging: read and send messages and media, react, and mark as read. Nothing else.
Read only: view chats and download media.
Custom: individual toggles for Stars, gifts and payments; account and privacy settings; session management and 2FA; deleting chats and messages; seeing the service notifications chat (login codes); and access limited to selected chat folders.
Also:
Session expiry. End the session automatically after 1 hour, 1 day, 1 week, or a date I choose.
No self-upgrade. A limited session can never raise its own permissions. Only a Full session can change them.
Approve on another device. Optionally, sensitive actions such as gift transfers, Stars spending or password changes must be confirmed from a Full session.
Enforced by the server. The limits must be checked by Telegram’s servers, not only hidden in the app’s interface, so a modified client cannot get around them.
Telegram already limits new sessions: for their first 24 hours they cannot terminate other sessions. This proposal extends that idea and lets the user control it. Collectible gifts and Stars now hold real money value, so a stolen session costs far more than it used to. Users who must sometimes log in from a device they don’t fully trust would get a safe option, instead of avoiding Telegram on those devices or risking the whole account.