GroupConversationCreator

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

Creates a conversation. Can be used to create a group conversation or a channel. Will wait for sync to finish or fail if it is pending, and return one ConversationCreationResult.

Constructors

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

Functions

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