Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Dispatcher

The dispatcher of all updates


Description

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

Usage

Dispatcher(bot)

is.Dispatcher(x)

Arguments

bot

The bot object that should be passed to the handlers.

x

Object to be tested.

Format

An R6Class object.

Methods

add_handler

Registers a handler in the Dispatcher.

add_error_handler

Registers an error handler in the Dispatcher.


telegram.bot

Develop a 'Telegram Bot' with R

v2.4.0
GPL-3
Authors
Ernest Benedito [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.