JoinConversationViaCodeUseCase

class JoinConversationViaCodeUseCase(conversionsGroupRepository: ConversationGroupRepository, selfUserId: <Error class: unknown class>)

Use case for joining a conversation via a code invite code. the param can be obtained from the deep link

Parameters

code

The code of the conversation to join.

key

The key of the conversation to join.

domain

optional domain of the conversation to join.

Constructors

Link copied to clipboard
internal constructor(conversionsGroupRepository: ConversationGroupRepository, selfUserId: <Error class: unknown class>)

Types

Link copied to clipboard
interface Result

Functions

Link copied to clipboard
suspend operator fun invoke(code: String, key: String, domain: String?, password: String?): JoinConversationViaCodeUseCase.Result