1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-16 13:23:47 +00:00

now user have correct serializer

This commit is contained in:
InsanusMokrassar 2020-01-23 19:31:09 +06:00
parent 46573512a2
commit 00886dcfb7

View File

@ -5,7 +5,7 @@ import kotlinx.serialization.*
import kotlinx.serialization.json.Json import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonObjectSerializer import kotlinx.serialization.json.JsonObjectSerializer
@Serializable @Serializable(UserSerializer::class)
sealed class User : PrivateChat sealed class User : PrivateChat
@Serializable @Serializable