resolveOneOnOneConversationWithUser

abstract suspend fun resolveOneOnOneConversationWithUser(user: <Error class: unknown class>, invalidateCurrentKnownProtocols: Boolean): Either<CoreFailure, <Error class: unknown class>>

Resolves a one-on-one conversation with a user.

Return

Either a CoreFailure if there is an error or a ConversationId if the resolution is successful.

Parameters

user

The other user in the conversation.

invalidateCurrentKnownProtocols

Flag indicating whether to whether it should attempt refreshing the other user's list of supported protocols by fetching from remote. In case of failure, the local result will be used as a fallback.