class TelegramBot::Bot

Defined in:

telegram_bot/bot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(token : String) #

[View source]
def self.new(client : Client) #

[View source]

Instance Method Detail

def client : TelegramBot::Client #

[View source]
def client=(client : TelegramBot::Client) #

[View source]
def log(bot_message) #

[View source]
def log_error(err) #

[View source]
def logger #

[View source]
def logger=(logger) #

[View source]
def offset : UInt64 #

[View source]
def offset=(offset : UInt64) #

[View source]
def run(&) #

[View source]