toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.games
/
Game
Game
@
Serializable
data
class
Game
(
val
title
:
String
,
val
description
:
String
,
val
photo
:
PhotoFile
,
val
text
:
String
?
=
null
,
val
textSources
:
TextSourcesList
=
emptyList()
,
val
animation
:
AnimationFile
?
=
null
)
:
Titled
,
TextedInput
,
ReplyInfo.External.ContentVariant
Members
Constructors
Game
Link copied to clipboard
constructor
(
title
:
String
,
description
:
String
,
photo
:
PhotoFile
,
text
:
String
?
=
null
,
textSources
:
TextSourcesList
=
emptyList()
,
animation
:
AnimationFile
?
=
null
)
Properties
animation
Link copied to clipboard
val
animation
:
AnimationFile
?
=
null
description
Link copied to clipboard
val
description
:
String
photo
Link copied to clipboard
val
photo
:
PhotoFile
text
Link copied to clipboard
open
override
val
text
:
String
?
=
null
text
Sources
Link copied to clipboard
open
override
val
textSources
:
TextSourcesList
Full list of TextSources
title
Link copied to clipboard
open
override
val
title
:
String