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

nextMessageContainingOrNullAsync

fun <reified M : Message> ContactMessage.nextMessageContainingOrNullAsync(timeoutMillis: Long = -1, coroutineContext: CoroutineContext = EmptyCoroutineContext): Deferred<M?>