Telegram

Sends data to Telegram

Overview

This node interacts with the Telegram API to perform various chat-related operations. Specifically, the 'Get Administrators' operation retrieves the list of administrators for a specified Telegram chat. This is useful for managing group chats, channels, or supergroups by identifying users with administrative privileges. Practical applications include automating chat management tasks, monitoring admin activities, or integrating Telegram chat admin data into workflows.

Use Case Examples

  1. Retrieve all administrators of a Telegram group to audit permissions.
  2. Fetch chat administrators to send targeted notifications or alerts.
  3. Use admin list to automate moderation tasks in a Telegram channel.

Properties

Name Meaning
Chat ID Unique identifier for the target chat or username of the target channel (in the format @channelusername). Required to specify which chat's administrators to retrieve.

Output

JSON

  • json - The JSON response from Telegram API containing the list of chat administrators and their details.

Dependencies

  • Telegram API access via an API key credential

Troubleshooting

  • Ensure the provided Chat ID is correct and the bot has access to the chat.
  • The bot must have appropriate permissions to retrieve administrator information.
  • Common errors include invalid chat ID or insufficient bot permissions, which can be resolved by verifying chat identifiers and bot roles.

Links

Discussion