Definition: notify(message) — Allowed: string literals or numeric expressions.
Sends a notification message. With Use default MQTT path enabled in the device UI, it publishes an MQTT message for ThingsBoard to forward to Telegram. Otherwise it sends directly with the configured Telegram bot token and chat id. Messages are limited to 32 characters (longer text is truncated).
notify("Pump alarm");
notify(ain(1));