Telegram (Grammy) [Stage] icon

Telegram (Grammy) [Stage]

Send and manage Telegram messages, chats, and files via Grammy

Actions10

Chat → Get Admins

AI-generated

Summary

Retrieves the list of chat administrators.

Inputs

  • botToken (required) — Bot token for authentication; can be supplied via input JSON (e.g., {{ $json.access_token }})
  • chatId (required) — ID of the target chat (e.g., a numeric ID or username)

Output shape

an object containing an 'administrators' array of admin objects

Returns the full response from Telegram's getChatAdministrators API; may include additional metadata depending on Telegram version.

Examples

Example 1: Fetch admin list for a group chat

Set resource to 'chat', operation to 'getAdmins', provide botToken and chatId.

Links

Discussion