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

nextMessageContainingAsync

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