Get chat history
telegram_get_historyRead recent messages from a Telegram chat, newest first, and page backward using the returned offset ID to retrieve older history.
Instructions
Read recent messages from a chat. chat = @username, numeric id, or 'me'. Newest-first, max 100. The answer carries hasMore and nextOffsetId: pass that id back as offsetId to page further back. A page shorter than limit with hasMore:false means the history is exhausted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No | ||
| offsetId | No |