toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal
/
foldResponse
fold
Response
inline suspend
fun
<
T
,
R
>
Deferred
<
Response
<
out
T
>
>
.
foldResponse
(
success
:
Response.Success
<
T
>
.
(
)
->
R
,
failure
:
Response.Failure
.
(
)
->
R
)
:
R