class Hamilton::Types::StoryAreaTypeSuggestedReaction

Overview

Describes a story area pointing to a suggested reaction. Currently, a story can have up to 5 suggested reaction areas.

Included Modules

Defined in:

types/story_area_type.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def is_dark : Bool | Nil #

Pass True if the reaction area has a dark background.


def is_dark=(is_dark : Bool | Nil) #

Pass True if the reaction area has a dark background.


def is_flipped : Bool | Nil #

Pass True if reaction area corner is flipped.


def is_flipped=(is_flipped : Bool | Nil) #

Pass True if reaction area corner is flipped.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def reaction_type : Hamilton::Types::ReactionType #

Type of the reaction.


def reaction_type=(reaction_type : Hamilton::Types::ReactionType) #

Type of the reaction.


def type : String #

Type of the area, always "suggested_reaction".


def type=(type : String) #

Type of the area, always "suggested_reaction".