TelegramBotAPI
common
tgbotapi.behaviour_builder
/
dev.inmo.tgbotapi.extensions.behaviour_builder.utils.handlers_registrar
/
doWithRegistration
do
With
Registration
suspend
fun
<
T
,
R
>
HandleableTriggersHolder
<
T
>
.
doWithRegistration
(
data
:
T
,
block
:
suspend
(
)
->
R
)
:
R