docs
4.2.1
common
docs
/
dev.inmo.tgbotapi.extensions.behaviour_builder.utils.handlers_registrar
/
HandleableRegexesHolder
Handleable
Regexes
Holder
class
HandleableRegexesHolder
:
HandleableTriggersHolder
<
Regex
>
Constructors
Functions
Properties
Extensions
Constructors
Handleable
Regexes
Holder
Link copied to clipboard
fun
HandleableRegexesHolder
(
)
Functions
is
Handled
Link copied to clipboard
fun
isHandled
(
command
:
String
)
:
Boolean
register
Handleable
Link copied to clipboard
suspend
fun
registerHandleable
(
data
:
Regex
)
unregister
Handleable
Link copied to clipboard
suspend
fun
unregisterHandleable
(
data
:
Regex
)
Properties
handleable
Link copied to clipboard
val
handleable
:
List
<
Regex
>
Extensions
do
With
Registration
Link copied to clipboard
suspend
fun
<
T
,
R
>
HandleableTriggersHolder
<
T
>
.
doWithRegistration
(
data
:
T
,
block
:
suspend
(
)
->
R
)
:
R