mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-10-25 09:10:07 +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-message.html"><span class="token function">sameMessage</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 ">messageId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-message-id/index.html">MessageId</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><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 (with id == <a href="same-message.html">chatId</a>) and <a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-message/message-id.html">this</a> equal <a href="same-message.html">messageId</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-message.html"><span class="token function">sameMessage</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 ">messageId<span class="token operator">: </span><a href="../../tgbotapi.core/dev.inmo.tgbotapi.types/-message-id/index.html">MessageId</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><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 <a href="same-message.html">chat</a> and <a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-message/message-id.html">this</a> equal <a href="same-message.html">messageId</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-message.html"><span class="token function">sameMessage</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><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 the same as <a href="same-message.html">other</a>. The same here means that these messages from one chat and have equal <a href="../../tgbotapi.core/dev.inmo.tgbotapi.types.message.abstracts/-message/message-id.html">Message.messageId</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