Telegram CoPilot icon

Telegram CoPilot

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

Actions56

效邪褌 → 袩芯谢褍褔懈褌褜 褍褔邪褋褌薪懈泻芯胁 褔邪褌邪, 锌褉懈褋芯械写懈薪懈胁褕懈褏褋褟 锌芯 褋褋褘谢泻械 锌褉懈谐谢邪褕械薪懈褟

AI-generated

Overview

This node operation allows managing chat folders in Telegram via the TelePilot API. It supports editing chat folders, adding chats to folders, and removing chats from folders. This is useful for organizing chats into folders for better management and access. For example, a user can create a folder for work-related chats and add relevant chats to it, or remove chats from a folder when they are no longer needed there.

Use Case Examples

  1. Edit a chat folder to update its title, icon, color, and included chats.
  2. Add a specific chat to an existing folder by specifying the chat ID and folder ID.
  3. Remove a chat from a folder, effectively moving it back to the main chat list.

Properties

Name Meaning
Chat ID The unique identifier of the chat to be managed in folder operations.
Chat Folder ID The identifier of the chat folder to which a chat will be added or from which it will be removed.
Title The new title for the chat folder when editing it.
Icon Name The icon name to set for the chat folder when editing it.
Color ID The color identifier for the chat folder when editing it.
Is Shareable Boolean flag indicating if the chat folder is shareable when editing it.
Has My Invites Boolean flag indicating if the chat folder has the user's invites when editing it.
Has Invite Links Boolean flag indicating if the chat folder has invite links when editing it.
Chat IDs Comma-separated list of chat IDs to include in the chat folder when editing it.

Output

JSON

  • _ - The type of the response object from the TelePilot API.
  • title - The title of the chat folder after editing.
  • icon
    • name - The icon name of the chat folder after editing.
  • color_id - The color ID of the chat folder after editing.
  • is_shareable - Indicates if the chat folder is shareable.
  • has_my_invites - Indicates if the chat folder has the user's invites.
  • has_invite_links - Indicates if the chat folder has invite links.
  • chat_ids - List of chat IDs included in the chat folder.

Dependencies

  • TelePilot API credentials (apiId, apiHash, phoneNumber)

Troubleshooting

  • Errors may occur if the chat folder ID or chat IDs are invalid or if the user lacks permissions to modify the folder.
  • Common error messages include 'Ошибка при получении списка папок' (Error getting folder list) and 'Ошибка при редактировании папки' (Error editing folder).
  • Ensure the Telegram account is logged in and the session is active before performing operations.
  • If the client session is closed or unauthorized, re-login is required as per the guide at https://telepilot.co/login-howto.

Links

Discussion