Common Handler
The annotation used to mark the function used to process the specified commands.
Have lower priority than @CommandHandler
/@InputHandler
.
Types
Link copied to clipboard
annotation class Regex(val value: String, val options: Array<RegexOption> = [], val filter: KClass<out Filter> = DefaultFilter::class, val priority: Int = 0, val scope: Array<UpdateType> = [UpdateType.MESSAGE], val rateLimits: RateLimits = RateLimits(0, 0), val argParser: KClass<out ArgumentParser> = DefaultArgParser::class)
Annotation to specify text matching against update.
Link copied to clipboard
annotation class Text(val value: Array<String>, val filter: KClass<out Filter> = DefaultFilter::class, val priority: Int = 0, val scope: Array<UpdateType> = [UpdateType.MESSAGE], val rateLimits: RateLimits = RateLimits(0, 0), val argParser: KClass<out ArgumentParser> = DefaultArgParser::class)
Annotation to specify text matching against update.