CheckConversationInviteCodeUseCase

class CheckConversationInviteCodeUseCase(conversationGroupRepository: ConversationGroupRepository, conversationRepository: ConversationRepository, selfUserId: <Error class: unknown class>)

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: <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?): CheckConversationInviteCodeUseCase.Result.Failure