ktgbotapi
common
tgbotapi.utils
/
dev.inmo.tgbotapi.extensions.utils.extensions
/
fromChat
from
Chat
inline
fun
<
T
:
WithChat
>
Flow
<
T
>
.
fromChat
(
chatId
:
ChatIdentifier
)
:
Flow
<
T
>
Will pass only those
T
which have
sameChat
as
chatId
inline
fun
<
T
:
WithChat
>
Flow
<
T
>
.
fromChat
(
chat
:
Chat
)
:
Flow
<
T
>
Will pass only those
T
which have
sameChat
as chatId