teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
InputStorePaymentStarsGiveaway
Class InputStorePaymentStarsGiveaway
Hierarchy (
View Summary
)
VirtualClass
<
{
additionalPeers
?:
TypeInputPeer
[]
;
amount
:
long
;
boostPeer
:
TypeInputPeer
;
countriesIso2
?:
string
[]
;
currency
:
string
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
randomId
?:
long
;
stars
:
long
;
untilDate
:
int
;
users
:
int
;
winnersAreVisible
?:
boolean
;
}
,
>
InputStorePaymentStarsGiveaway
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
additional
Peers?
amount
boost
Peer
class
Name
class
Type
CONSTRUCTOR_
ID
countries
Iso2?
currency
only
New
Subscribers?
original
Args
prize
Description?
random
Id?
stars
SUBCLASS_
OF_
ID
until
Date
users
winners
Are
Visible?
Constructors
constructor
new
InputStorePaymentStarsGiveaway
(
args
:
{
additionalPeers
?:
TypeInputPeer
[]
;
amount
:
BigInteger
;
boostPeer
:
TypeInputPeer
;
countriesIso2
?:
string
[]
;
currency
:
string
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
randomId
?:
BigInteger
;
stars
:
BigInteger
;
untilDate
:
number
;
users
:
number
;
winnersAreVisible
?:
boolean
;
}
,
)
:
InputStorePaymentStarsGiveaway
Parameters
args
:
{
additionalPeers
?:
TypeInputPeer
[]
;
amount
:
BigInteger
;
boostPeer
:
TypeInputPeer
;
countriesIso2
?:
string
[]
;
currency
:
string
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
randomId
?:
BigInteger
;
stars
:
BigInteger
;
untilDate
:
number
;
users
:
number
;
winnersAreVisible
?:
boolean
;
}
Returns
InputStorePaymentStarsGiveaway
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
InputStorePaymentStarsGiveaway
Parameters
reader
:
any
Returns
InputStorePaymentStarsGiveaway
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
()
:
{
additionalPeers
?:
TypeInputPeer
[]
;
amount
:
BigInteger
;
boostPeer
:
TypeInputPeer
;
countriesIso2
?:
string
[]
;
currency
:
string
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
randomId
?:
BigInteger
;
stars
:
BigInteger
;
untilDate
:
number
;
users
:
number
;
winnersAreVisible
?:
boolean
;
}
Returns
{
additionalPeers
?:
TypeInputPeer
[]
;
amount
:
BigInteger
;
boostPeer
:
TypeInputPeer
;
countriesIso2
?:
string
[]
;
currency
:
string
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
randomId
?:
BigInteger
;
stars
:
BigInteger
;
untilDate
:
number
;
users
:
number
;
winnersAreVisible
?:
boolean
;
}
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
additional
Peers
additionalPeers
?:
TypeInputPeer
[]
amount
amount
:
BigInteger
boost
Peer
boostPeer
:
TypeInputPeer
class
Name
className
:
"InputStorePaymentStarsGiveaway"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1964968186
Optional
countries
Iso2
countriesIso2
?:
string
[]
currency
currency
:
string
Optional
only
New
Subscribers
onlyNewSubscribers
?:
boolean
original
Args
originalArgs
:
{
additionalPeers
?:
TypeInputPeer
[]
;
amount
:
BigInteger
;
boostPeer
:
TypeInputPeer
;
countriesIso2
?:
string
[]
;
currency
:
string
;
onlyNewSubscribers
?:
boolean
;
prizeDescription
?:
string
;
randomId
?:
BigInteger
;
stars
:
BigInteger
;
untilDate
:
number
;
users
:
number
;
winnersAreVisible
?:
boolean
;
}
Optional
prize
Description
prizeDescription
?:
string
Optional
random
Id
randomId
?:
BigInteger
stars
stars
:
BigInteger
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
3886290765
until
Date
untilDate
:
number
users
users
:
number
Optional
winners
Are
Visible
winnersAreVisible
?:
boolean
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
additional
Peers
amount
boost
Peer
class
Name
class
Type
CONSTRUCTOR_
ID
countries
Iso2
currency
only
New
Subscribers
original
Args
prize
Description
random
Id
stars
SUBCLASS_
OF_
ID
until
Date
users
winners
Are
Visible
GitHub
npm
Issues
teleproto - v1.229.0
Loading...