MadelineProtoDocs/docs/API_docs/constructors/mediaAreaSuggestedReaction.md
2024-05-01 14:53:46 +02:00

1.2 KiB

title description nav_exclude image
mediaAreaSuggestedReaction Represents a reaction bubble. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: mediaAreaSuggestedReaction

Back to constructors index

Represents a reaction bubble.

Attributes:

Name Type Required Description
dark Bool Optional Whether the reaction bubble has a dark background.
flipped Bool Optional Whether the reaction bubble is mirrored (see here » for more info).
coordinates MediaAreaCoordinates Yes The coordinates of the media area corresponding to the reaction button.
reaction Reaction Optional The reaction that should be sent when this area is clicked.

Type: MediaArea

Example:

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