mediaAreaWeather
Represents a weather widget ».
type tg.MediaAreaWeather struct { /* ... */ }
Implements MediaArea.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Coordinates | MediaAreaCoordinates | yes | The size and location of the media area corresponding to the widget on top of the story media. |
Emoji | string | yes | Weather emoji, should be rendered as an animated emoji. |
TemperatureC | float64 | yes | Temperature in degrees Celsius. |
Color | int | yes | ARGB background color. |
References
- Official documentation
- Generated Go reference
- TL definition:
mediaAreaWeather#49a6549c