Module: logger/telegram

Members

(static) config

Properties:
Name Type Description
config
Properties
Name Type Attributes Default Description
token String <optional>
null The authorization token for a Telegram bot
chatId String <optional>
null Unique identifier for the target chat or username of the target channel (in the format
parseMode String <optional>
'Markdown' Use the keywords 'Markdown' or 'HTML', if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message. Otherwise, set to null.
disableNotification String <optional>
false Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
Source:

Methods

(static) write(level, message)

Parameters:
Name Type Description
level String A severity level.
message The message's parts
Source: