ObserveMessageByIdUseCase

class ObserveMessageByIdUseCase(messageRepository: MessageRepository, dispatchers: <Error class: unknown class> = 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: <Error class: unknown class> = KaliumDispatcherImpl)

Types

Link copied to clipboard
interface Result

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>, messageId: String): <Error class: unknown class><ObserveMessageByIdUseCase.Result>