export_chat
Export up to 1000 messages from a Telegram chat as JSON for archiving or analysis. Fetch chat history directly through the MCP server.
Instructions
Export messages from a chat as JSON (max 1000 per call)
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": {
"chat_id": "<chat_id>"
},
"name": "export_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| chat_id | Yes |