ObserveMessageReactionsUseCase

Use case to observe the reactions on a message

Return

Flow> - Flow of MessageReactions List that should be shown to the user. That Flow emits everytime a reaction on the message is added/removed.

Parameters

reactionRepository

ReactionRepository for observing the selected message reactions.

Inheritors

Functions

Link copied to clipboard
abstract operator fun invoke(conversationId: ConversationId, messageId: String): Flow<List<MessageReaction>>