CheckConversationInviteCodeUseCase

class CheckConversationInviteCodeUseCase(conversationGroupRepository: ConversationGroupRepository, conversationRepository: ConversationRepository, selfUserId: UserId)

Checks if the conversation invite code is valid

Parameters

code

the invite code

key

the key of the conversation

domain

optional domain of the conversation

Constructors

Link copied to clipboard
internal constructor(conversationGroupRepository: ConversationGroupRepository, conversationRepository: ConversationRepository, selfUserId: UserId)

Types

Link copied to clipboard
sealed interface Result

Functions

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