mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-01-20 20:28:03 +00:00
deploy: c9f3d99cd7
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
5.0.0 </div>
|
||||
5.0.1 </div>
|
||||
<div class="pull-right d-flex">
|
||||
<div class="filter-section" id="filter-section">
|
||||
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":docs:dokkaHtml/commonMain">common</button>
|
||||
@@ -62,7 +62,7 @@
|
||||
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":docs:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><span class="token punctuation">.</span><a href="not-forum-message.html"><span class="token function">notForumMessage</span></a><span class="token punctuation">(</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">A predicate to test that message has not been sent in the forum. Use it as the <code class="lang-kotlin">initialFilter</code> parameter in behaviour builder triggers. E.g.</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">onContentMessage(<br> initialFilter = Message::notForumMessage<br>) {<br> // The message here will not be from forum<br>}</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph">true if this <a href="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a> is not from forum (<a href="../dev.inmo.tgbotapi.utils.extensions/thread-id-or-null.html">threadIdOrNull</a> is not null). False otherwise.</p></span><h4 class="">See also</h4><div data-togglable="See also"><div class="table" data-togglable="See also"><div class="table-row" data-filterable-current=":docs:dokkaHtml/commonMain" data-filterable-set=":docs:dokkaHtml/commonMain"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><a href="forum-message.html"><span>forum</span><wbr></wbr><span><span>Message</span></span></a></div></span></div><div></div></div></div></div></div></div></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span
|
||||
<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>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user