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

Chat bacgrkoud became PublicChatEvent inheritor instead of CommonEvent

This commit is contained in:
InsanusMokrassar 2024-05-10 19:25:33 +06:00
parent b843fd9188
commit dc5d8afe32
2 changed files with 3 additions and 2 deletions

View File

@ -13541,7 +13541,7 @@ public final class dev/inmo/tgbotapi/types/chat/Chat$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer; 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 static final field Companion Ldev/inmo/tgbotapi/types/chat/ChatBackground$Companion;
public fun <init> (Ldev/inmo/tgbotapi/types/BackgroundType;)V public fun <init> (Ldev/inmo/tgbotapi/types/BackgroundType;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/BackgroundType; public final fun component1 ()Ldev/inmo/tgbotapi/types/BackgroundType;

View File

@ -2,6 +2,7 @@ package dev.inmo.tgbotapi.types.chat
import dev.inmo.tgbotapi.types.BackgroundType import dev.inmo.tgbotapi.types.BackgroundType
import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.CommonEvent 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 dev.inmo.tgbotapi.types.typeField
import kotlinx.serialization.SerialName import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
@ -10,4 +11,4 @@ import kotlinx.serialization.Serializable
data class ChatBackground( data class ChatBackground(
@SerialName(typeField) @SerialName(typeField)
val type: BackgroundType val type: BackgroundType
) : CommonEvent ) : PublicChatEvent