Telegram CoPilot icon

Telegram CoPilot

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

Actions56

袙褏芯写 → 校写邪谢懈褌褜 Td_database

AI-generated

Overview

This node integrates with Telegram via the TelePilot API, enabling various Telegram operations such as user management, chat handling, message sending, and session management. It supports login via phone number, managing chat folders, sending different types of messages (text, audio, video, photo, files), handling chat members, and retrieving chat or user information. The node is useful for automating Telegram interactions, managing Telegram accounts, and processing Telegram data programmatically within workflows.

Use Case Examples

  1. Automate sending messages or media to Telegram chats.
  2. Manage Telegram chat folders and memberships.
  3. Retrieve user or chat information for analytics or monitoring.
  4. Implement Telegram login and session management within workflows.

Properties

Name Meaning
resource The Telegram resource to operate on, e.g., user, chat, message, group, etc.
operation The specific operation to perform on the selected resource, e.g., getMe, sendMessage, getChatHistory, etc.

Output

JSON

  • json - The JSON response from the TelePilot API for the requested operation, containing data such as user info, chat details, messages, or operation results.

Dependencies

  • TelePilot API credentials (apiId, apiHash, phoneNumber) are required for authentication and API access.

Troubleshooting

  • Common errors include client initialization failures, unauthorized access, and session closure. Users should ensure valid credentials and active sessions.
  • Errors related to chat or user not found indicate invalid IDs or permissions; verify input parameters.
  • File-related errors when sending media indicate missing or inaccessible files; ensure correct file paths and existence.
  • API errors like 'CHAT_WRITE_FORBIDDEN' or 'FILE_REFERENCE_EXPIRED' require checking user permissions or retrying with valid references.

Links

Discussion