io.github.dehuckakpyt.telegrambot.repository.callback.JpaCallbackContentRepository.kt Maven / Gradle / Ivy
package io.github.dehuckakpyt.telegrambot.repository.callback
import io.github.dehuckakpyt.telegrambot.model.callback.JpaCallbackContent
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.data.jpa.repository.JpaRepository
import java.util.*
/**
* Created on 02.01.2024.
*
*
* @author Denis Matytsin
*/
interface JpaCallbackContentRepository : JpaRepository {
fun findFirstByCallbackId(callbackId: UUID): JpaCallbackContent?
fun findByChatIdAndFromIdOrderByUpdateDateDesc(chatId: Long, fromId: Long, pageable: Pageable): Page
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy