Actions37
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- Request Actions
- User Actions
Chat → Mark Chat as Unread
AI-generatedOverview
This node operation allows users to mark a specific Telegram chat as unread or read. It is useful for managing chat notifications and keeping track of important conversations that need attention later. For example, a user can mark a chat as unread to remind themselves to respond to messages at a more convenient time.
Use Case Examples
- Mark a chat as unread to flag it for follow-up.
- Mark a chat as read after reviewing messages to clear notifications.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat to be marked as unread or read. |
| Mark as Unread? | Boolean flag indicating whether the chat should be marked as unread (true) or read (false). |
Output
JSON
_- The response object from the Telegram API indicating the result of the toggleChatIsMarkedAsUnread operation.
Dependencies
- An API key credential for Telegram API authentication is required.
Troubleshooting
- If the node throws an error 'A closed client cannot be reused, create a new Client', it means the Telegram session was closed or terminated. The user should log in again using the login process.
- If the node throws an 'Unauthorized' error, it indicates that the Telegram session is not authenticated. The user should log in again.
- Ensure the Chat ID provided is valid and the bot or user has permission to access the chat.
- If the operation fails, enabling 'Continue On Fail' can allow the workflow to proceed while capturing the error details in the output.
Links
- TelePilot Login Guide - Instructions for logging in and managing Telegram sessions with TelePilot.