Learn R Programming

telegram.bot (version 1.0.0)

add_error_handler: add_error_handler

Description

Registers an error handler in the Dispatcher.

Usage

add_error_handler(callback)

Arguments

callback

A function that takes (Bot, Update) as arguments.