<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace">inline fun <<ahref="filter-media-group-messages.html">T</a> : <ahref="../dev.inmo.tgbotapi.types.message.content.abstracts/-media-group-content/index.html">MediaGroupContent</a>><ahref="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">FlowsUpdatesFilter</a>.<ahref="filter-media-group-messages.html">filterMediaGroupMessages</a>(scopeToIncludeChannels: <spandata-unresolved-link="kotlinx.coroutines/CoroutineScope///PointingToDeclaration/">CoroutineScope</span>? = null): <spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><<ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><<ahref="../dev.inmo.tgbotapi.types.message.abstracts/-common-message/index.html">CommonMessage</a><<ahref="filter-media-group-messages.html">T</a>>>><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="Parameters"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex">scopeToIncludeChannels</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">This parameter is required when you want to include <ahref="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-sent-media-group-update/index.html">SentMediaGroupUpdate</a> for channels too. In this case will be created new channel which will aggregate messages from <ahref="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/message-flow.html">FlowsUpdatesFilter.messageFlow</a> and <ahref="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/channel-post-flow.html">FlowsUpdatesFilter.channelPostFlow</a>. In case it is null will be used <spandata-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span>s mapping</p></div></div></div></div></div></div></div></div></div></div></div>