Telegram MTProto icon

Telegram MTProto

Full-featured Telegram MTProto client (Pyrogram equivalent)

Chat → Get Chat

AI-generated

Summary

Retrieve detailed information about a specific Telegram chat by providing its Chat ID, username, or phone number.

Inputs

  • Chat ID / Username (required) — The identifier of the chat to retrieve information for, which can be a numeric chat ID, a username starting with @, or a phone number.
  • Additional Options — Optional parameters to fine-tune the request, including pagination controls like Offset ID, Min ID, and Max ID (although these are not used directly in this operation), or message-related options (which are not applicable here).

Output shape

a single record

Returns detailed chat information in JSON format as obtained from the Telegram API via the MTProto client. The output includes the chat entity data structure representing the chat's properties.

Examples

Example 1: Get chat information for a channel using its username

Set 'Chat ID / Username' to '@examplechannel'.

Discussion