Skip to content

class Tourmaline::ReactionCount
inherits Reference #

Represents a reaction added to a message along with the number of times it was added.

Included modules

JSON::Serializable

Constructors#

.new(type, total_count) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#total_count : Int32 | Int64 #

Number of times the reaction was added

View source

#total_count=(total_count : Int32 | Int64) #

Number of times the reaction was added

View source

#type : Tourmaline::ReactionType #

Type of the reaction

View source

#type=(type : Tourmaline::ReactionType) #

Type of the reaction

View source