GetPaginatedFlowOfMessagesByConversationUseCase

class GetPaginatedFlowOfMessagesByConversationUseCase(dispatcher: <Error class: unknown class>, messageRepository: MessageRepository)

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

See also

PagingData
Message

Constructors

internal constructor(dispatcher: <Error class: unknown class>, messageRepository: MessageRepository)

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>, visibility: List<<Error class: unknown class>> = Message.Visibility.values().toList(), startingOffset: Long, pagingConfig: <Error class: unknown class>): <Error class: unknown class><<Error class: unknown class><<Error class: unknown class>>>