telegram_chat_read
Fetch up to 500 messages from one known Telegram chat, including attachments, reactions, permalinks, and read state. Use when asked what was said in a specific chat, not to find a chat by name.
Instructions
Fetches up to 500 messages with attachment metadata, reaction counts, a permalink per message and, where Telegram reports it, whether each one has been read. Use when the user asks what was said in one known chat. Do not use this to find a chat by name; call telegram_chats first, or telegram_search when the words matter more than the latest page. Reading does not mark the chat read; that is telegram_plan_mark_read. Page backwards with before_id; a t.me link to a message starts the page at that message. In a forum, topic_id (or a topic link) limits the page to one topic — without it the topics arrive interleaved. Reading never marks anything as seen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat id, @username, or t.me link. A link to a specific message (t.me/name/123, t.me/c/123/456) starts the page at that message instead of at the newest one, and a topic link filters the page to that topic. | |
| limit | No | Messages to return. | |
| search | No | Only messages containing this text. | |
| account | No | Account label to use. Omit when exactly one account is configured. | |
| topic_id | No | Only messages in this forum topic. A topic link (t.me/c/123/12/456 or ?thread=12) supplies it too. Refused on a chat that is not a forum, and cannot be combined with search. List topics with `chat topics`. | |
| before_id | No | Return messages older than this id — the way to page backwards. | |
| include_read_state | No | Report which messages have been read, using the chat's read pointers. Costs one extra call and marks nothing as read; turn it off to skip it. |