telegram_ads_policy_check
Checks a sponsored message against Telegram's prohibited categories, the 160-character text limit, the title limit and the link format.
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": {
"text": "<text>"
},
"name": "telegram_ads_policy_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpm | No | CPM bid in the account currency. | |
| text | Yes | Sponsored message text. | |
| title | No | Internal ad name, up to 128 bytes. | |
| currency | No | Account currency: EUR, TON or XTR. | |
| client_id | No | ||
| promote_url | No | What is promoted: @username, t.me link, bot or website. | |
| website_name | No | Site name, required when an external site is promoted. |