Telegram: Sending messages to Telegram
Telegram: Sending messages to Telegram
The telegram() destination sends log messages to Telegram, which is a secure, cloud-based mobile and desktop messaging app.
Declaration:
telegram(parameters);
Example: Using the telegram() driver
The following example creates a telegram() destination.
destination d_telegram {
telegram(
template("$(urlencode\"${MSG}\")")
throttle(1)
parse-mode("markdown")
disable-web-page-preview("true")
bot-id("<bot id>")
chat-id("<chat id>")
);
};