TelegramBotAPI
common
tgbotapi.utils
/
dev.inmo.tgbotapi.extensions.utils.shortcuts
/
executeUnsafe
execute
Unsafe
suspend
fun
<
T
:
Any
>
RequestsExecutor
.
executeUnsafe
(
request
:
Request
<
T
>
,
retries
:
Int
=
0
,
retriesDelay
:
Long
=
1000
,
onAllFailed
:
suspend
(
exceptions
:
Array
<
Throwable
>
)
->
Unit
?
=
null
)
:
T
?