<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace">fun <ahref="../dev.inmo.tgbotapi.types.update.abstracts/-base-edit-message-update/index.html">BaseEditMessageUpdate</a>.<ahref="to-edit-media-group-update.html">toEditMediaGroupUpdate</a>(): <ahref="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-edit-media-group-update/index.html">EditMediaGroupUpdate</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>
<h4class="">Return</h4><pclass="paragraph"><ahref="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-edit-message-media-group-update/index.html">EditMessageMediaGroupUpdate</a> in case if <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.utils.updates//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> is <ahref="../dev.inmo.tgbotapi.types.update/-edit-message-update/index.html">EditMessageUpdate</a>. When <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.utils.updates//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> object is <ahref="../dev.inmo.tgbotapi.types.update/-edit-channel-post-update/index.html">EditChannelPostUpdate</a> instance - will return <ahref="../dev.inmo.tgbotapi.types.update.MediaGroupUpdates/-edit-channel-post-media-group-update/index.html">EditChannelPostMediaGroupUpdate</a></p><h4class="">Throws</h4><divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="table"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-state-exception/index.html">kotlin.IllegalStateException</a></span></div><div><divclass="title"></div></div></div></div></div></div></div></div>