From 00886dcfb75ff193a5ac25ae6bc81dc786fc59ef Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 23 Jan 2020 19:31:09 +0600 Subject: [PATCH] now user have correct serializer --- .../com/github/insanusmokrassar/TelegramBotAPI/types/User.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/User.kt b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/User.kt index 4cd395f902..e19ca3aaca 100644 --- a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/User.kt +++ b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/User.kt @@ -5,7 +5,7 @@ import kotlinx.serialization.* import kotlinx.serialization.json.Json import kotlinx.serialization.json.JsonObjectSerializer -@Serializable +@Serializable(UserSerializer::class) sealed class User : PrivateChat @Serializable