forumMessage

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

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

Return

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

See also