Telegram CoPilot icon

Telegram CoPilot

袙邪褕 锌械褉褋芯薪邪谢褜薪褘泄 Telegram CoPilot

Actions56

效邪褌 → 袟邪泻褉褘褌褜 褔邪褌

AI-generated

Overview

This node interacts with Telegram chats using the TelePilot API. It supports various chat-related operations such as retrieving chat history, sending messages (text, photo, video, audio, file), managing chat folders, editing chat details, joining or leaving chats, and handling chat invite links. It is useful for automating Telegram chat management, message sending, and retrieving chat data in workflows.

Use Case Examples

  1. Automatically send a photo message to a Telegram chat when a new event occurs.
  2. Retrieve the chat history of a specific Telegram chat for analysis or backup.
  3. Add or remove chats from folders to organize Telegram chats automatically.
  4. Get information about chat invite links and members for managing group access.

Properties

Name Meaning
Chat ID The unique identifier of the Telegram chat to perform operations on.

Output

JSON

  • chat_id - The ID of the chat involved in the operation.
  • message_ids - IDs of messages involved in operations like delete or forward.
  • result - Result object from sending messages or performing chat actions.
  • error - Error message if an operation fails.
  • new_transaction - Details of new star transactions detected in trigger mode.
  • timestamp - Timestamp of events or transactions.

Dependencies

  • TelePilot API credentials (apiId, apiHash, phoneNumber) for authentication and access to Telegram.

Troubleshooting

  • Ensure the Telegram account is logged in before performing chat operations; otherwise, the node will throw a login error.
  • If the client session is closed or unauthorized, re-login is required as indicated by error messages.
  • File paths for sending media must be valid and accessible; missing or invalid files cause errors.
  • Some operations require the user to have admin rights in the chat (e.g., getting invite link info).
  • Large file sizes for voice messages may exceed Telegram limits and cause errors.

Links

  • TelePilot Login Guide - Instructions for logging in and authenticating the Telegram account for TelePilot.

Discussion