IsSelfUserViewerOnConversationUseCase

class IsSelfUserViewerOnConversationUseCase(conversationRepository: ConversationRepository, selfTeamIdProvider: SelfTeamIdProvider, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Use case to check whether the self user has viewer access to a drive conversation.

Return

Booleantrue if the self user has viewer access, false otherwise.

Constructors

Link copied to clipboard
internal constructor(conversationRepository: ConversationRepository, selfTeamIdProvider: SelfTeamIdProvider, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>): Boolean