CreateGroupConversationUseCase

class CreateGroupConversationUseCase(conversationRepository: ConversationRepository, conversationGroupRepository: ConversationGroupRepository, syncManager: SyncManager, currentClientIdProvider: CurrentClientIdProvider, newGroupConversationSystemMessagesCreator: NewGroupConversationSystemMessagesCreator, refreshUsersWithoutMetadata: RefreshUsersWithoutMetadataUseCase)

Creates a group conversation. Will wait for sync to finish or fail if it is pending, and return one Result.

Constructors

Link copied to clipboard
internal constructor(conversationRepository: ConversationRepository, conversationGroupRepository: ConversationGroupRepository, syncManager: SyncManager, currentClientIdProvider: CurrentClientIdProvider, newGroupConversationSystemMessagesCreator: NewGroupConversationSystemMessagesCreator, refreshUsersWithoutMetadata: RefreshUsersWithoutMetadataUseCase)

Types

Link copied to clipboard
interface Result

Functions

Link copied to clipboard
suspend operator fun invoke(name: String, userIdList: List<<Error class: unknown class>>, options: <Error class: unknown class>): CreateGroupConversationUseCase.Result