<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-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-thread.html"><spanclass="token function">sameThread</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></div><pclass="paragraph">Thread is the same thing that topic</p><spanclass="kdoc-tag"><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 in the same topic as the <ahref="same-thread.html">other</a>. The same here means that these messages from one chat and have equal <ahref="../dev.inmo.tgbotapi.utils.extensions/thread-id-or-null.html">Message.threadIdOrNull</a> identifier</p></span></div></div>