Telegram CoPilot icon

Telegram CoPilot

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

Actions56

小芯芯斜褖械薪懈械 → 校写邪谢懈褌褜 褋芯芯斜褖械薪懈褟

AI-generated

Overview

This node operation allows editing a chat folder in Telegram using the TelePilot API. It is useful for managing chat organization by updating folder properties such as title, icon, color, shareability, invite settings, and the list of chat IDs included in the folder. For example, a user can rename a chat folder, change its icon and color, or add/remove chats from the folder to keep their Telegram chats organized.

Use Case Examples

  1. Renaming a chat folder to 'Work' with a briefcase icon and blue color.
  2. Adding multiple chat IDs to a folder to group related chats together.
  3. Setting a chat folder to be shareable and allowing invites.

Properties

Name Meaning
chat_folder_id The identifier of the chat folder to be edited.
title The new title for the chat folder.
icon_name The name of the icon to represent the chat folder.
color_id The color identifier for the chat folder.
is_shareable Whether the chat folder is shareable with others.
has_my_invites Whether the folder has the user's invites.
has_invite_links Whether the folder has invite links.
chat_ids Comma-separated list of chat IDs to include in the folder.

Output

JSON

  • _ - Type of the response object, e.g., 'chatFolder'.
  • title - The updated title of the chat folder.
  • icon
    • name - The icon name of the chat folder.
  • color_id - The color identifier of the chat folder.
  • is_shareable - Indicates if the folder is shareable.
  • has_my_invites - Indicates if the folder has user's invites.
  • has_invite_links - Indicates if the folder has invite links.
  • chat_ids - Array of chat IDs included in the folder.

Dependencies

  • TelePilot API credentials (apiId, apiHash, phoneNumber)

Troubleshooting

  • Error messages related to chat folder editing usually indicate issues with permissions or invalid folder IDs. Ensure the chat folder ID is correct and the user has the necessary rights to edit the folder.
  • If the node throws an error about client initialization, verify that the Telegram account is logged in properly using the login operation before editing chat folders.
  • Network or API errors may occur; enabling 'Continue On Fail' can help handle these gracefully during workflow execution.

Links

Discussion