declineSuggestedPost
Reject a suggested post in a direct messages chat to maintain content quality. Provide an optional comment to explain the decision; requires can_manage_direct_messages admin right.
Instructions
Declines a suggested post in a direct messages chat. Requires the can_manage_direct_messages administrator right in the corresponding channel. 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": "declineSuggestedPost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Unique identifier of the chat containing the suggested post | |
| comment | No | A comment explaining why the post was declined; 0-128 characters | |
| message_id | Yes | Unique identifier of the suggested post message |