- Action(...args): MethodDecorator
-
Parameters
-
Rest
...args: [string] | [RegExp] | [TriggerFn<NarrowedContext<never, CallbackQueryUpdate<CallbackQuery>>>] | [(string | RegExp | TriggerFn<NarrowedContext<never, CallbackQueryUpdate<CallbackQuery>>>)[]]
Returns MethodDecorator
Registers middleware for handling callback_data actions with regular expressions.