Configuration
Alarm Notification Profile
After installing the module, create an Alarm Notification Profile of type Telegram Notification.
Profile Settings
| Parameter | Type | Required | Description |
|---|---|---|---|
| Name | Text | Yes | Name of the Alarm Notification Profile instance |
| Description | Text | No | Description of the Alarm Notification Profile instance |
| Enabled | Boolean | Yes | Enable/Disable the Alarm Notification Profile |
| Bot Token | Secret | Yes | Telegram Bot token obtained from @BotFather, stored via Ignition's secret system |
| Audit Profile | Reference | No | Optional audit profile for logging notification events |
The Audit Profile field is a managed reference to an Ignition audit profile. While it is referenced, the target audit profile is delete-protected, and if that audit profile is renamed the reference is updated automatically.
Credentials
The Bot Token is stored securely using Ignition's secret management system. To create the bot and obtain its token, see Installation → Creating a Telegram Bot.
Auditing
When an audit profile is configured, the module writes one audit record per alarm event per notification. See Usage → Audit Logging for the fields each record stores.
User Contact Configuration
For users to receive Telegram notifications, their contact information must include their Telegram chat id under the Telegram contact type (a custom contact type registered by this module). A user may have multiple Telegram contacts — all of them are messaged.
Finding Your Chat ID
- Start a conversation with your bot in Telegram (you must
/startor send at least one message to the bot first) - Open this URL in a browser (replace
<BOT_TOKEN>with your token):https://api.telegram.org/bot<BOT_TOKEN>/getUpdates - Find the
chat.idvalue in the JSON response
Adding Contact Information
- Navigate to Platform > Security > User Sources
- Open the user source's ⋮ menu, choose Manage Users, and edit the user
- In the Contact Info section, add a contact of type Telegram
- Enter the chat id (numeric value, e.g.,
123456789)
For group notifications, add your bot to the group and use the group's chat id. Private chat ids are positive (e.g., 123456789); group chat ids are negative (e.g., -987654321).
Per-Alarm Custom Message
The module supports per-alarm custom messages via the Extended Configuration of each alarm.
To configure a custom message for a specific alarm:
- Open the alarm configuration in the Designer
- Expand the extended configuration section
- Find the Telegram Notification properties category
- Set the Custom Telegram Message (
CustomTelegramMessage) property
When a non-blank custom message is defined, it overrides the notification block's Message template for that specific alarm. This override applies to non-throttled (single-alarm) notifications only — throttled notifications always use the block's Throttled Message template.
Bot Permissions
| Feature | Requirement |
|---|---|
| Send messages | Default (all bots can send) |
| Group messages | Bot must be added to the group |
| Acknowledgment buttons | No special permission needed |
Telegram's bot privacy mode governs which regular chat messages a bot receives in groups. It does not affect this module's acknowledgment flow: acknowledgments arrive as callback_query events from inline-button taps, which are always delivered to the bot regardless of privacy mode.