Package main class. This class, which employs the class Dispatcher
, provides a front-end to
class Bot
to the programmer, so they can focus on coding the bot. Its purpose is to
receive the updates from Telegram and to deliver them to said dispatcher. The
dispatcher supports Handler
classes for different kinds of data: Updates from Telegram, basic text
commands and even arbitrary types.