ObserveMessageByIdUseCase
class ObserveMessageByIdUseCase(messageRepository: MessageRepository, dispatchers: KaliumDispatcher = KaliumDispatcherImpl)
This use case will observe and return the Flow of Message for a specific ConversationId and messageId.
Constructors
Link copied to clipboard
internal constructor(messageRepository: MessageRepository, dispatchers: KaliumDispatcher = KaliumDispatcherImpl)
Functions
Link copied to clipboard
suspend operator fun invoke(conversationId: ConversationId, messageId: String): Flow<ObserveMessageByIdUseCase.Result>