ChatBoost

data class ChatBoost(val boostId: String, val addDate: Int, val expirationDate: Int, val source: ChatBoostSource)(source)

ChatBoost

This object contains information about a chat boost.

(auto-generated)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(boostId: String, addDate: Int, expirationDate: Int, source: ChatBoostSource)

Properties

Link copied to clipboard
@SerialName(value = "add_date")
val addDate: Int

Point in time (Unix timestamp) when the chat was boosted

Link copied to clipboard
@SerialName(value = "boost_id")
val boostId: String

Unique identifier of the boost

Link copied to clipboard
@SerialName(value = "expiration_date")
val expirationDate: Int

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged

Link copied to clipboard

Source of the added boost