mirai-core / net.mamoe.mirai.event / kotlinx.coroutines.CoroutineScope / subscribeGroupMessages

subscribeGroupMessages

fun <R> CoroutineScope.subscribeGroupMessages(coroutineContext: CoroutineContext = EmptyCoroutineContext, concurrencyKind: ConcurrencyKind = Listener.ConcurrencyKind.CONCURRENT, listeners: GroupMessageSubscribersBuilder.() -> R): R

订阅来自所有 Bot 的所有群消息事件

See Also

CoroutineScope.incoming