PromoteAdminAndLeaveConversationUseCase

Types

Link copied to clipboard
sealed interface Result

Functions

Link copied to clipboard
abstract suspend operator fun invoke(conversationId: <Error class: unknown class>, userId: <Error class: unknown class>): PromoteAdminAndLeaveConversationUseCase.Result

Promotes the given userId to admin role in conversationId, then removes the self user from that conversation.