Telegram CoPilot icon

Telegram CoPilot

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

Actions56

效邪褌 → 袛芯斜邪胁懈褌褜 褔邪褌 胁 锌邪锌泻褍

AI-generated

Overview

This node operation manages chat folders in Telegram using the TelePilot API. It supports adding a chat to a folder and removing a chat from a folder, allowing users to organize their chats efficiently within Telegram. This is useful for automating chat management tasks such as categorizing chats into folders or cleaning up folder memberships.

Use Case Examples

  1. Automatically add a chat to a specific folder based on certain triggers or conditions.
  2. Remove a chat from a folder when it is no longer relevant or needed in that category.

Properties

Name Meaning
Chat ID The unique identifier of the chat to be added or removed from a folder.
ID 锌邪锌泻懈 The folder ID where the chat will be added or from which it will be removed.

Output

JSON

  • result - The result of the add or remove chat operation, typically the updated chat folder or confirmation of removal.

Dependencies

  • Requires TelePilot API credentials including apiId, apiHash, and phoneNumber for authentication.

Troubleshooting

  • Ensure the client is properly authenticated and logged in before performing folder operations; otherwise, errors about login or session state may occur.
  • Errors related to chat or folder not found indicate invalid or incorrect IDs; verify the chat_id and folder_id values.
  • Permission errors may occur if the user does not have rights to modify the chat or folder.

Links

Discussion