Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class CreateChannelUseCase(createGroupConversation: GroupConversationCreator)

Use case to create a channel.

Link copied to clipboard
class CreateRegularGroupUseCase(createGroupConversation: GroupConversationCreator)

Use case to create a regular group conversation. This is a wrapper around GroupConversationCreator that sets the group type to ConversationOptions.GroupType.REGULAR_GROUP.

Link copied to clipboard
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.