handle_update {telegram.bot} | R 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.
[Package telegram.bot version 3.0.0 Index]