GetMessageByIdUseCase

class GetMessageByIdUseCase(messageRepository: MessageRepository, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl)

Provides a way to get a full message using its ConversationId and message ID coordinates.

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): GetMessageByIdUseCase.Result