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:
parent
b843fd9188
commit
dc5d8afe32
@ -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 <init> (Ldev/inmo/tgbotapi/types/BackgroundType;)V
|
||||
public final fun component1 ()Ldev/inmo/tgbotapi/types/BackgroundType;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user