Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>MediaAreaSuggestedReaction_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class MediaAreaSuggestedReaction_
extends _MediaArea_
import { MediaAreaSuggestedReaction_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Represents a reaction bubble.

Constructors

new
MediaAreaSuggestedReaction_(params: { dark?: true; flipped?: true; coordinates: enums.MediaAreaCoordinates; reaction: enums.Reaction; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
coordinates: enums.MediaAreaCoordinates

The coordinates of the media area corresponding to the reaction button.

optional
dark: true

Whether the reaction bubble has a dark background.

optional
flipped: true

Whether the reaction bubble is mirrored (see here » for more info).

reaction: enums.Reaction

The reaction that should be sent when this area is clicked.

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc