tgtrack_set_outbound_link_params
Set target URL, button text, and subscription check for outbound links in tgtrack posts.
Instructions
Параметры outbound-ссылки (кнопка под постом): targetUrl, текст кнопки, проверка подписки.
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": {
"linkID": "<linkID>",
"targetUrl": "<targetUrl>"
},
"name": "tgtrack_set_outbound_link_params"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linkID | Yes | ||
| targetUrl | Yes | ||
| buttonText | No | ||
| unsubscribedText | No | Текст для неподписанных (null — убрать) | |
| checkSubscription | No |