Learn R Programming

telegram.bot (version 1.0.0)

Dispatcher: Dispatcher

Description

This class dispatches all kinds of updates to its registered handlers.

Usage

Dispatcher(bot)

Arguments

bot

The bot object that should be passed to the handlers.

Format

An R6Class object.

Methods

add_handler

Registers a handler in the Dispatcher.

add_error_handler

Registers an error handler in the Dispatcher.