toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.gifts
/
Gift
/
Limited
Limited
@
Serializable
data
class
Limited
(
val
id
:
GiftId
,
val
sticker
:
Sticker
,
val
starCount
:
Int
,
val
totalCount
:
Int
,
val
remainingCount
:
Int
)
:
Gift
Members
Constructors
Limited
Link copied to clipboard
constructor
(
id
:
GiftId
,
sticker
:
Sticker
,
starCount
:
Int
,
totalCount
:
Int
,
remainingCount
:
Int
)
Properties
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
open
override
val
id
:
GiftId
remaining
Count
Link copied to clipboard
@
SerialName
(
value
=
"remaining_count"
)
open
override
val
remainingCount
:
Int
star
Count
Link copied to clipboard
@
SerialName
(
value
=
"star_count"
)
open
override
val
starCount
:
Int
sticker
Link copied to clipboard
@
SerialName
(
value
=
"sticker"
)
open
override
val
sticker
:
Sticker
total
Count
Link copied to clipboard
@
SerialName
(
value
=
"total_count"
)
open
override
val
totalCount
:
Int