GetPaginatedFlowOfAssetMessageByConversationIdUseCase

class GetPaginatedFlowOfAssetMessageByConversationIdUseCase(dispatcher: KaliumDispatcher, messageRepository: MessageRepository)

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

See also

PagingData

Constructors

internal constructor(dispatcher: KaliumDispatcher, messageRepository: MessageRepository)

Functions

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