class Tourmaline::ChatBoostRemoved
- Tourmaline::ChatBoostRemoved
- Reference
- Object
Overview
This object represents a boost removed from a chat.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(chat : Tourmaline::Chat, boost_id : String, remove_date : Time, source : Tourmaline::ChatBoostSourceGiftCode | Tourmaline::ChatBoostSourceGiveaway | Tourmaline::ChatBoostSourcePremium)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#boost_id : String
Unique identifier of the boost
-
#boost_id=(boost_id : String)
Unique identifier of the boost
-
#chat : Tourmaline::Chat
Chat which was boosted
-
#chat=(chat : Tourmaline::Chat)
Chat which was boosted
- #remove_date : Time
- #remove_date=(remove_date : Time)
-
#source : Tourmaline::ChatBoostSource
Source of the removed boost
-
#source=(source : Tourmaline::ChatBoostSource)
Source of the removed boost
Constructor Detail
def self.new(chat : Tourmaline::Chat, boost_id : String, remove_date : Time, source : Tourmaline::ChatBoostSourceGiftCode | Tourmaline::ChatBoostSourceGiveaway | Tourmaline::ChatBoostSourcePremium)
#