Layer 220
MediaAreaSuggestedReaction
Represents a reaction bubble.
constructor
mediaAreaSuggestedReaction#14455871 flags:# dark:flags.0?true flipped:flags.1?true coordinates:MediaAreaCoordinates reaction:Reaction = MediaArea;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Dark | flags.0?true | Whether the reaction bubble has a dark background. |
| Flipped | flags.1?true | Whether the reaction bubble is mirrored (see here for more info). |
| Coordinates | MediaAreaCoordinates | The coordinates of the media area corresponding to the reaction button. |
| Reaction | Reaction | The reaction that should be sent when this area is clicked. |
Returns
MediaAreaGogram Example
// Creating MediaAreaSuggestedReaction constructor obj := &tg.MediaAreaSuggestedReaction{ Coordinates: &tg.MediaAreaCoordinates{}, Reaction: &tg.Reaction{}, // Optional fields: // Dark: true, // Flipped: true, }