1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-10-25 17:20:07 +00:00
This commit is contained in:
InsanusMokrassar
2023-03-16 14:21:25 +00:00
parent 902d5f2bfd
commit 36f2c91797
43 changed files with 14287 additions and 13567 deletions

View File

@@ -49,12 +49,12 @@
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" data-page-type="member" id="content" pageids="tgbotapi.utils::dev.inmo.tgbotapi.extensions.utils.extensions//sameTopic/dev.inmo.tgbotapi.types.message.abstracts.Message#dev.inmo.tgbotapi.types.message.abstracts.Message/PointingToDeclaration//-957209142">
<div class="main-content" data-page-type="member" id="content" pageids="tgbotapi.utils::dev.inmo.tgbotapi.extensions.utils.extensions//sameTopic/dev.inmo.tgbotapi.types.message.abstracts.Message#dev.inmo.tgbotapi.types.ChatIdentifier#kotlin.Long?/PointingToDeclaration//-957209142">
<div class="breadcrumbs"><a href="../index.html">tgbotapi.utils</a><span class="delimiter">/</span><a href="index.html">dev.inmo.tgbotapi.extensions.utils.extensions</a><span class="delimiter">/</span><span class="current">sameTopic</span></div>
<div class="cover ">
<h1 class="cover"><span>same</span><wbr><span><span>Topic</span></span></h1>
</div>
<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-topic.html"><span class="token function">sameTopic</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-topic.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 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-topic.html"><span class="token function">sameTopic</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-topic.html">chatId</a> and topic <a href="same-topic.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-topic.html"><span class="token function">sameTopic</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-topic.html">chat</a> and topic <a href="same-topic.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-topic.html"><span class="token function">sameTopic</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 from the same chat and topic as <a href="same-topic.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>