toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.boost
/
ChatBoostSource
Chat
Boost
Source
@
Serializable
sealed
class
ChatBoostSource
Inheritors
Premium
GiftCode
Giveaway
Members
Types
Gift
Code
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"gift_code"
)
data
class
GiftCode
(
val
user
:
User
)
:
ChatBoostSource
Giveaway
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"giveaway"
)
data
class
Giveaway
(
val
giveawayMessageId
:
Long
,
val
user
:
User
?
=
null
,
val
isUnclaimed
:
Boolean
?
=
null
,
val
prizeStarCount
:
Int
?
=
null
)
:
ChatBoostSource
Premium
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"premium"
)
data
class
Premium
(
val
user
:
User
)
:
ChatBoostSource
Properties
source
Link copied to clipboard
val
source
:
String
user
Link copied to clipboard
abstract
val
user
:
User
?