class

Honeypot::Telegram

Inherits Honeypot < Honeypot::Notifier < Reference < Object

Constructors

new

Create a new telegram notifier

Source

Instance methods

bot_token
Source
bot_token=(bot_token : String)
Source
chat_id
Source
chat_id=(chat_id : String)
Source
load_tokens

Load bot token and chat id

Source
message
Source
message=(message : String)
Source
send_notification(report : String)

Notify admin for report

Source