From 03d4d715c00225ac90c34f21dd4904c43b4dd818 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 29 Apr 2021 11:59:30 +0600 Subject: [PATCH] hotfix --- .../types/MessageEntity/textsources/TextSourceSerializer.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MessageEntity/textsources/TextSourceSerializer.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MessageEntity/textsources/TextSourceSerializer.kt index 719b51fe86..4af8f92fcd 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MessageEntity/textsources/TextSourceSerializer.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MessageEntity/textsources/TextSourceSerializer.kt @@ -29,7 +29,6 @@ private val baseSerializers: Map> = mapOf( "cashtag" to CashTagTextSource.serializer(), ) -@Serializer(TextSource::class) object TextSourceSerializer : TypedSerializer(TextSource::class, baseSerializers) { override fun include(type: String, serializer: KSerializer) { require(type !in baseSerializers.keys)