Actions24
- Chat Actions
- Callback Actions
- File Actions
- Message Actions
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
- Retrieve all administrators of a Telegram group to audit permissions.
- Fetch chat administrators to send targeted notifications or alerts.
- 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
- Telegram Bot API - getChatAdministrators - Official Telegram API documentation for retrieving chat administrators.