mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-10-24 16:50:13 +00:00
deploy: 76a2cfd1a0
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":tgbotapi.utils:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">.</span><a href="same-thread.html"><span class="token function">sameThread</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chatId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-chat-identifier/index.html">ChatIdentifier</a><span class="token punctuation">, </span></span><span class="parameter ">threadId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-message-thread-id/index.html">MessageThreadId</a><span class="token operator">?</span><span class="token operator"> = </span>chatId.threadId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><p class="paragraph">Thread is the same thing that topic</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">true in case if <a href="../../tgbotapi.utils/dev.inmo.tgbotapi.extensions.utils.extensions/index.html">this</a> message is in the chat <a href="same-thread.html">chatId</a> and topic <a href="same-thread.html">threadId</a>. The same here means that these messages from one chat and have equal <a href="../../tgbotapi.core/dev.inmo.tgbotapi.utils.extensions/index.html">Message.threadIdOrNull</a> identifier</p></span><hr><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">.</span><a href="same-thread.html"><span class="token function">sameThread</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">chat<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</a><span class="token punctuation">, </span></span><span class="parameter ">threadId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-message-thread-id/index.html">MessageThreadId</a><span class="token operator">?</span><span class="token operator"> = </span>chat.id.threadId</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><p class="paragraph">Thread is the same thing that topic</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">true in case if <a href="../../tgbotapi.utils/dev.inmo.tgbotapi.extensions.utils.extensions/index.html">this</a> message is from the <a href="same-thread.html">chat</a> and topic <a href="same-thread.html">threadId</a>. The same here means that these messages from one chat and have equal <a href="../../tgbotapi.core/dev.inmo.tgbotapi.utils.extensions/index.html">Message.threadIdOrNull</a> identifier</p></span><hr><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">.</span><a href="same-thread.html"><span class="token function">sameThread</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">other<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><p class="paragraph">Thread is the same thing that topic</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">true in case if <a href="../../tgbotapi.utils/dev.inmo.tgbotapi.extensions.utils.extensions/index.html">this</a> message is in the same topic as the <a href="same-thread.html">other</a>. The same here means that these messages from one chat and have equal <a href="../../tgbotapi.core/dev.inmo.tgbotapi.utils.extensions/index.html">Message.threadIdOrNull</a> identifier</p></span></div></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2023 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
|
||||
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user