toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.boost
/
ChatBoostSource
/
Giveaway
Giveaway
@
Serializable
@
SerialName
(
value
=
"giveaway"
)
data
class
Giveaway
(
val
giveawayMessageId
:
Long
,
val
user
:
User
?
=
null
,
val
isUnclaimed
:
Boolean
?
=
null
,
val
prizeStarCount
:
Int
?
=
null
)
:
ChatBoostSource
Members
Constructors
Giveaway
Link copied to clipboard
constructor
(
giveawayMessageId
:
Long
,
user
:
User
?
=
null
,
isUnclaimed
:
Boolean
?
=
null
,
prizeStarCount
:
Int
?
=
null
)
Properties
giveaway
Message
Id
Link copied to clipboard
val
giveawayMessageId
:
Long
is
Unclaimed
Link copied to clipboard
val
isUnclaimed
:
Boolean
?
=
null
prize
Star
Count
Link copied to clipboard
val
prizeStarCount
:
Int
?
=
null
source
Link copied to clipboard
val
source
:
String
user
Link copied to clipboard
open
override
val
user
:
User
?
=
null