NewGroupConversationSystemMessagesCreatorImpl

Constructors

constructor(persistMessage: PersistMessageUseCase, selfTeamIdProvider: SelfTeamIdProvider, qualifiedIdMapper: QualifiedIdMapper, selfUserId: UserId)

Functions

Link copied to clipboard
open suspend override fun conversationAppsAccessIfEnabled(eventId: String = LocalId.generate(), conversationId: ConversationId, hasAppsAccessEnabled: Boolean, creatorId: UserId, type: ConversationResponse.Type): Either<CoreFailure, Unit>
open suspend override fun conversationAppsAccessIfEnabled(eventId: String = LocalId.generate(), conversationId: ConversationId, hasAppsAccessEnabled: Boolean, creatorId: UserId, type: ConversationEntity.Type): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun conversationCellAccessStatus(conversationId: ConversationId, conversationTeamId: String?, isCellEnabled: Boolean, instant: Instant = Clock.System.now()): Either<CoreFailure, Unit>

Creates the system message telling the self user which access they have to the Shared Drive of the conversation.

Link copied to clipboard
open suspend override fun conversationCellStatus(conversation: ConversationEntity): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun conversationFailedToAddMembers(conversationId: ConversationId, userIdList: List<UserId>, type: MessageContent.MemberChange.FailedToAdd.Type): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun conversationReadReceiptStatus(conversation: Conversation): Either<CoreFailure, Unit>
open suspend override fun conversationReadReceiptStatus(conversation: ConversationResponse, instant: Instant): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun conversationResolvedMembersAdded(conversationId: ConversationIDEntity, validUsers: List<UserId>, instant: Instant = Clock.System.now()): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun conversationStarted(conversation: ConversationEntity): Either<CoreFailure, Unit>
open suspend override fun conversationStarted(creatorId: UserId, conversation: ConversationResponse, instant: Instant): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun conversationStartedUnverifiedWarning(conversationId: ConversationId, instant: Instant = Clock.System.now()): Either<CoreFailure, Unit>