Raw.MediaAreaWeather

Raw.MediaAreaWeather

Represents a weather widget.

mediaAreaWeather#49a6549c coordinates:MediaAreaCoordinates emoji:string temperature_c:double color:int = MediaArea;
export namespace Raw {
  export class MediaAreaWeather {
    constructor(params: {
      coordinates: Raw.TypeMediaAreaCoordinates;
      emoji: string;
      temperatureC: number;
      color: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 198
Constructor ID: 0x49a6549c

Property

  • coordinates : Raw.TypeMediaAreaCoordinates

    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 : number

    Temperature in degrees celsius.

  • color : number

    Argb background color.