class Tourmaline::ReactionCount
- Tourmaline::ReactionCount
- Reference
- Object
Overview
Represents a reaction added to a message along with the number of times it was added.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : Tourmaline::ReactionTypeCustomEmoji | Tourmaline::ReactionTypeEmoji, total_count : Int32 | Int64)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#total_count : Int32 | Int64
Number of times the reaction was added
-
#total_count=(total_count : Int32 | Int64)
Number of times the reaction was added
-
#type : Tourmaline::ReactionType
Type of the reaction
-
#type=(type : Tourmaline::ReactionType)
Type of the reaction
Constructor Detail
def self.new(type : Tourmaline::ReactionTypeCustomEmoji | Tourmaline::ReactionTypeEmoji, total_count : Int32 | Int64)
#