diff --git a/tgbotapi.core/api/tgbotapi.core.api b/tgbotapi.core/api/tgbotapi.core.api index 72a790f650..4b462227bb 100644 --- a/tgbotapi.core/api/tgbotapi.core.api +++ b/tgbotapi.core/api/tgbotapi.core.api @@ -13541,7 +13541,7 @@ public final class dev/inmo/tgbotapi/types/chat/Chat$Companion { public final fun serializer ()Lkotlinx/serialization/KSerializer; } -public final class dev/inmo/tgbotapi/types/chat/ChatBackground : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/CommonEvent { +public final class dev/inmo/tgbotapi/types/chat/ChatBackground : dev/inmo/tgbotapi/types/message/ChatEvents/abstracts/PublicChatEvent { public static final field Companion Ldev/inmo/tgbotapi/types/chat/ChatBackground$Companion; public fun (Ldev/inmo/tgbotapi/types/BackgroundType;)V public final fun component1 ()Ldev/inmo/tgbotapi/types/BackgroundType; diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatBackground.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatBackground.kt index 513cecbd52..f1ca6f65bc 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatBackground.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/chat/ChatBackground.kt @@ -2,6 +2,7 @@ package dev.inmo.tgbotapi.types.chat import dev.inmo.tgbotapi.types.BackgroundType import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.CommonEvent +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.PublicChatEvent import dev.inmo.tgbotapi.types.typeField import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @@ -10,4 +11,4 @@ import kotlinx.serialization.Serializable data class ChatBackground( @SerialName(typeField) val type: BackgroundType -) : CommonEvent +) : PublicChatEvent