tg_notify
Manage Telegram notification settings for any chat or category, including muting, sound, previews, and story alerts, to control when and how you're notified.
Instructions
Read or change notification settings — for one chat or a whole category.
With no arguments it reports the account defaults for private chats, groups and channels. tg_mute is the shortcut for "silence this chat"; this is the tool for everything else: turning a whole category off, controlling sound, message previews and story notifications, and finding chats whose settings differ from the default.
Args: chat: one chat to read or change. scope: change the default for a whole category — "users", "groups" or "channels". This is what "turn off notifications for all channels" means. mute: true silences, false unsilences. hours: silence for this many hours instead of indefinitely. sound: false = notify silently, true = with sound. previews: whether the message text is shown in the notification. stories: false mutes story notifications from this chat. exceptions: list every chat whose settings differ from the defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| mute | No | ||
| hours | No | ||
| scope | No | ||
| sound | No | ||
| stories | No | ||
| previews | No | ||
| exceptions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |