Tourmaline::ChatBoost
Inherits JSON::Serializable < Reference < Object
This object contains information about a chat boost.
Constructors
new(boost_id : String, add_date : Time, expiration_date : Time, source : Tourmaline::ChatBoostSourceGiftCode | Tourmaline::ChatBoostSourceGiveaway | Tourmaline::ChatBoostSourcePremium)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
expiration_date
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged