CommonMatcher

sealed class CommonMatcher

Inheritors

Types

Link copied to clipboard
class Regex(val value: Regex, val filter: KClass<out Filter>, val scope: Set<UpdateType>) : CommonMatcher
Link copied to clipboard
class String(val value: String, val filter: KClass<out Filter>, val scope: Set<UpdateType>) : CommonMatcher

Properties

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

Functions

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