CheckConversationLeaveConditionsUseCase
interface CheckConversationLeaveConditionsUseCase
Checks whether the self user is allowed to leave the given group conversation.
Returns Result.Allow when leaving is safe, Result.DoNotAllow when self is the sole admin and other members remain (with Result.DoNotAllow.eligibleUsersAvailable indicating whether any of them can be promoted), or Result.Error on a storage failure.
Inheritors
Functions
Link copied to clipboard
abstract suspend operator fun invoke(conversationId: <Error class: unknown class>): CheckConversationLeaveConditionsUseCase.Result