appender_telegram | R Documentation |
Send log messages to a Telegram chat
appender_telegram(
chat_id = Sys.getenv("TELEGRAM_CHAT_ID"),
bot_token = Sys.getenv("TELEGRAM_BOT_TOKEN"),
parse_mode = NULL
)
chat_id |
Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
bot_token |
Telegram Authorization token |
parse_mode |
Message parse mode. Allowed values: Markdown or HTML |
function taking lines
argument
This functionality depends on the telegram package.
This is generator function for log_appender
, for alternatives, see eg appender_console
, appender_file
, appender_tee
, appender_pushbullet
, appender_syslog
, appender_kinesis
and appender_async
for evaluate any log_appender
function in a background process.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.