Actions24
- Chat Actions
- Callback Actions
- File Actions
- Message Actions
Overview
This node interacts with the Telegram API to perform various chat-related operations, specifically including the ability to get the list of administrators in a chat. It is useful for automating Telegram chat management tasks such as retrieving chat details, managing members, sending messages, and handling chat settings. For example, it can be used to fetch all administrators of a group chat to monitor or manage permissions.
Use Case Examples
- Retrieve all administrators of a specific Telegram chat by providing the chat ID.
- Get detailed information about a chat or a specific member within the chat.
Properties
| Name | Meaning |
|---|---|
| Chat ID | Unique identifier for the target chat or username, used to specify which chat to operate on. |
Output
JSON
json- The JSON response from the Telegram API containing the requested data, such as the list of chat administrators.
Dependencies
- Telegram API with an API key credential
Troubleshooting
- Ensure the provided Chat ID is correct and the bot has access to the chat.
- Check that the Telegram API credentials are valid and have the necessary permissions.
- Common errors include invalid chat ID or insufficient permissions, which can be resolved by verifying the chat ID and bot's role in the chat.
Links
- Telegram Bot API - getChatAdministrators - Official Telegram API documentation for retrieving chat administrators.