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

subscribeTempMessages

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

订阅来自所有 Bot 的所有临时会话消息事件

See Also

CoroutineScope.incoming