toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.boosts
/
ChatBoost
Chat
Boost
@
Serializable
data
class
ChatBoost
(
val
id
:
BoostId
,
val
addDate
:
TelegramDate
,
val
expirationDate
:
TelegramDate
,
val
source
:
ChatBoostSource
)
Members
Constructors
Chat
Boost
Link copied to clipboard
constructor
(
id
:
BoostId
,
addDate
:
TelegramDate
,
expirationDate
:
TelegramDate
,
source
:
ChatBoostSource
)
Properties
add
Date
Link copied to clipboard
@
SerialName
(
value
=
"add_date"
)
val
addDate
:
TelegramDate
expiration
Date
Link copied to clipboard
@
SerialName
(
value
=
"expiration_date"
)
val
expirationDate
:
TelegramDate
id
Link copied to clipboard
@
SerialName
(
value
=
"boost_id"
)
val
id
:
BoostId
source
Link copied to clipboard
@
SerialName
(
value
=
"source"
)
val
source
:
ChatBoostSource