String

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

Constructors

Link copied to clipboard
constructor(value: String, 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: String

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