<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":tgbotapi.utils:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.abstracts/-with-preview-chat/index.html">WithPreviewChat</a><spanclass="token punctuation">.</span><ahref="same-chat.html"><spanclass="token function">sameChat</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">chatId<spanclass="token operator">: </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</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><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">true in case if <ahref="../../tgbotapi.utils/dev.inmo.tgbotapi.extensions.utils.extensions/index.html">this</a> message is placed in the chat with id == <ahref="same-chat.html">chatId</a></p></span><hr><divclass="symbol monospace"><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.abstracts/-with-preview-chat/index.html">WithPreviewChat</a><spanclass="token punctuation">.</span><ahref="same-chat.html"><spanclass="token function">sameChat</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">chat<spanclass="token operator">: </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</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><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">true in case if <ahref="../../tgbotapi.utils/dev.inmo.tgbotapi.extensions.utils.extensions/index.html">this</a> message is placed in the <ahref="same-chat.html">chat</a></p></span><hr><divclass="symbol monospace"><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.abstracts/-with-preview-chat/index.html">WithPreviewChat</a><spanclass="token punctuation">.</span><ahref="same-chat.html"><spanclass="token function">sameChat</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">other<spanclass="token operator">: </span><ahref="../../tgbotapi.core/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><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">true in case if <ahref="../../tgbotapi.utils/dev.inmo.tgbotapi.extensions.utils.extensions/index.html">this</a> message is placed in the same chat that <ahref="same-chat.html">other</a></p></span></div></div>