mirai-core / net.mamoe.mirai.message.data / Message / contentEquals

contentEquals

@SinceMirai("0.38.0") open fun contentEquals(another: Message, ignoreCase: Boolean = false): Boolean

判断内容是否与 another 相等.

若本函数返回 true, 则表明:

//Unresolved: net.mamoe.mirai.message.data.ContentEqualsTest
@SinceMirai("0.38.0") open fun contentEquals(another: String, ignoreCase: Boolean = false): Boolean

判断内容是否与 another 相等.

若本函数返回 true, 则表明:

//Unresolved: net.mamoe.mirai.message.data.ContentEqualsTest