class Tourmaline::ReactionCount

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Tourmaline::ReactionTypeCustomEmoji | Tourmaline::ReactionTypeEmoji, total_count : Int32 | Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def total_count : Int32 | Int64 #

Number of times the reaction was added


[View source]
def total_count=(total_count : Int32 | Int64) #

Number of times the reaction was added


[View source]

Type of the reaction


[View source]
def type=(type : Tourmaline::ReactionType) #

Type of the reaction


[View source]