class TelegramBot::Client

Defined in:

telegram_bot/client.cr

Constant Summary

HOST = "api.telegram.org"
TIMEOUT = 3

Constructors

Instance Method Summary

Constructor Detail

def self.new(token : String) #

[View source]

Instance Method Detail

def get_me : User #

[View source]
def get_updates(offset = nil, limit = nil, timeout = nil) : Array(Update) #

[View source]
def send_message(chat_id, text) #

[View source]