main.com.sceyt.chatuikit.persistence.repositories.AttachmentsRepository.kt Maven / Gradle / Ivy
package com.sceyt.chatuikit.persistence.repositories
import com.sceyt.chat.models.attachment.Attachment
import com.sceyt.chat.models.link.LinkDetails
import com.sceyt.chatuikit.data.models.SceytResponse
import com.sceyt.chatuikit.data.models.messages.SceytUser
interface AttachmentsRepository {
suspend fun getPrevAttachments(
conversationId: Long, lastAttachmentId: Long, types: List
): SceytResponse, Map>>
suspend fun getNextAttachments(
conversationId: Long, lastAttachmentId: Long, types: List
): SceytResponse, Map>>
suspend fun getNearAttachments(
conversationId: Long, attachmentId: Long, types: List
): SceytResponse, Map>>
suspend fun getLinkPreviewData(link: String): SceytResponse
}