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