Telegram MTProto icon

Telegram MTProto

Full-featured Telegram MTProto client (Pyrogram equivalent)

User → Get Users

AI-generated

Summary

Retrieve information about a Telegram user by their user ID or username.

Inputs

  • User ID (required) — The Telegram user ID or username of the user to retrieve information for.
  • Additional Options — Optional parameters for text formatting (Parse Mode), silent messaging, reply reference, link preview, and message ID filtering/pagination (Offset ID, Min ID, Max ID), which are available but generally not used for this operation.

Output shape

a single user entity object as returned by the Telegram MTProto API, containing the user's profile and related information.

Returns detailed user information for the specified user ID or username. No pagination applies. Errors will be returned if the user is not found or credentials are invalid.

Examples

Example 1: Get information about a specific user by their Telegram username.

Set the 'User ID' field to the username (e.g., 'someusername'). Leave Additional Options empty or default.

Discussion