<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="to-sent-media-group-update.html"><spanclass="token function">toSentMediaGroupUpdate</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../dev.inmo.tgbotapi.types.update.media_group/-sent-media-group-update/index.html">SentMediaGroupUpdate</a><spanclass="token operator">?</span><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><h4class="">Receiver</h4><pclass="paragraph">List of <ahref="../dev.inmo.tgbotapi.types.update.abstracts/-base-sent-message-update/index.html">BaseSentMessageUpdate</a> where <spandata-unresolved-link="dev.inmo.tgbotapi.types.update.abstracts/BaseSentMessageUpdate/data/#/PointingToDeclaration/">BaseSentMessageUpdate.data</span> is <ahref="../dev.inmo.tgbotapi.types.message.abstracts/-media-group-message/index.html">MediaGroupMessage</a> and all messages have the same <ahref="../dev.inmo.tgbotapi.types.message.abstracts/-media-group-message/media-group-id.html">MediaGroupMessage.mediaGroupId</a></p><h4class="">Return</h4><pclass="paragraph"><ahref="../dev.inmo.tgbotapi.types.update.media_group/-message-media-group-update/index.html">MessageMediaGroupUpdate</a> in case if <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/index.html">first</a> object of <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.utils.updates//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> is <ahref="../dev.inmo.tgbotapi.types.update/-message-update/index.html">MessageUpdate</a>. When <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/index.html">first</a> object is <ahref="../dev.inmo.tgbotapi.types.update/-channel-post-update/index.html">ChannelPostUpdate</a> instance - will return <ahref="../dev.inmo.tgbotapi.types.update.media_group/-channel-post-media-group-update/index.html">ChannelPostMediaGroupUpdate</a>. Otherwise will be returned null</p></div></div>