Skip to main content

mediaAreaWeather

Represents a weather widget ».

type tg.MediaAreaWeather struct { /* ... */ }

Implements MediaArea.

Fields

NameTypeRequiredDescription
CoordinatesMediaAreaCoordinatesyesThe size and location of the media area corresponding to the widget on top of the story media.
EmojistringyesWeather emoji, should be rendered as an animated emoji.
TemperatureCfloat64yesTemperature in degrees Celsius.
ColorintyesARGB background color.

References