Read a Telegram conversation
get_telegram_chatReads a Telegram conversation, oldest first: the last limit messages, or the messages before message before to page back. Each message has its author (fromMe for the user). Read-only; does not mark anything as read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"chat": "<chat>"
},
"name": "get_telegram_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Conversation: the `chat` id returned by the other Telegram tools. | |
| limit | No | Maximum number of messages. | |
| before | No | Return messages older than this message (its `message` id). | |
| accountId | Yes | Telegram source, as returned by the other Telegram tools. |