docs
Toggle table of contents
35.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
docs
docs
/
dev.inmo.tgbotapi.types.stories
/
StoryAreaType
/
Weather
Weather
@
Serializable
data
class
Weather
(
val
temperature
:
Double
,
val
emoji
:
String
,
val
backgroundColor
:
HEXAColor
)
:
StoryAreaType
(
source
)
Members
Constructors
Weather
Link copied to clipboard
constructor
(
temperature
:
Double
,
emoji
:
String
,
backgroundColor
:
HEXAColor
)
Types
Companion
Link copied to clipboard
object
Companion
:
StoryAreaType.Type
Properties
background
Color
Link copied to clipboard
@
SerialName
(
value
=
"background_color"
)
@
Serializable
(
with
=
LongRGBAFromHEXAColorSerializer::class
)
val
backgroundColor
:
HEXAColor
emoji
Link copied to clipboard
@
SerialName
(
value
=
"emoji"
)
val
emoji
:
String
temperature
Link copied to clipboard
@
SerialName
(
value
=
"temperature"
)
val
temperature
:
Double
type
Link copied to clipboard
@
EncodeDefault
open
override
val
type
:
StoryAreaType.Type