b24_telegram_configure
Configure which Bitrix24 events are forwarded to Telegram by setting presets or filters, target chat, and enabling or resetting overrides without editing files.
Instructions
Change what gets forwarded to Telegram, without editing files.
Use this to help someone set forwarding up: ask what they want to hear about, translate it into a filter (or pick a preset), set it, then call b24_telegram_test so they see it working.
The bot token is NOT settable here - a credential belongs in .env (BITRIX_TELEGRAM_TOKEN), not in a chat transcript.
Args: events: preset name or filter string. 'nothing' silences forwarding while keeping the rest of the configuration. chat_id: where to post. Find it by messaging the bot and reading getUpdates, or by adding the bot to a channel as administrator. reset: drop overrides so the .env values apply again.
Returns: JSON: the resulting configuration, plus "changed": [...] listing what this call actually modified.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "b24_telegram_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | Clear all overrides and fall back to the .env settings. | |
| events | No | Which events to forward. A preset name ('work', 'tasks', 'crm', 'everything', 'nothing') or a filter string like 'tasks/*,-im/*'. | |
| chat_id | No | Target chat: numeric user id, channel id (-100...), or @channelname. | |
| enabled | No | Turn forwarding on or off without losing the rest of the settings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |