Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node integrates with Telegram via the TelePilot API to perform various user-related operations. Specifically, for the 'User' resource and 'Create New Secret Chat' operation, it creates a new secret chat with a specified user ID. This is useful for automating private, encrypted conversations on Telegram. Practical examples include initiating secure chats with contacts programmatically or integrating secret chat creation into larger Telegram automation workflows.

Use Case Examples

  1. Create a new secret chat with a user by providing their Telegram user ID.
  2. Automate the setup of secret chats for customer support or private communications within a Telegram bot workflow.

Properties

Name Meaning
User ID The Telegram user ID with whom to create the new secret chat. This is a required string input.

Output

JSON

  • _ - The response object from the Telegram API representing the newly created secret chat.

Dependencies

  • Requires an API key credential for the TelePilot Telegram API integration.

Troubleshooting

  • Common errors include authentication failures if the Telegram account is not logged in or session is closed. The node throws errors prompting to login again via the ChatTrigger node or to check the login guide at https://telepilot.co/login-howto.
  • Errors related to invalid user IDs or permissions may occur if the user ID does not exist or the bot/account lacks permission to create secret chats with that user.
  • File system errors or binary data errors are not relevant for this operation but may appear in other operations of the node.

Links

  • TelePilot Login Guide - Instructions for logging in and managing Telegram sessions for the TelePilot node.

Discussion