Actions43
- Chat Actions
- Add Chat Members
- Close Chat
- Close Chat (Lite)
- Create SuperGroup or Channel
- Delete Chat
- Get Chat
- Get Chat History
- Get Chats
- Join Chat
- Mark Chat as Unread
- Open Chat
- Open Chat (Lite)
- Search Public Chat (by Username, Lite)
- Search Public Chat (by Username)
- Search Public Chats (Search in Username, Title)
- Send Chat Action
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Chat → Mark Chat as Unread
AI-generatedSummary
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.