teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
StarGiftCollection
Class StarGiftCollection
Hierarchy (
View Summary
)
VirtualClass
<
{
collectionId
:
int
;
giftsCount
:
int
;
hash
:
long
;
icon
?:
TypeDocument
;
title
:
string
;
}
,
>
StarGiftCollection
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
collection
Id
CONSTRUCTOR_
ID
gifts
Count
hash
icon?
original
Args
SUBCLASS_
OF_
ID
title
Constructors
constructor
new
StarGiftCollection
(
args
:
{
collectionId
:
number
;
giftsCount
:
number
;
hash
:
BigInteger
;
icon
?:
TypeDocument
;
title
:
string
;
}
,
)
:
StarGiftCollection
Parameters
args
:
{
collectionId
:
number
;
giftsCount
:
number
;
hash
:
BigInteger
;
icon
?:
TypeDocument
;
title
:
string
;
}
Returns
StarGiftCollection
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
StarGiftCollection
Parameters
reader
:
any
Returns
StarGiftCollection
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
()
:
{
collectionId
:
number
;
giftsCount
:
number
;
hash
:
BigInteger
;
icon
?:
TypeDocument
;
title
:
string
;
}
Returns
{
collectionId
:
number
;
giftsCount
:
number
;
hash
:
BigInteger
;
icon
?:
TypeDocument
;
title
:
string
;
}
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
:
"StarGiftCollection"
class
Type
classType
:
"constructor"
collection
Id
collectionId
:
number
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2641040304
gifts
Count
giftsCount
:
number
hash
hash
:
BigInteger
Optional
icon
icon
?:
TypeDocument
original
Args
originalArgs
:
{
collectionId
:
number
;
giftsCount
:
number
;
hash
:
BigInteger
;
icon
?:
TypeDocument
;
title
:
string
;
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1138805578
title
title
:
string
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
collection
Id
CONSTRUCTOR_
ID
gifts
Count
hash
icon
original
Args
SUBCLASS_
OF_
ID
title
GitHub
npm
Issues
teleproto - v1.229.0
Loading...