Dispatcher: The dispatcher of all updates

Description Usage Arguments Format Methods

View source: R/dispatcher.R

Description

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

Usage

1
2
3

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.


ebeneditos/telegram.bot documentation built on Dec. 2, 2018, 1:18 p.m.