teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
MessageActionStarGiftPurchaseOffer
Class MessageActionStarGiftPurchaseOffer
Hierarchy (
View Summary
)
VirtualClass
<
{
accepted
?:
boolean
;
declined
?:
boolean
;
expiresAt
:
int
;
gift
:
TypeStarGift
;
price
:
TypeStarsAmount
;
}
,
>
MessageActionStarGiftPurchaseOffer
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
accepted?
class
Name
class
Type
CONSTRUCTOR_
ID
declined?
expires
At
gift
original
Args
price
SUBCLASS_
OF_
ID
Constructors
constructor
new
MessageActionStarGiftPurchaseOffer
(
args
:
{
accepted
?:
boolean
;
declined
?:
boolean
;
expiresAt
:
number
;
gift
:
TypeStarGift
;
price
:
TypeStarsAmount
;
}
,
)
:
MessageActionStarGiftPurchaseOffer
Parameters
args
:
{
accepted
?:
boolean
;
declined
?:
boolean
;
expiresAt
:
number
;
gift
:
TypeStarGift
;
price
:
TypeStarsAmount
;
}
Returns
MessageActionStarGiftPurchaseOffer
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
MessageActionStarGiftPurchaseOffer
Parameters
reader
:
any
Returns
MessageActionStarGiftPurchaseOffer
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
()
:
{
accepted
?:
boolean
;
declined
?:
boolean
;
expiresAt
:
number
;
gift
:
TypeStarGift
;
price
:
TypeStarsAmount
;
}
Returns
{
accepted
?:
boolean
;
declined
?:
boolean
;
expiresAt
:
number
;
gift
:
TypeStarGift
;
price
:
TypeStarsAmount
;
}
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
accepted
accepted
?:
boolean
class
Name
className
:
"MessageActionStarGiftPurchaseOffer"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2000845012
Optional
declined
declined
?:
boolean
expires
At
expiresAt
:
number
gift
gift
:
TypeStarGift
original
Args
originalArgs
:
{
accepted
?:
boolean
;
declined
?:
boolean
;
expiresAt
:
number
;
gift
:
TypeStarGift
;
price
:
TypeStarsAmount
;
}
price
price
:
TypeStarsAmount
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2256589094
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
accepted
class
Name
class
Type
CONSTRUCTOR_
ID
declined
expires
At
gift
original
Args
price
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...