1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-15 05:09:30 +00:00

Chat bacgrkoud became PublicChatEvent inheritor instead of CommonEvent

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

View File

@@ -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