Regex

class Regex(val value: Regex, val filter: KClass<out Filter> = DefaultFilter::class, val scope: Set<UpdateType> = DEFAULT_SCOPE) : CommonMatcher

Constructors

Link copied to clipboard
constructor(value: Regex, filter: KClass<out Filter> = DefaultFilter::class, scope: Set<UpdateType> = DEFAULT_SCOPE)

Properties

Link copied to clipboard
val filter: KClass<out Filter>
Link copied to clipboard
Link copied to clipboard
open override val value: Regex

Functions

Link copied to clipboard
open suspend override fun match(text: String, update: ProcessedUpdate, bot: TelegramBot): Boolean
Link copied to clipboard
open override fun toString(): String