class Tourmaline::Poller

Overview

The Poller class is responsible for polling Telegram's API for updates, and then passing them to the Dispatcher for processing.

Defined in:

tourmaline/poller.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : Tourmaline::Client) #

[View source]

Instance Method Detail

def offset : Int64 #

[View source]
def start #

Starts polling Telegram's API for updates.


[View source]
def stop #

[View source]