<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><ahref="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><spanclass="token punctuation">.</span><ahref="same-message.html"><spanclass="token function">sameMessage</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">other<spanclass="token operator">: </span><ahref="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</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><h4class="">Return</h4><pclass="paragraph">true in case if <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.utils.extensions//&lt;this&gt;/#/PointingToCallableParameters(-1)/">this</span> message is the same as <ahref="same-message.html">other</a>. The same here means that these messages from one chat and have equal <ahref="../dev.inmo.tgbotapi.types.message.abstracts/-message/message-id.html">Message.messageId</a> identifier</p></div></div>