# filterSentMediaGroupUpdates - docs

docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.utils.updates / kotlinx.coroutines.flow.Flow / filterSentMediaGroupUpdates

# filterSentMediaGroupUpdates

(common) `fun <T : SentMediaGroupUpdate> Flow<T>.filterSentMediaGroupUpdates(chatId: ChatId): Flow<T>` (source)

Flow.filter incoming SentMediaGroupUpdates by their ChatId

(common) `fun <T : SentMediaGroupUpdate> Flow<T>.filterSentMediaGroupUpdates(chat: Chat): Flow<T>` (source)

Flow.filter incoming SentMediaGroupUpdates by their ChatId using Chat.id of chat