2020-10-04 11:06:30 +00:00
|
|
|
package dev.inmo.tgbotapi.types.games
|
2018-12-26 08:07:24 +00:00
|
|
|
|
2022-05-01 16:13:40 +00:00
|
|
|
import dev.inmo.tgbotapi.abstracts.TextedInput
|
|
|
|
import dev.inmo.tgbotapi.abstracts.Titled
|
2024-01-07 13:38:22 +00:00
|
|
|
import dev.inmo.tgbotapi.types.ReplyInfo
|
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
|
2021-06-28 18:06:07 +00:00
|
|
|
import kotlinx.serialization.Serializable
|
2018-12-26 08:07:24 +00:00
|
|
|
|
2021-06-28 18:06:07 +00:00
|
|
|
@Serializable
|
2019-08-17 18:18:13 +00:00
|
|
|
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
|
2024-01-07 13:38:22 +00:00
|
|
|
) : Titled, TextedInput, ReplyInfo.External.ContentVariant
|