ConversationGroupRepositoryImpl

internal class ConversationGroupRepositoryImpl(mlsConversationRepository: MLSConversationRepository, joinExistingMLSConversation: JoinExistingMLSConversationUseCase, memberJoinEventHandler: MemberJoinEventHandler, memberLeaveEventHandler: MemberLeaveEventHandler, conversationMessageTimerEventHandler: ConversationMessageTimerEventHandler, conversationDAO: <Error class: unknown class>, conversationApi: <Error class: unknown class>, newConversationMembersRepository: NewConversationMembersRepository, userRepository: UserRepository, newGroupConversationSystemMessagesCreator: <Error class: unknown class><NewGroupConversationSystemMessagesCreator>, selfUserId: <Error class: unknown class>, teamIdProvider: SelfTeamIdProvider, legalHoldHandler: LegalHoldHandler, conversationMapper: ConversationMapper = MapperProvider.conversationMapper(selfUserId), eventMapper: EventMapper = MapperProvider.eventMapper(selfUserId), protocolInfoMapper: ProtocolInfoMapper = MapperProvider.protocolInfoMapper()) : ConversationGroupRepository

Constructors

Link copied to clipboard
constructor(mlsConversationRepository: MLSConversationRepository, joinExistingMLSConversation: JoinExistingMLSConversationUseCase, memberJoinEventHandler: MemberJoinEventHandler, memberLeaveEventHandler: MemberLeaveEventHandler, conversationMessageTimerEventHandler: ConversationMessageTimerEventHandler, conversationDAO: <Error class: unknown class>, conversationApi: <Error class: unknown class>, newConversationMembersRepository: NewConversationMembersRepository, userRepository: UserRepository, newGroupConversationSystemMessagesCreator: <Error class: unknown class><NewGroupConversationSystemMessagesCreator>, selfUserId: <Error class: unknown class>, teamIdProvider: SelfTeamIdProvider, legalHoldHandler: LegalHoldHandler, conversationMapper: ConversationMapper = MapperProvider.conversationMapper(selfUserId), eventMapper: EventMapper = MapperProvider.eventMapper(selfUserId), protocolInfoMapper: ProtocolInfoMapper = MapperProvider.protocolInfoMapper())

Functions

Link copied to clipboard
open suspend override fun addMembers(userIdList: List<<Error class: unknown class>>, conversationId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun addService(serviceId: <Error class: unknown class>, conversationId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun createGroupConversation(name: String?, usersList: List<<Error class: unknown class>>, options: <Error class: unknown class>): Either<CoreFailure, <Error class: unknown class>>
Link copied to clipboard
open suspend override fun deleteMember(userId: <Error class: unknown class>, conversationId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun fetchLimitedInfoViaInviteCode(code: String, key: String): Either<NetworkFailure, <Error class: unknown class>>
Link copied to clipboard
open suspend override fun generateGuestRoomLink(conversationId: <Error class: unknown class>, password: String?): Either<NetworkFailure, <Error class: unknown class>>
Link copied to clipboard
open suspend override fun joinViaInviteCode(code: String, key: String, uri: String?, password: String?): Either<NetworkFailure, <Error class: unknown class>>
Link copied to clipboard
open suspend override fun observeGuestRoomLink(conversationId: <Error class: unknown class>): <Error class: unknown class><Either<CoreFailure, <Error class: unknown class>?>>
Link copied to clipboard
open suspend override fun revokeGuestRoomLink(conversationId: <Error class: unknown class>): Either<NetworkFailure, Unit>
Link copied to clipboard
open suspend override fun updateGuestRoomLink(conversationId: <Error class: unknown class>, accountUrl: String): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun updateMessageTimer(conversationId: <Error class: unknown class>, messageTimer: Long?): Either<CoreFailure, Unit>