Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node allows users to perform custom requests to the Telegram API via the TelePilot integration. It supports sending arbitrary JSON requests to Telegram, enabling advanced and flexible interactions beyond predefined operations. This is useful for users who need to execute specific Telegram API calls that are not covered by standard node operations, such as sending messages, managing chats, or retrieving user information, by directly specifying the request payload in JSON format.

Use Case Examples

  1. Sending a custom Telegram API request to fetch chat details by providing the appropriate JSON payload.
  2. Executing a custom request to send a message with specific parameters not available in standard operations.

Properties

Name Meaning
Request (JSON) The JSON string representing the custom Telegram API request to be sent.

Output

JSON

  • response - The JSON response returned from the Telegram API after executing the custom request.

Dependencies

  • Requires an API key credential for TelePilot Telegram API authentication.

Troubleshooting

  • Common issues include session expiration or unauthorized errors, which require re-authentication via the login process.
  • Errors such as 'A closed client cannot be reused' indicate the Telegram session was closed and a new login is needed.
  • Invalid JSON in the request property will cause parsing errors; ensure the JSON is correctly formatted.
  • Telegram API errors may include user restrictions or invalid file references; check error messages for guidance.

Links

Discussion