Read chat history
historyFetch recent messages from a Telegram chat, newest first, with previews unless full bodies are requested. Limit, paginate, and filter fields to reduce context.
Instructions
Messages from one chat, newest first. Bodies are truncated to a preview unless full is set, because a long chat returned whole is mostly wasted context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Keep whole message bodies instead of previews. | |
| peer | Yes | A @username, numeric id, or 'me'. | |
| limit | No | How many messages. Default 20, max 100. | |
| fields | No | Comma separated fields to keep, e.g. 'id,text'. Dotted paths descend. Cuts response size. | |
| before_id | No | Only messages older than this id. Use next_cursor to page. |