teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
MessageActionGiftPremium
Class MessageActionGiftPremium
Hierarchy (
View Summary
)
VirtualClass
<
{
amount
:
long
;
cryptoAmount
?:
long
;
cryptoCurrency
?:
string
;
currency
:
string
;
days
:
int
;
message
?:
TypeTextWithEntities
;
}
,
>
MessageActionGiftPremium
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
amount
class
Name
class
Type
CONSTRUCTOR_
ID
crypto
Amount?
crypto
Currency?
currency
days
message?
original
Args
SUBCLASS_
OF_
ID
Constructors
constructor
new
MessageActionGiftPremium
(
args
:
{
amount
:
BigInteger
;
cryptoAmount
?:
BigInteger
;
cryptoCurrency
?:
string
;
currency
:
string
;
days
:
number
;
message
?:
TextWithEntities
;
}
,
)
:
MessageActionGiftPremium
Parameters
args
:
{
amount
:
BigInteger
;
cryptoAmount
?:
BigInteger
;
cryptoCurrency
?:
string
;
currency
:
string
;
days
:
number
;
message
?:
TextWithEntities
;
}
Returns
MessageActionGiftPremium
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
MessageActionGiftPremium
Parameters
reader
:
any
Returns
MessageActionGiftPremium
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
()
:
{
amount
:
BigInteger
;
cryptoAmount
?:
BigInteger
;
cryptoCurrency
?:
string
;
currency
:
string
;
days
:
number
;
message
?:
TextWithEntities
;
}
Returns
{
amount
:
BigInteger
;
cryptoAmount
?:
BigInteger
;
cryptoCurrency
?:
string
;
currency
:
string
;
days
:
number
;
message
?:
TextWithEntities
;
}
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
amount
amount
:
BigInteger
class
Name
className
:
"MessageActionGiftPremium"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1223234306
Optional
crypto
Amount
cryptoAmount
?:
BigInteger
Optional
crypto
Currency
cryptoCurrency
?:
string
currency
currency
:
string
days
days
:
number
Optional
message
message
?:
TextWithEntities
original
Args
originalArgs
:
{
amount
:
BigInteger
;
cryptoAmount
?:
BigInteger
;
cryptoCurrency
?:
string
;
currency
:
string
;
days
:
number
;
message
?:
TextWithEntities
;
}
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
amount
class
Name
class
Type
CONSTRUCTOR_
ID
crypto
Amount
crypto
Currency
currency
days
message
original
Args
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...