Package-level declarations
Types
Link copied to clipboard
interface ConversationCreationResult
Link copied to clipboard
Use case to create a channel.
Link copied to clipboard
interface CreateRegularGroupUseCase
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
internal class CreateRegularGroupUseCaseImpl(createGroupConversation: GroupConversationCreator) : CreateRegularGroupUseCase
Implementation of CreateRegularGroupUseCase.
Link copied to clipboard
interface GroupConversationCreator
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.
Link copied to clipboard
internal class GroupConversationCreatorImpl(conversationRepository: ConversationRepository, conversationGroupRepository: ConversationGroupRepository, syncManager: SyncManager, currentClientIdProvider: CurrentClientIdProvider, newGroupConversationSystemMessagesCreator: NewGroupConversationSystemMessagesCreator, refreshUsersWithoutMetadata: RefreshUsersWithoutMetadataUseCase) : GroupConversationCreator
Implementation of GroupConversationCreator.