mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.event
/
MessageSubscribersBuilder
/
sentByFriend
sent
By
Friend
fun
sentByFriend
(
onEvent
:
MessageListener
<
FriendMessageEvent
,
R
>
)
:
Ret
fun
sentByFriend
(
)
:
MessageSubscribersBuilder.ListeningFilter
<
M
,
Ret
,
R
,
RR
>
如果是好友发来的消息