mirai-core / net.mamoe.mirai.event / MessageSubscribersBuilder / sentFrom

sentFrom

fun sentFrom(groupId: Long): ListeningFilter<M, Ret, R, RR>
fun sentFrom(group: Group): ListeningFilter<M, Ret, R, RR>

如果是来自这个群的消息

@PlannedRemoval("1.0.0") fun sentFrom(groupId: Long, onEvent: MessageListener<GroupMessage, R>): Ret
Deprecated: for binary compatibility