Skip to content

class Tourmaline::ChatBoostSourcePremium
inherits Reference #

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

Included modules

JSON::Serializable

Constructors#

.new(source, user) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#source : String #

Source of the boost, always "premium"

View source

#source=(source : String) #

Source of the boost, always "premium"

View source

#user : Tourmaline::User #

User that boosted the chat

View source

#user=(user : Tourmaline::User) #

User that boosted the chat

View source