Actions34
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Chat → Add Chat Members
AI-generatedOverview
This node operation adds members to a Telegram Supergroup or Channel by specifying the chat ID and a comma-separated list of user IDs. It is useful for managing group memberships programmatically, such as adding multiple users to a channel or supergroup in bulk. For example, an admin can automate adding new members to a community channel or a project group chat.
Use Case Examples
- Add multiple users to a Telegram channel by providing the channel's chat ID and a list of user IDs.
- Automate onboarding of new members to a Telegram supergroup by adding them via their user IDs.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat (Supergroup or Channel) where members will be added. |
| User IDs | A comma-separated list of user IDs to be added to the specified Supergroup or Channel. |
Output
JSON
result- The response from the Telegram API after attempting to add the specified users to the channel, indicating success or failure details.
Dependencies
- Requires Telegram API credentials (API ID, API Hash, and phone number) for authentication.
- Uses the TelePilotNodeConnectionManager to manage Telegram client sessions and API calls.
Troubleshooting
- Error 'Client not initialized. Please login first.' indicates the Telegram client session is not active. Ensure the node is authenticated before running this operation.
- If 'Entity is not a channel' error occurs, verify that the provided chat ID corresponds to a valid Telegram Channel or Supergroup.
- If user entities cannot be found for the given user IDs, check that the user IDs are correct and that the bot or account has permission to access them.
- Network or session errors may require re-authentication or session reset using the login operations.
Links
- TelePilot Login Guide - Instructions for logging in and managing Telegram sessions for this node.
- Telegram Channels API Documentation - Official Telegram API documentation for managing channels and adding members.