belongsTo

open fun belongsTo(message: BaseMessage): Boolean

Verify that the given channel information matches the current query filter.

Return

whether the message isn't matched with the filter.

Since

3.0.167

Parameters

message

BaseMessage to check. Returns false if the message is not matched with the params's filter.


Verify that the given BaseMessageCreateParams information matches the current query filter.

Return

whether the message isn't matched with the filter.

Since

3.0.173

Parameters

params

BaseMessageCreateParams to check. Returns false if the BaseMessageCreateParams is not matched with the current params's filter.