GetRecentMessagesUseCase

class GetRecentMessagesUseCase(messageRepository: MessageRepository, slowSyncRepository: SlowSyncRepository)

Gets the recent messages from the conversation

Constructors

Link copied to clipboard
internal constructor(messageRepository: MessageRepository, slowSyncRepository: SlowSyncRepository)

Functions

Link copied to clipboard
suspend operator fun invoke(conversationId: <Error class: unknown class>, limit: Int = 100, offset: Int = 0, visibility: List<<Error class: unknown class>> = Message.Visibility.values().toList()): <Error class: unknown class><List<<Error class: unknown class>>>