Actions41
- Chat Actions
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Chat → Mark Chat as Unread
AI-generatedSummary
Sets the unread status of a Telegram chat.
Inputs
- chat_id (required) — ID of the chat.
- is_marked_as_unread (required) — Whether the chat should be marked as unread.
Output shape
a single record
The returned object corresponds to the Telegram API response for the
toggleChatIsMarkedAsUnreadcall.
Examples
Example 1: Mark a chat as unread to ensure notifications are shown.
Chat ID: 123456, Mark as Unread: true
Example 2: Clear the unread status for a chat.
Chat ID: 123456, Mark as Unread: false