Telegram CoPilot icon

Telegram CoPilot

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

Actions56

效邪褌 → 袪械写邪泻褌懈褉芯胁邪褌褜 锌邪锌泻褍

AI-generated

Overview

This node operation allows editing a chat folder in Telegram. It enables users to update properties of an existing chat folder such as its title, icon, color, shareability, invite settings, and the list of chats included in the folder. This is useful for organizing chats into folders with customized settings for better chat management.

Use Case Examples

  1. Updating the title and icon of a chat folder to better reflect its contents.
  2. Changing the color and shareability settings of a chat folder to control access and appearance.
  3. Modifying the list of chats included in a folder by adding or removing chat IDs.

Properties

Name Meaning
ID 锌邪锌泻懈 The unique identifier of the chat folder to be edited.
袧邪蟹胁邪薪懈械 锌邪锌泻懈 The new title for the chat folder.
袠泻芯薪泻邪 锌邪锌泻懈 The icon name to represent the chat folder.
笑胁械褌 锌邪锌泻懈 The color ID (0-7) for the chat folder.
袛芯褋褌褍锌薪邪 写谢褟 褕邪褉懈薪谐邪 Boolean indicating if the chat folder is shareable.
袝褋褌褜 屑芯懈 锌褉懈谐谢邪褕械薪懈褟 Boolean indicating if the folder has the user's invites.
袝褋褌褜 褋褋褘谢泻懈-锌褉懈谐谢邪褕械薪懈褟 Boolean indicating if the folder has invite links.
ID 褔邪褌芯胁 Comma-separated string of chat IDs included in the folder.

Output

JSON

  • _ - Operation type identifier, e.g., 'editChatFolder'.
  • chat_folder_id - The ID of the chat folder that was edited.
  • folder
    • title - The updated title of the chat folder.
    • icon
      * name - The updated icon name of the chat folder.
    • color_id - The updated color ID of the chat folder.
    • is_shareable - Indicates if the chat folder is shareable.
    • has_my_invites - Indicates if the folder has the user's invites.
    • has_invite_links - Indicates if the folder has invite links.
    • chat_ids - Array of chat IDs included in the folder.

Dependencies

  • Telegram API authentication via API ID, API Hash, and phone number credentials.

Troubleshooting

  • Ensure the client is properly authenticated before attempting to edit a chat folder; otherwise, the operation will fail with an authentication error.
  • Verify that the chat_folder_id provided exists and is valid to avoid errors related to non-existent folders.
  • Check that the chat_ids string is correctly formatted as comma-separated numbers; invalid formatting may cause the operation to fail.
  • If the node throws errors related to permissions or API limits, verify that the Telegram account has the necessary rights to edit chat folders.

Discussion