class
Hamilton::Types::ReactionCount
- Hamilton::Types::ReactionCount
- Reference
- Object
Overview
Represents a reaction added to a message along with the number of times it was added.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/reaction_count.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#total_count : Int32
Number of times the reaction was added.
-
#total_count=(total_count : Int32)
Number of times the reaction was added.
-
#type : Hamilton::Types::ReactionType
Type of the reaction.
-
#type=(type : Hamilton::Types::ReactionType)
Type of the reaction.