mirror of
https://github.com/InsanusMokrassar/PlaguPoster.git
synced 2025-12-08 05:55:40 +00:00
complete publishing part
This commit is contained in:
@@ -2,5 +2,9 @@ package dev.inmo.plaguposter.posts.repo
|
||||
|
||||
import dev.inmo.micro_utils.repos.ReadCRUDRepo
|
||||
import dev.inmo.plaguposter.posts.models.*
|
||||
import dev.inmo.tgbotapi.types.ChatId
|
||||
import dev.inmo.tgbotapi.types.MessageIdentifier
|
||||
|
||||
interface ReadPostsRepo : ReadCRUDRepo<RegisteredPost, PostId>
|
||||
interface ReadPostsRepo : ReadCRUDRepo<RegisteredPost, PostId> {
|
||||
suspend fun getIdByChatAndMessage(chatId: ChatId, messageId: MessageIdentifier): PostId?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user