Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Chat → Add Chat Members

AI-generated

Overview

This node operation adds members to a specified Telegram Supergroup or Channel chat. It is useful for automating the process of managing group memberships by programmatically adding multiple users to a chat based on their user IDs. For example, it can be used to bulk add users to a community group or channel in Telegram.

Use Case Examples

  1. Adding multiple user IDs to a Telegram Supergroup to automate community management.
  2. Adding new members to a Telegram Channel for broadcasting updates.

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 chat.

Output

JSON

  • _ - Indicates the type of the Telegram API method invoked, here it is 'addChatMembers'.
  • chat_id - The ID of the chat where members were added.
  • user_ids - The list of user IDs that were added to the chat.
  • result - The response from the Telegram API indicating success or failure of the add members operation.

Dependencies

  • Requires an API key credential for Telegram API access.

Troubleshooting

  • Common errors include 'Unauthorized' if the Telegram session is not logged in or expired, requiring re-login.
  • Errors related to a closed client session, which means the session was terminated and a new login is needed.
  • Ensure the user IDs are correctly formatted as a comma-separated string without extra spaces to avoid API errors.

Links

Discussion