get_history
Retrieve message history from a Telegram bot by providing its username and optional message limit.
Instructions
Get message history with a Telegram bot.
Args:
bot: Bot username (e.g. '@BotFather' or 'BotFather')
limit: Number of messages to retrieve (default 20)
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": {
"bot": "<bot>"
},
"name": "get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |