toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal
/
CommonMatcher
/
Regex
Regex
class
Regex
(
val
value
:
Regex
,
val
filter
:
KClass
<
out
Filter
>
=
DefaultFilter::class
,
val
scope
:
Set
<
UpdateType
>
=
DEFAULT_SCOPE
)
:
CommonMatcher
Members
Constructors
Regex
Link copied to clipboard
constructor
(
value
:
Regex
,
filter
:
KClass
<
out
Filter
>
=
DefaultFilter::class
,
scope
:
Set
<
UpdateType
>
=
DEFAULT_SCOPE
)
Properties
filter
Link copied to clipboard
val
filter
:
KClass
<
out
Filter
>
scope
Link copied to clipboard
val
scope
:
Set
<
UpdateType
>
value
Link copied to clipboard
open
override
val
value
:
Regex
Functions
match
Link copied to clipboard
open
suspend override
fun
match
(
text
:
String
,
update
:
ProcessedUpdate
,
bot
:
TelegramBot
)
:
Boolean
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String