App Logo
web.telegram.org

Telegram — Get the signed-in account's profile

Read the profile of the Telegram account this browser is signed in as: its display name, the phone number on the account, and the presence label shown beneath the name. Useful for confirming which account a run will act as before doing anything that writes. Does not include username, bio or birthday — Telegram keeps those behind its Edit profile form rather than on the settings screen.

Input

None

Output

phone required

The phone number on the account, as Telegram formats it for display (e.g. "+33 6 79 34 83 25"). Null if the settings screen showed no phone row.

displayName required

The account's display name — first and last name combined, as shown under the avatar.

statusLabel optional

The presence line beneath the name, verbatim. This one IS translated ("online", "last seen recently", …), so treat it as a display string and do not branch on its text.

Start building not clicking