1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-26 03:28:10 +00:00
tgbotapi/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/games/Game.kt

19 lines
623 B
Kotlin
Raw Normal View History

2020-10-04 11:06:30 +00:00
package dev.inmo.tgbotapi.types.games
2018-12-26 08:07:24 +00:00
2021-05-29 09:34:14 +00:00
import dev.inmo.tgbotapi.CommonAbstracts.TextedInput
import dev.inmo.tgbotapi.CommonAbstracts.Titled
2022-05-01 14:36:07 +00:00
import dev.inmo.tgbotapi.types.message.textsources.TextSourcesList
2020-10-04 11:06:30 +00:00
import dev.inmo.tgbotapi.types.files.AnimationFile
import dev.inmo.tgbotapi.types.files.Photo
import kotlinx.serialization.Serializable
2018-12-26 08:07:24 +00:00
@Serializable
data class Game(
2019-08-17 16:48:18 +00:00
override val title: String,
2018-12-26 08:07:24 +00:00
val description: String,
val photo: Photo,
2021-04-26 15:25:52 +00:00
override val text: String? = null,
2021-04-27 10:08:36 +00:00
override val textSources: TextSourcesList = emptyList(),
2018-12-26 08:07:24 +00:00
val animation: AnimationFile? = null
2021-05-29 08:31:44 +00:00
) : Titled, TextedInput