Telegram CoPilot icon

Telegram CoPilot

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

Actions56

效邪褌 → 袩芯谢褍褔懈褌褜 褋锌懈褋芯泻 锌邪锌芯泻

AI-generated

Overview

This node interacts with the Telegram CoPilot API to perform operations related to chats. Specifically, the selected operation '袩芯谢褍褔懈褌褜 褋锌懈褋芯泻 锌邪锌芯泻' (which translates to 'close session') allows the user to close an active Telegram session associated with the provided credentials. This is useful for managing Telegram sessions programmatically, such as logging out or disconnecting a Telegram account from the node.

Use Case Examples

  1. Automatically close a Telegram session after completing a series of chat operations to ensure security and session management.
  2. Use the node to programmatically disconnect a Telegram account when it is no longer needed in an automation workflow.

Output

JSON

  • 0 - Result message confirming the session closure or disconnection status

Dependencies

  • Requires Telegram API credentials (API ID, API Hash, and phone number) for authentication and session management.

Troubleshooting

  • If the client is not initialized or the session is already closed, the node may throw an error indicating the session cannot be reused or is unauthorized. Ensure the Telegram credentials are correct and the session is active before attempting to close it.
  • Errors related to unauthorized access or closed sessions suggest the need to re-authenticate or login again using the login operation.
  • Network or API errors may occur; enabling 'continue on fail' allows the workflow to handle such errors gracefully.

Links

Discussion