invoke

open suspend operator override fun invoke(otherUserId: <Error class: unknown class>): CreateConversationResult

The use case operation operation params and return type.

Return

Result with Conversation in case of success, or CoreFailure if something went wrong: can't get data from local DB, or can't create a conversation.

Parameters

otherUserId

UserId private conversation with which we are interested in.