get_history
Read paginated older messages from an allowed Telegram chat. Omit before for the latest page, then follow the returned next cursor to fetch the next exclusive older page.
Instructions
Read a history page (default 50, maximum 100) of older rendered items from an allowed chat. Omit before for latest page; follow the returned next call (or legacy nextBefore) for the next exclusive older page. The 16 KiB JSON budget drops only oldest page items and resumes without skipping them. Album groups are explicit omitted placeholders. HISTORY_NOT_LOADED is unconfirmed progress, not proof of history end.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| limit | No | ||
| before | No | ||
| chatId | No |