<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><spanclass="token punctuation">.</span><ahref="not-forum-message.html"><spanclass="token function">notForumMessage</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><pclass="paragraph">A predicate to test that message has not been sent in the forum. Use it as the <codeclass="lang-kotlin">initialFilter</code> parameter in behaviour builder triggers. E.g.</p><divclass="sample-container"><pre><codeclass="block lang-kotlin"theme="idea">onContentMessage(<br> initialFilter = Message::notForumMessage<br>) {<br> // The message here will not be from forum<br>}</code></pre><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">true if this <ahref="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a> is not from forum (<ahref="../dev.inmo.tgbotapi.utils.extensions/thread-id-or-null.html">threadIdOrNull</a> is not null). False otherwise.</p></span><h4class="">See also</h4><divclass="table"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="forum-message.html"><span>forum</span><wbr></wbr><span><span>Message</span></span></a></div></span></div><div></div></div></div></div></div></div>