teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
InputInvoiceStarGift
Class InputInvoiceStarGift
Hierarchy (
View Summary
)
VirtualClass
<
{
giftId
:
long
;
hideName
?:
boolean
;
includeUpgrade
?:
boolean
;
message
?:
TypeTextWithEntities
;
peer
:
TypeInputPeer
;
}
,
>
InputInvoiceStarGift
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
CONSTRUCTOR_
ID
gift
Id
hide
Name?
include
Upgrade?
message?
original
Args
peer
SUBCLASS_
OF_
ID
Constructors
constructor
new
InputInvoiceStarGift
(
args
:
{
giftId
:
BigInteger
;
hideName
?:
boolean
;
includeUpgrade
?:
boolean
;
message
?:
TextWithEntities
;
peer
:
TypeInputPeer
;
}
,
)
:
InputInvoiceStarGift
Parameters
args
:
{
giftId
:
BigInteger
;
hideName
?:
boolean
;
includeUpgrade
?:
boolean
;
message
?:
TextWithEntities
;
peer
:
TypeInputPeer
;
}
Returns
InputInvoiceStarGift
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
InputInvoiceStarGift
Parameters
reader
:
any
Returns
InputInvoiceStarGift
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
()
:
{
giftId
:
BigInteger
;
hideName
?:
boolean
;
includeUpgrade
?:
boolean
;
message
?:
TextWithEntities
;
peer
:
TypeInputPeer
;
}
Returns
{
giftId
:
BigInteger
;
hideName
?:
boolean
;
includeUpgrade
?:
boolean
;
message
?:
TextWithEntities
;
peer
:
TypeInputPeer
;
}
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
:
"InputInvoiceStarGift"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3898760850
gift
Id
giftId
:
BigInteger
Optional
hide
Name
hideName
?:
boolean
Optional
include
Upgrade
includeUpgrade
?:
boolean
Optional
message
message
?:
TextWithEntities
original
Args
originalArgs
:
{
giftId
:
BigInteger
;
hideName
?:
boolean
;
includeUpgrade
?:
boolean
;
message
?:
TextWithEntities
;
peer
:
TypeInputPeer
;
}
peer
peer
:
TypeInputPeer
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1919851518
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
CONSTRUCTOR_
ID
gift
Id
hide
Name
include
Upgrade
message
original
Args
peer
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...