Link Search Menu Expand Document

Constructor: mediaAreaSuggestedReaction

Back to constructors index

Represents a reaction bubble.

Attributes:

NameTypeRequiredDescription
darkBoolOptionalWhether the reaction bubble has a dark background.
flippedBoolOptionalWhether the reaction bubble is mirrored (see here » for more info).
coordinatesMediaAreaCoordinatesYesThe coordinates of the media area corresponding to the reaction button.
reactionReactionOptionalThe reaction that should be sent when this area is clicked.

Type: MediaArea

Example:

$mediaAreaSuggestedReaction = ['_' => 'mediaAreaSuggestedReaction', 'dark' => Bool, 'flipped' => Bool, 'coordinates' => MediaAreaCoordinates, 'reaction' => Reaction];