Skip to content

class Tourmaline::ChatBoost
inherits Reference #

This object contains information about a chat boost.

Included modules

JSON::Serializable

Constructors#

.new(boost_id, add_date, expiration_date, source) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#add_date : Time #

View source

#add_date=(add_date : Time) #

View source

#boost_id : String #

Unique identifier of the boost

View source

#boost_id=(boost_id : String) #

Unique identifier of the boost

View source

#expiration_date : Time #

View source

#expiration_date=(expiration_date : Time) #

View source

#source : Tourmaline::ChatBoostSource #

Source of the added boost

View source

#source=(source : Tourmaline::ChatBoostSource) #

Source of the added boost

View source