Layer 220
constructor
mediaAreaWeather#49a6549c coordinates:MediaAreaCoordinates emoji:string temperature_c:double color:int = MediaArea;

Parameters

Name Type Description
Coordinates MediaAreaCoordinates The size and location of the media area corresponding to the widget on top of the story media.
Emoji string Weather emoji, should be rendered as an animated emoji.
TemperatureC double Temperature in degrees Celsius.
Color int ARGB background color.

Returns

MediaArea

Gogram Example

// Creating MediaAreaWeather constructor
obj := &tg.MediaAreaWeather{
    Coordinates: &tg.MediaAreaCoordinates{},
    Emoji: "...",
    TemperatureC: 0.0,
    Color: 0,
}