docs
3.3.0
common
docs
/
dev.inmo.tgbotapi.extensions.utils
/
ifFromUser
if
From
User
inline
fun
<
T
>
WithUser
.
ifFromUser
(
block
:
(
FromUser
)
->
T
)
:
T
?
inline
fun
<
T
>
Any
.
ifFromUser
(
block
:
(
FromUser
)
->
T
)
:
T
?