notForumMessage

A predicate to test that message has not been sent in the forum. Use it as the initialFilter parameter in behaviour builder triggers. E.g.

onContentMessage(
initialFilter = Message::notForumMessage
) {
// The message here will not be from forum
}

Return

true if this Message is not from forum (threadIdOrNull is not null). False otherwise.

See also