Actions12
Overview
The "Get Chat Members" operation of the Telegram Client node retrieves a list of all members in a specified Telegram chat or channel. This is useful for scenarios where you need to analyze, manage, or interact with the participants of a group or channel. For example, you might want to export member information for reporting, send targeted messages, or automate membership management tasks.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier or username of the chat/channel (e.g., @username or -100xxxx). |
| Options | Additional parameters: |
| - Limit: Maximum number of members to return (default is 100). |
Output
The output JSON contains the following structure:
{
"success": true,
"members": [
{
// Member details as returned by the Telegram API client
},
...
]
}
success: Indicates whether the operation was successful.members: An array containing the chat members' information retrieved from the Telegram API. Each member object includes details such as user ID, status, and other metadata provided by Telegram.
Dependencies
- Requires an active Telegram Client API credential with valid session, API ID, and API hash.
- Uses the Telegram Client SDK internally to connect and fetch data.
- The node must be configured with these credentials before use.
Troubleshooting
- No credentials provided: The node will throw an error if the required Telegram API credentials are missing. Ensure that the API key/session is properly set up.
- Operation not supported: If an unsupported operation is selected, the node throws an error indicating this.
- Connection issues: Network problems or invalid credentials can cause connection failures. Verify network access and credential validity.
- Limit parameter: Setting an excessively high limit may lead to timeouts or rate limiting by Telegram. Use reasonable limits.
- Permission errors: The bot or user associated with the credentials must have permission to access the chat members list; otherwise, the request will fail.
Links and References
- Telegram Bot API Documentation
- Telegram Client SDK GitHub Repository (used internally by the node)