Channel / User Info
Get public information about a Telegram channel or user by username.Endpoint
Path Parameters
The Telegram username to look up (e.g.
durov, telegram).Example Request
cURL
JavaScript
Python
Response Example
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Unique Telegram ID of the channel or user |
title | string | Display name of the channel or user |
username | string | Telegram username (without the @) |
type | string | Account type — channel, user, group, etc. |
description | string | Bio or channel description |
members | integer | Number of members or subscribers |
photo | string | Base64-encoded JPEG profile photo |
The
photo field returns a base64-encoded JPEG string. To display it in a browser, prefix it with data:image/jpeg;base64,.