mirai-core / net.mamoe.mirai.event / subscribeTempMessages

subscribeTempMessages

@SinceMirai("0.35.0") fun <R> Bot.subscribeTempMessages(coroutineContext: CoroutineContext = EmptyCoroutineContext, concurrencyKind: ConcurrencyKind = Listener.ConcurrencyKind.CONCURRENT, listeners: TempMessageSubscribersBuilder.() -> R): R

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

See Also

CoroutineScope.incoming