Telegram CoPilot icon

Telegram CoPilot

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

Actions56

袩芯谢褜蟹芯胁邪褌械谢褜 → 袩芯谢褍褔懈褌褜 懈薪褎芯褉屑邪褑懈褞 芯 褋械斜械

AI-generated

Overview

This node interacts with the Telegram CoPilot API to perform login operations using a phone number. It supports commands to start login, stop the session, clear local session data, and provide help or status information. The node manages authentication states including waiting for phone number, authentication code, and multi-factor authentication password. It is useful for automating Telegram login workflows and managing session states programmatically.

Use Case Examples

  1. Automate Telegram login by sending commands like /start and /stop through the node.
  2. Use the node to handle multi-factor authentication during Telegram login.
  3. Clear local session data to reset login state and start fresh authentication.

Properties

Name Meaning
resource The resource to operate on, here it is Telegram login.
operation The specific login operation to perform.

Output

JSON

  • text - Text messages or status updates related to login commands and states.
  • message - Error or informational messages returned during login operations.
  • error - Error details if any error occurs during login.
  • success - Boolean indicating success of certain operations like sending video notes.
  • result - Result data from operations such as sending messages or login status.

Dependencies

  • Requires Telegram API credentials including apiId, apiHash, and phoneNumber.

Troubleshooting

  • Common errors include failure to initialize client due to incorrect credentials or network issues.
  • Unauthorized errors indicate the need to login again using the login commands.
  • Session closed errors require clearing local session data and re-authenticating.
  • Ensure the phone number and authentication codes are correctly provided during login.

Links

  • TelePilot Login Guide - Official guide for logging in with TelePilot node using phone number and authentication commands.

Discussion