toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.utils
/
dev.inmo.tgbotapi.extensions.utils
/
ifUnknown
if
Unknown
inline
fun
<
T
>
InlineQueryResultsButton
.
ifUnknown
(
block
:
(
InlineQueryResultsButton.Unknown
)
->
T
)
:
T
?
inline
fun
<
T
>
BackgroundFill
.
ifUnknown
(
block
:
(
BackgroundFill.Unknown
)
->
T
)
:
T
?
inline
fun
<
T
>
BackgroundType
.
ifUnknown
(
block
:
(
BackgroundType.Unknown
)
->
T
)
:
T
?
inline
fun
<
T
>
ChatBoostSource
.
ifUnknown
(
block
:
(
ChatBoostSource.Unknown
)
->
T
)
:
T
?
inline
fun
<
T
>
ChatMessageReactionUpdated
.
ifUnknown
(
block
:
(
ChatMessageReactionUpdated.Unknown
)
->
T
)
:
T
?
inline
fun
<
T
>
Reaction
.
ifUnknown
(
block
:
(
Reaction.Unknown
)
->
T
)
:
T
?