update dependencies and add interactive mode for ratings

This commit is contained in:
2022-12-08 10:28:42 +06:00
parent 4024b040e0
commit 0dc459d5dc
5 changed files with 68 additions and 32 deletions

View File

@@ -10,4 +10,5 @@ import dev.inmo.tgbotapi.types.MessageIdentifier
interface ReadPostsRepo : ReadCRUDRepo<RegisteredPost, PostId> {
suspend fun getIdByChatAndMessage(chatId: IdChatIdentifier, messageId: MessageIdentifier): PostId?
suspend fun getPostCreationTime(postId: PostId): DateTime?
suspend fun getFirstMessageInfo(postId: PostId): PostContentInfo?
}