GetPaginatedFlowOfMessagesBySearchQueryAndConversationIdUseCase

class GetPaginatedFlowOfMessagesBySearchQueryAndConversationIdUseCase(dispatcher: KaliumDispatcher, messageRepository: MessageRepository)

This use case will observe and return a flow of paginated searched messages for a given conversation.

See also

PagingData

Constructors

internal constructor(dispatcher: KaliumDispatcher, messageRepository: MessageRepository)

Functions

Link copied to clipboard
suspend operator fun invoke(searchQuery: String, conversationId: ConversationId, startingOffset: Long, pagingConfig: PagingConfig): Flow<PagingData<Message.Standalone>>