Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Chat → Get Chat Member

AI-generated

Summary

Retrieve information about a specific member of a Telegram chat by providing the chat's unique identifier and the user's unique identifier.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
  • User ID (required) — Unique identifier of the target user.

Output shape

a single JSON object containing the chat member information as returned by the Telegram Bot API.

Returns the result field from the Telegram API response containing member details. Handles errors via the Telegram API error response. Supports multiple input items and returns output per item.

Examples

Example 1: Get member status and roles in a chat

Set 'Chat ID' to the target chat's unique identifier or username, and 'User ID' to the target user's unique Telegram identifier. The node fetches and outputs detailed membership information including status like 'administrator' or 'member'.

Links

Discussion