approveSuggestedPost
Approve a suggested post in a Telegram chat to publish it immediately or at a scheduled time, returning success once approved.
Instructions
Approves a suggested post in a direct messages chat. The bot must have the can_post_messages administrator right in the corresponding channel chat. Returns True on success.
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>",
"message_id": "<message_id>"
},
"name": "approveSuggestedPost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier of the chat containing the suggested post | |
| send_date | No | Unix timestamp specifying when the post should be published. If not specified, the post is published immediately. Must be no more than 2678400 seconds (30 days) in the future. | |
| message_id | Yes | Unique identifier of the suggested post message |