Get message by id
get_messageFetch one or more Telegram messages by their IDs from any chat. Use this to retrieve exact message content for review, logging, or further processing.
Instructions
Fetch one or several messages from a dialog by their ids.
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": {
"peer": "<peer>",
"ids": "<ids>"
},
"name": "get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| peer | Yes | Dialog id or @username | |
| accountId | No |