fun <T : BaseMessageUpdate> Flow<T>.filterBaseMessageUpdates(chatId: ChatId): Flow<T>
(source)
Flow.filter incoming BaseMessageUpdates by their ChatId
(common)fun <T : BaseMessageUpdate> Flow<T>.filterBaseMessageUpdates(chat: Chat): Flow<T>
(source)
Flow.filter incoming BaseMessageUpdates by their ChatId using Chat.id of chat