handle_update: Handle an update

View source: R/handler.R

handle_updateR Documentation

Handle an 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.


telegram.bot documentation built on Sept. 7, 2022, 5:07 p.m.