class Bigbrother::Notifier::Telegram

Included Modules

Defined in:

bigbrother/notifier/telegram.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from module Bigbrother::Notifier

app : Bigbrother::App | Nil app, app=(app : Bigbrother::App | Nil) app=, notify(response : Check::Response, only_errors : Bool) notify, start(app : App) start

Constructor methods inherited from module Bigbrother::Notifier

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node, _dummy : Nil) #

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

Class Method Detail

def self.type #

[View source]

Instance Method Detail

def blacklist : Array(String)? #

def blacklist=(_blacklist : Union(Array(String), Nil)) #

def chat_id : Int32 | String #

def chat_id=(_chat_id : Int32 | String) #

def name : String #

def name=(_name : String) #

def notify(response, only_errors) #

[View source]
def start(app) #

[View source]
def to_yaml(__temp_1201 : YAML::Nodes::Builder) #

def token : String #

def token=(_token : String) #

def type : String #

def type=(_type : String) #


def webhook=(_webhook : Union(Webhook, Nil)) #

def whitelist : Array(String)? #

def whitelist=(_whitelist : Union(Array(String), Nil)) #

Macro Detail

macro config(type, **properties) #

[View source]