teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
help
PeerColors
Class PeerColors
Hierarchy (
View Summary
)
VirtualClass
<
{
colors
:
TypePeerColorOption
[]
;
hash
:
int
}
>
PeerColors
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
colors
CONSTRUCTOR_
ID
hash
original
Args
SUBCLASS_
OF_
ID
Constructors
constructor
new
PeerColors
(
args
:
{
colors
:
PeerColorOption
[]
;
hash
:
number
}
)
:
PeerColors
Parameters
args
:
{
colors
:
PeerColorOption
[]
;
hash
:
number
}
Returns
PeerColors
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PeerColors
Parameters
reader
:
any
Returns
PeerColors
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
()
:
{
colors
:
PeerColorOption
[]
;
hash
:
number
}
Returns
{
colors
:
PeerColorOption
[]
;
hash
:
number
}
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
class
Name
className
:
"help.PeerColors"
class
Type
classType
:
"constructor"
colors
colors
:
PeerColorOption
[]
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
16313608
hash
hash
:
number
original
Args
originalArgs
:
{
colors
:
PeerColorOption
[]
;
hash
:
number
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
239036211
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
class
Name
class
Type
colors
CONSTRUCTOR_
ID
hash
original
Args
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...