ktgbotapi
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ktgbotapi
tgbotapi.core
/
dev.inmo.tgbotapi.types.gifts
/
Gift
/
Unlimited
Unlimited
@
Serializable
data
class
Unlimited
(
val
id
:
GiftId
,
val
sticker
:
Sticker
,
val
starCount
:
Int
,
val
upgradeStarCount
:
Int
?
=
null
)
:
Gift
Members
Constructors
Unlimited
Link copied to clipboard
constructor
(
id
:
GiftId
,
sticker
:
Sticker
,
starCount
:
Int
,
upgradeStarCount
:
Int
?
=
null
)
Properties
id
Link copied to clipboard
@
SerialName
(
value
=
"id"
)
open
override
val
id
:
GiftId
remaining
Count
Link copied to clipboard
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
open
override
val
totalCount
:
Int
?
upgrade
Star
Count
Link copied to clipboard
@
SerialName
(
value
=
"upgrade_star_count"
)
open
override
val
upgradeStarCount
:
Int
?
=
null