Get one chat's history
telegram_get_messagesMessage history of one conversation, oldest first so it reads as a transcript. Resolve a person's name to chat_id with telegram_find_chat first. Messages include is_forwarded and forward_origin (original author/channel and Unix date when available). For forwards, from identifies who forwarded it in this chat, not the original author. Missing origin data does not prove authorship; never infer a hidden author's identity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many messages to return. Default 50. | |
| since | No | Only messages at or after this time. Accepts an ISO 8601 timestamp, unix seconds, 'today', 'yesterday', or a relative window like '24h' / '7d'. | |
| before | No | Only messages strictly older than this time, for paging back. Accepts an ISO 8601 timestamp, unix seconds, 'today', 'yesterday', or a relative window like '24h' / '7d'. | |
| chat_id | Yes | Chat id, from telegram_find_chat or telegram_list_chats. |