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

handle_update

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

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.