CallbackQueryHandler {telegram.bot}R Documentation

Handling callback queries

Description

Handler class to handle Telegram callback queries. Optionally based on a regex.

Usage

CallbackQueryHandler(callback, pattern = NULL)

Arguments

callback

The callback function for this handler. See Handler for information about this function.

pattern

(Optional). Regex pattern to test.

Format

An R6Class object.


[Package telegram.bot version 3.0.0 Index]