LeaveConversationUseCaseImpl

internal class LeaveConversationUseCaseImpl(conversationGroupRepository: ConversationGroupRepository, selfUserId: UserId) : LeaveConversationUseCase

Constructors

Link copied to clipboard
constructor(conversationGroupRepository: ConversationGroupRepository, selfUserId: UserId)

Functions

Link copied to clipboard
open suspend operator override fun invoke(conversationId: ConversationId): RemoveMemberFromConversationUseCase.Result

This use case will allow the self user to leave a given group conversation while still keeping the mentioned conversation in the DB.