CallbackQuery

annotation class CallbackQuery(val value: Array<String>, val autoAnswer: Boolean = false, val rateLimits: RateLimits = RateLimits(0, 0), val guard: KClass<out Guard> = DefaultGuard::class, val argParser: KClass<out ArgumentParser> = DefaultArgParser::class)

Shortcut CommandHandler annotation with specified scope for UpdateType.CALLBACK_QUERY.

Properties

Link copied to clipboard

Custom argument parser.

Link copied to clipboard
val autoAnswer: Boolean = false

Reply to callbackQuery automatically (call answerCallbackQuery before handling).

Link copied to clipboard
val guard: KClass<out Guard>

Guard condition that will be checked.

Link copied to clipboard

Query limits for this particular command.

Link copied to clipboard

Keywords of the command.