<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><h2class="">Throws</h2><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"><span>kotlin.</span><wbr></wbr><span>Illegal</span><wbr></wbr><span>State</span><wbr></wbr><span><span>Exception</span></span></a></span></div><div><divclass="title"></div></div></div></div></div></div></div></div>