class Tourmaline::ChatBoost
- Tourmaline::ChatBoost
- Reference
- Object
Overview
This object contains information about a chat boost.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(boost_id : String, add_date : Time, expiration_date : Time, source : Tourmaline::ChatBoostSourceGiftCode | Tourmaline::ChatBoostSourceGiveaway | Tourmaline::ChatBoostSourcePremium)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#add_date : Time
Point in time (Unix timestamp) when the chat was boosted
-
#add_date=(add_date : Time)
Point in time (Unix timestamp) when the chat was boosted
-
#boost_id : String
Unique identifier of the boost
-
#boost_id=(boost_id : String)
Unique identifier of the boost
-
#expiration_date : Time
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged
-
#expiration_date=(expiration_date : Time)
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged
-
#source : Tourmaline::ChatBoostSource
Source of the added boost
-
#source=(source : Tourmaline::ChatBoostSource)
Source of the added boost
Constructor Detail
Instance Method Detail
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged
Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged