Actions12
Overview
The node provides integration with the Telegram Client API, enabling various chat-related operations such as sending messages, managing files and media, retrieving chat members, and more. Specifically, the "Get Chat Members" operation fetches a list of all members in a specified Telegram chat or channel.
This node is useful for automating Telegram workflows, such as monitoring group membership, managing communications, or integrating Telegram data into other systems. For example, you could use it to retrieve all members of a group to send targeted notifications or analyze group composition.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier or username of the chat/channel (e.g., @username or -100xxxx) to query. |
| Options | Additional parameters: |
| - Silent: Send message silently without notification (boolean). | |
| - Caption: Caption text for media messages (string). | |
| - Parse Mode: How to parse message text; options are None, Markdown, or HTML. | |
| - Limit: Maximum number of items to return (number). |
For the "Get Chat Members" operation, the relevant properties are:
- Chat ID: Required to specify which chat's members to retrieve.
- Options > Limit: Optional limit on the number of members returned (default 100).
Output
The output JSON object for the "Get Chat Members" operation contains:
success: Boolean indicating if the operation succeeded.members: An array of member objects representing participants in the chat.
Example output structure:
{
"success": true,
"members": [
{
// Member details as provided by Telegram API
},
...
]
}
No binary data is output by this operation.
Dependencies
- Requires an API authentication token with Telegram Client API credentials (session string, API ID, API hash).
- The node uses the Telegram Client SDK internally to connect and perform operations.
- Network connectivity to Telegram servers is necessary.
- No additional environment variables are required beyond the API credentials.
Troubleshooting
- No credentials provided: The node will throw an error if the required Telegram API credentials are missing. Ensure that valid credentials are configured.
- Operation not supported: If an unsupported operation name is used, an error will be thrown.
- Connection issues: Network problems or invalid credentials may cause connection failures. Verify network access and credential correctness.
- Limit parameter: Setting an excessively high limit may result in timeouts or partial results; try reducing the limit.
- Permission errors: Retrieving chat members requires appropriate permissions in the chat; ensure the authenticated user has access rights.