toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types
/
BackgroundFill
/
FreeformGradient
Freeform
Gradient
@
Serializable
data
class
FreeformGradient
(
val
colors
:
List
<
@
Serializable
(
with
=
IntRGB24HEXAColorSerializer::class
)
HEXAColor
>
)
:
BackgroundFill
Members
Constructors
Freeform
Gradient
Link copied to clipboard
constructor
(
colors
:
List
<
@
Serializable
(
with
=
IntRGB24HEXAColorSerializer::class
)
HEXAColor
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
colors
Link copied to clipboard
@
SerialName
(
value
=
"colors"
)
open
override
val
colors
:
List
<
@
Serializable
(
with
=
IntRGB24HEXAColorSerializer::class
)
HEXAColor
>
type
Link copied to clipboard
@
EncodeDefault
@
SerialName
(
value
=
"type"
)
open
override
val
type
:
String