Skip to content

class Tourmaline::UserChatBoosts
inherits Reference #

This object represents a list of boosts added to a chat by a user.

Included modules

JSON::Serializable

Constructors#

.new(pull : JSON::PullParser) #

View source

.new(boosts : Array(Tourmaline::ChatBoost) = [] of Tourmaline::ChatBoost) #

View source

Methods#

#boosts : Array(Tourmaline::ChatBoost) #

The list of boosts added to the chat by the user

View source

#boosts=(boosts : Array(Tourmaline::ChatBoost)) #

The list of boosts added to the chat by the user

View source