get_media_messages
Filter and retrieve messages from a Telegram chat by media type: photo, video, document, voice, URL, or GIF.
Instructions
按媒体类型筛选某个对话中的消息(图片 / 视频 / 文件 / 语音 / 链接 / GIF)。
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": "<chat>"
},
"name": "get_media_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No | ||
| media_type | No | photo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |