teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
ThemeSettings
Class ThemeSettings
Hierarchy (
View Summary
)
VirtualClass
<
{
accentColor
:
int
;
baseTheme
:
TypeBaseTheme
;
messageColors
?:
int
[]
;
messageColorsAnimated
?:
boolean
;
outboxAccentColor
?:
int
;
wallpaper
?:
TypeWallPaper
;
}
,
>
ThemeSettings
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
accent
Color
base
Theme
class
Name
class
Type
CONSTRUCTOR_
ID
message
Colors?
message
Colors
Animated?
original
Args
outbox
Accent
Color?
SUBCLASS_
OF_
ID
wallpaper?
Constructors
constructor
new
ThemeSettings
(
args
:
{
accentColor
:
number
;
baseTheme
:
TypeBaseTheme
;
messageColors
?:
number
[]
;
messageColorsAnimated
?:
boolean
;
outboxAccentColor
?:
number
;
wallpaper
?:
TypeWallPaper
;
}
,
)
:
ThemeSettings
Parameters
args
:
{
accentColor
:
number
;
baseTheme
:
TypeBaseTheme
;
messageColors
?:
number
[]
;
messageColorsAnimated
?:
boolean
;
outboxAccentColor
?:
number
;
wallpaper
?:
TypeWallPaper
;
}
Returns
ThemeSettings
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
ThemeSettings
Parameters
reader
:
any
Returns
ThemeSettings
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
accentColor
:
number
;
baseTheme
:
TypeBaseTheme
;
messageColors
?:
number
[]
;
messageColorsAnimated
?:
boolean
;
outboxAccentColor
?:
number
;
wallpaper
?:
TypeWallPaper
;
}
Returns
{
accentColor
:
number
;
baseTheme
:
TypeBaseTheme
;
messageColors
?:
number
[]
;
messageColorsAnimated
?:
boolean
;
outboxAccentColor
?:
number
;
wallpaper
?:
TypeWallPaper
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
accent
Color
accentColor
:
number
base
Theme
baseTheme
:
TypeBaseTheme
class
Name
className
:
"ThemeSettings"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
4200117972
Optional
message
Colors
messageColors
?:
number
[]
Optional
message
Colors
Animated
messageColorsAnimated
?:
boolean
original
Args
originalArgs
:
{
accentColor
:
number
;
baseTheme
:
TypeBaseTheme
;
messageColors
?:
number
[]
;
messageColorsAnimated
?:
boolean
;
outboxAccentColor
?:
number
;
wallpaper
?:
TypeWallPaper
;
}
Optional
outbox
Accent
Color
outboxAccentColor
?:
number
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2187750712
Optional
wallpaper
wallpaper
?:
TypeWallPaper
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
accent
Color
base
Theme
class
Name
class
Type
CONSTRUCTOR_
ID
message
Colors
message
Colors
Animated
original
Args
outbox
Accent
Color
SUBCLASS_
OF_
ID
wallpaper
GitHub
npm
Issues
teleproto - v1.229.0
Loading...