Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Chat → Mark Chat as Unread

AI-generated

Summary

Toggle the unread status of a chat.

Inputs

  • chat_id (required) — ID of chat
  • is_marked_as_unread (required) — Whether Chat should be marked as Unread

Output shape

TDLib response confirming the chat's unread status has been toggled.

Calls Telegram TDLib toggleChatIsMarkedAsUnread with the provided chat_id and boolean flag. Both parameters are mandatory.

Examples

Example 1: Scenario 1

In the first scenario, the user wants to find files with size greater than 10 MB and file type PNG. The file path and name returned will be the full path and the file name. The user also wants to match with the filename as well. The files will be filtered based on size and type and then search for the filename. The output will be the list of file names and their paths matching the criteria. A list of found files will be returned in a new folder in the selected directory. The user can further process the files or view the list of files found.

Example 2: Scenario 2

In the second scenario, the user wants to find files with size greater than 10 MB and file type PDF. The file path and name returned will be the full path and the file name. The user also wants to match with the filename as well. The files will be filtered based on size and type and then search for the filename. The output will be the list of file names and their paths matching the criteria. A list of found files will be returned in a new folder in the selected directory. The user can further process the files or view the list of files found.

Links

Discussion