mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.message
/
isContextIdenticalWith
is
Context
Identical
With
fun
MessageEvent
.
isContextIdenticalWith
(
another
:
MessageEvent
)
:
Boolean
判断两个
MessageEvent
的语境, 即
MessageEvent.sender
和
MessageEvent.subject
是否相同