telegram_sub_add
Subscribe a principal's Telegram to a chat listener, restricting notifications to admin-approved chats. When no subscriptions exist, all chats are received.
Instructions
Subscribe a principal's Telegram listener to a chat (admin allow-list). No subscriptions for a principal = listen to ALL (back-compat). Once a principal has any subscription, only those chats are pushed to its telegram: channel. Use 'principal' to assign for another user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| note | No | ||
| title | No | ||
| chat_id | Yes | Telegram chat id (negative for groups) | |
| principal | No | Target principal/user (default: current) |