Get Messages
get_messagesRetrieve text messages from a Telegram group within a specified date range, with an optional limit up to 1,000 messages.
Instructions
Đọc tin nhắn chữ của một nhóm trong khoảng ngày.
start_date, end_date: YYYY-MM-DD, tính theo múi giờ TELEGRAM_TZ (mặc định Asia/Ho_Chi_Minh). limit: tối đa 1000.
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": {
"group_id": "<group_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| end_date | Yes | ||
| group_id | Yes | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||