fun <reified P : ContactMessage> P.nextMessageAsync(timeoutMillis: Long = -1, coroutineContext: CoroutineContext = EmptyCoroutineContext): Deferred<MessageChain>
TimeoutCancellationException
-
See Also
inline fun <reified P : ContactMessage> P.nextMessageAsync(timeoutMillis: Long = -1, coroutineContext: CoroutineContext = EmptyCoroutineContext, crossinline filter: suspend P.(P) -> Boolean): Deferred<MessageChain>
See Also