Actions43
- Chat Actions
- Add Chat Members
- Close Chat
- Close Chat (Lite)
- Create SuperGroup or Channel
- Delete Chat
- Get Chat
- Get Chat History
- Get Chats
- Join Chat
- Mark Chat as Unread
- Open Chat
- Open Chat (Lite)
- Search Public Chat (by Username, Lite)
- Search Public Chat (by Username)
- Search Public Chats (Search in Username, Title)
- Send Chat Action
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
User → Get User
AI-generatedSummary
Fetch a Telegram user by ID
Inputs
- user_id (required) — Telegram user ID to retrieve
Output shape
single user record (Telegram user object)
The payload contains the full user object returned by the Telegram API; typical fields include id, first_name, last_name, username, etc., but the exact structure depends on Telegram's response.
Examples
Example 1: Retrieve a user by its numeric ID
Resource: user, Operation: getUser, User ID: 123456789
Example 2: Get full user information
Resource: user, Operation: getUserFullInfo, User ID: 123456789
Example 3: Create a private chat with the user
Resource: user, Operation: createPrivateChat, User ID: 123456789