teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
StarGiftAuctionState
Class StarGiftAuctionState
Hierarchy (
View Summary
)
VirtualClass
<
{
bidLevels
:
TypeAuctionBidLevel
[]
;
currentRound
:
int
;
endDate
:
int
;
giftsLeft
:
int
;
lastGiftNum
:
int
;
minBidAmount
:
long
;
nextRoundAt
:
int
;
rounds
:
TypeStarGiftAuctionRound
[]
;
startDate
:
int
;
topBidders
:
long
[]
;
totalRounds
:
int
;
version
:
int
;
}
,
>
StarGiftAuctionState
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
bid
Levels
class
Name
class
Type
CONSTRUCTOR_
ID
current
Round
end
Date
gifts
Left
last
Gift
Num
min
Bid
Amount
next
Round
At
original
Args
rounds
start
Date
SUBCLASS_
OF_
ID
top
Bidders
total
Rounds
version
Constructors
constructor
new
StarGiftAuctionState
(
args
:
{
bidLevels
:
AuctionBidLevel
[]
;
currentRound
:
number
;
endDate
:
number
;
giftsLeft
:
number
;
lastGiftNum
:
number
;
minBidAmount
:
BigInteger
;
nextRoundAt
:
number
;
rounds
:
TypeStarGiftAuctionRound
[]
;
startDate
:
number
;
topBidders
:
BigInteger
[]
;
totalRounds
:
number
;
version
:
number
;
}
,
)
:
Api
.
StarGiftAuctionState
Parameters
args
:
{
bidLevels
:
AuctionBidLevel
[]
;
currentRound
:
number
;
endDate
:
number
;
giftsLeft
:
number
;
lastGiftNum
:
number
;
minBidAmount
:
BigInteger
;
nextRoundAt
:
number
;
rounds
:
TypeStarGiftAuctionRound
[]
;
startDate
:
number
;
topBidders
:
BigInteger
[]
;
totalRounds
:
number
;
version
:
number
;
}
Returns
Api
.
StarGiftAuctionState
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
Api
.
StarGiftAuctionState
Parameters
reader
:
any
Returns
Api
.
StarGiftAuctionState
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
()
:
{
bidLevels
:
AuctionBidLevel
[]
;
currentRound
:
number
;
endDate
:
number
;
giftsLeft
:
number
;
lastGiftNum
:
number
;
minBidAmount
:
BigInteger
;
nextRoundAt
:
number
;
rounds
:
TypeStarGiftAuctionRound
[]
;
startDate
:
number
;
topBidders
:
BigInteger
[]
;
totalRounds
:
number
;
version
:
number
;
}
Returns
{
bidLevels
:
AuctionBidLevel
[]
;
currentRound
:
number
;
endDate
:
number
;
giftsLeft
:
number
;
lastGiftNum
:
number
;
minBidAmount
:
BigInteger
;
nextRoundAt
:
number
;
rounds
:
TypeStarGiftAuctionRound
[]
;
startDate
:
number
;
topBidders
:
BigInteger
[]
;
totalRounds
:
number
;
version
:
number
;
}
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
bid
Levels
bidLevels
:
AuctionBidLevel
[]
class
Name
className
:
"StarGiftAuctionState"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1998212710
current
Round
currentRound
:
number
end
Date
endDate
:
number
gifts
Left
giftsLeft
:
number
last
Gift
Num
lastGiftNum
:
number
min
Bid
Amount
minBidAmount
:
BigInteger
next
Round
At
nextRoundAt
:
number
original
Args
originalArgs
:
{
bidLevels
:
AuctionBidLevel
[]
;
currentRound
:
number
;
endDate
:
number
;
giftsLeft
:
number
;
lastGiftNum
:
number
;
minBidAmount
:
BigInteger
;
nextRoundAt
:
number
;
rounds
:
TypeStarGiftAuctionRound
[]
;
startDate
:
number
;
topBidders
:
BigInteger
[]
;
totalRounds
:
number
;
version
:
number
;
}
rounds
rounds
:
TypeStarGiftAuctionRound
[]
start
Date
startDate
:
number
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
580130043
top
Bidders
topBidders
:
BigInteger
[]
total
Rounds
totalRounds
:
number
version
version
:
number
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
bid
Levels
class
Name
class
Type
CONSTRUCTOR_
ID
current
Round
end
Date
gifts
Left
last
Gift
Num
min
Bid
Amount
next
Round
At
original
Args
rounds
start
Date
SUBCLASS_
OF_
ID
top
Bidders
total
Rounds
version
GitHub
npm
Issues
teleproto - v1.229.0
Loading...