mirai-core / net.mamoe.mirai.message / nextMessageOrNullAsync

nextMessageOrNullAsync

fun <reified P : ContactMessage> P.nextMessageOrNullAsync(timeoutMillis: Long = -1, coroutineContext: CoroutineContext = EmptyCoroutineContext): Deferred<MessageChain?>

See Also

nextMessageOrNull