Learn R Programming

telegram.bot (version 1.0.0)

handle_update: handle_update

Description

This method is called if it was determined that an update should indeed be handled by this instance. It should also be overridden (see Handler).

Usage

handle_update(update, dispatcher)

Arguments

update

The update to be handled.

dispatcher

The dispatcher to collect optional arguments.

Details

In most cases self$callback(dispatcher$bot, update) can be called, possibly along with optional arguments.