Telegram (Grammy) icon

Telegram (Grammy)

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

Actions10

Chat → Get Admins

AI-generated

Summary

Fetches the administrators of a Telegram chat using the bot token and chat ID, then returns them in an administrators field.

Inputs

  • Bot Token (required) — Telegram bot token. Defaults to the incoming item's access_token or token; provide an expression or value if needed.
  • Chat ID (required) — ID of the Telegram chat whose administrators to retrieve.

Output shape

A single item containing an administrators array of Telegram chat administrator records.

Runs once per input item. With Continue On Fail enabled, an error is returned in that item's JSON as `{ "error": "..." }.

Links

Discussion