teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
PeerColorCollectible
Class PeerColorCollectible
Hierarchy (
View Summary
)
VirtualClass
<
{
accentColor
:
int
;
backgroundEmojiId
:
long
;
collectibleId
:
long
;
colors
:
int
[]
;
darkAccentColor
?:
int
;
darkColors
?:
int
[]
;
giftEmojiId
:
long
;
}
,
>
PeerColorCollectible
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
background
Emoji
Id
class
Name
class
Type
collectible
Id
colors
CONSTRUCTOR_
ID
dark
Accent
Color?
dark
Colors?
gift
Emoji
Id
original
Args
SUBCLASS_
OF_
ID
Constructors
constructor
new
PeerColorCollectible
(
args
:
{
accentColor
:
number
;
backgroundEmojiId
:
BigInteger
;
collectibleId
:
BigInteger
;
colors
:
number
[]
;
darkAccentColor
?:
number
;
darkColors
?:
number
[]
;
giftEmojiId
:
BigInteger
;
}
,
)
:
PeerColorCollectible
Parameters
args
:
{
accentColor
:
number
;
backgroundEmojiId
:
BigInteger
;
collectibleId
:
BigInteger
;
colors
:
number
[]
;
darkAccentColor
?:
number
;
darkColors
?:
number
[]
;
giftEmojiId
:
BigInteger
;
}
Returns
PeerColorCollectible
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PeerColorCollectible
Parameters
reader
:
any
Returns
PeerColorCollectible
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
;
backgroundEmojiId
:
BigInteger
;
collectibleId
:
BigInteger
;
colors
:
number
[]
;
darkAccentColor
?:
number
;
darkColors
?:
number
[]
;
giftEmojiId
:
BigInteger
;
}
Returns
{
accentColor
:
number
;
backgroundEmojiId
:
BigInteger
;
collectibleId
:
BigInteger
;
colors
:
number
[]
;
darkAccentColor
?:
number
;
darkColors
?:
number
[]
;
giftEmojiId
:
BigInteger
;
}
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
background
Emoji
Id
backgroundEmojiId
:
BigInteger
class
Name
className
:
"PeerColorCollectible"
class
Type
classType
:
"constructor"
collectible
Id
collectibleId
:
BigInteger
colors
colors
:
number
[]
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3116393370
Optional
dark
Accent
Color
darkAccentColor
?:
number
Optional
dark
Colors
darkColors
?:
number
[]
gift
Emoji
Id
giftEmojiId
:
BigInteger
original
Args
originalArgs
:
{
accentColor
:
number
;
backgroundEmojiId
:
BigInteger
;
collectibleId
:
BigInteger
;
colors
:
number
[]
;
darkAccentColor
?:
number
;
darkColors
?:
number
[]
;
giftEmojiId
:
BigInteger
;
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
4068582527
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
background
Emoji
Id
class
Name
class
Type
collectible
Id
colors
CONSTRUCTOR_
ID
dark
Accent
Color
dark
Colors
gift
Emoji
Id
original
Args
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...