teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
BotAppSettings
Class BotAppSettings
Hierarchy (
View Summary
)
VirtualClass
<
{
backgroundColor
?:
int
;
backgroundDarkColor
?:
int
;
headerColor
?:
int
;
headerDarkColor
?:
int
;
placeholderPath
?:
bytes
;
}
,
>
BotAppSettings
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
background
Color?
background
Dark
Color?
class
Name
class
Type
CONSTRUCTOR_
ID
header
Color?
header
Dark
Color?
original
Args
placeholder
Path?
SUBCLASS_
OF_
ID
Constructors
constructor
new
BotAppSettings
(
args
:
{
backgroundColor
?:
number
;
backgroundDarkColor
?:
number
;
headerColor
?:
number
;
headerDarkColor
?:
number
;
placeholderPath
?:
bytes
;
}
,
)
:
BotAppSettings
Parameters
args
:
{
backgroundColor
?:
number
;
backgroundDarkColor
?:
number
;
headerColor
?:
number
;
headerDarkColor
?:
number
;
placeholderPath
?:
bytes
;
}
Returns
BotAppSettings
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
BotAppSettings
Parameters
reader
:
any
Returns
BotAppSettings
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
()
:
{
backgroundColor
?:
number
;
backgroundDarkColor
?:
number
;
headerColor
?:
number
;
headerDarkColor
?:
number
;
placeholderPath
?:
bytes
;
}
Returns
{
backgroundColor
?:
number
;
backgroundDarkColor
?:
number
;
headerColor
?:
number
;
headerDarkColor
?:
number
;
placeholderPath
?:
bytes
;
}
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
Optional
background
Color
backgroundColor
?:
number
Optional
background
Dark
Color
backgroundDarkColor
?:
number
class
Name
className
:
"BotAppSettings"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3382384976
Optional
header
Color
headerColor
?:
number
Optional
header
Dark
Color
headerDarkColor
?:
number
original
Args
originalArgs
:
{
backgroundColor
?:
number
;
backgroundDarkColor
?:
number
;
headerColor
?:
number
;
headerDarkColor
?:
number
;
placeholderPath
?:
bytes
;
}
Optional
placeholder
Path
placeholderPath
?:
bytes
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
396255971
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
background
Color
background
Dark
Color
class
Name
class
Type
CONSTRUCTOR_
ID
header
Color
header
Dark
Color
original
Args
placeholder
Path
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...