From 47efef062b1cb4e721d5a402d09f17ed38921c7f Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 21 Aug 2022 21:54:18 +0600 Subject: [PATCH] add ChatSettings --- posts/src/commonMain/kotlin/models/ChatConfig.kt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 posts/src/commonMain/kotlin/models/ChatConfig.kt diff --git a/posts/src/commonMain/kotlin/models/ChatConfig.kt b/posts/src/commonMain/kotlin/models/ChatConfig.kt new file mode 100644 index 0000000..d67331a --- /dev/null +++ b/posts/src/commonMain/kotlin/models/ChatConfig.kt @@ -0,0 +1,11 @@ +package dev.inmo.plaguposter.posts.models + +import dev.inmo.tgbotapi.types.ChatId +import kotlinx.serialization.Serializable + +@Serializable +data class ChatConfig( + val targetChatId: ChatId, + val sourceChatId: ChatId, + val cacheChatId: ChatId +)