resolveOneOnOneConversationWithUserId
abstract suspend fun resolveOneOnOneConversationWithUserId(userId: <Error class: unknown class>, invalidateCurrentKnownProtocols: Boolean): Either<CoreFailure, <Error class: unknown class>>
Resolves a one-on-one conversation with a user based on their userId.
Return
Either a CoreFailure if there is an error or a ConversationId if the resolution is successful.
Parameters
userId
The userId of 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.