mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.2 KiB
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
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];