class
Tourmaline::StoryAreaTypeSuggestedReaction
- Tourmaline::StoryAreaTypeSuggestedReaction
- Reference
- Object
Overview
Describes a story area pointing to a suggested reaction. Currently, a story can have up to 5 suggested reaction areas.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, reaction_type : Tourmaline::ReactionTypeCustomEmoji | Tourmaline::ReactionTypeEmoji | Tourmaline::ReactionTypePaid, is_dark : Bool | Nil = nil, is_flipped : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#is_dark=(is_dark : Bool | Nil)
Optional.
-
#is_dark? : Bool | Nil
Optional.
-
#is_flipped=(is_flipped : Bool | Nil)
Optional.
-
#is_flipped? : Bool | Nil
Optional.
-
#reaction_type : Tourmaline::ReactionType
Type of the reaction
-
#reaction_type=(reaction_type : Tourmaline::ReactionType)
Type of the reaction
-
#type : String
Type of the area, always "suggested_reaction"
-
#type=(type : String)
Type of the area, always "suggested_reaction"
Constructor Detail
def self.new(type : String, reaction_type : Tourmaline::ReactionTypeCustomEmoji | Tourmaline::ReactionTypeEmoji | Tourmaline::ReactionTypePaid, is_dark : Bool | Nil = nil, is_flipped : Bool | Nil = nil)
#