<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.types.message.abstracts/-message/index.html">Message</a><spanclass="token punctuation">.</span><ahref="same-business-connection.html"><spanclass="token function">sameBusinessConnection</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">id<spanclass="token operator">: </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.business_connection/-business-connection-id/index.html">BusinessConnectionId</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/core/kotlin-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 from the same business connection (with businessConnectionId == <ahref="same-business-connection.html">id</a>)</p></span><hr><divclass="symbol monospace"><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><spanclass="token punctuation">.</span><ahref="same-business-connection.html"><spanclass="token function">sameBusinessConnection</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">other<spanclass="token operator">: </span><ahref="../../tgbotapi.core/dev.inmo.tgbotapi.abstracts.types/-with-business-connection-id/index.html">WithBusinessConnectionId</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/core/kotlin-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 from the same business connection (with businessConnectionId == other.businessConnectionId)</p></span></div></div>