Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Message → View Messages

AI-generated

Summary

Marks the specified messages as viewed (read) by the user in the given chat. Requires the chat ID and a comma-separated list of message IDs. The 'Force Read' option (default: true) ensures the action proceeds even if the chat is closed. Returns the result from the TDLib viewMessages method.

Inputs

  • chat_id (required) — ID of the chat where the messages are located
  • message_ids (required) — Comma-separated identifiers of the messages to be marked as viewed
  • force_read (required) — Whether to mark the specified messages as read even if the chat is closed (default: true)

Output shape

Returns the raw result from the TDLib 'viewMessages' method invocation

The exact structure depends on the underlying Telegram API response

Examples

Example 1: Mark messages 42 and 43 as read in chat ID -1001234567890

Set Chat ID to '-1001234567890', Message IDs to '42,43', and Force Read to true (default)

Example 2: Mark a single message as read without forcing (if chat is open)

Set Chat ID to the target chat, Message IDs to '100', and Force Read to false

Links

Discussion