TelePilot2 icon

TelePilot2

Your Personal Telegram CoPilot

Chat → Mark Chat as Unread

AI-generated

Summary

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 toggleChatIsMarkedAsUnread call.

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

Links

Discussion