Class TdApi.StoryAreaTypeWeather

Enclosing class:
TdApi

public static class TdApi.StoryAreaTypeWeather extends TdApi.StoryAreaType
An area with information about weather.
  • Field Details

    • temperature

      public double temperature
      Temperature, in degree Celsius.
    • emoji

      public String emoji
      Emoji representing the weather.
    • backgroundColor

      public int backgroundColor
      A color of the area background in the ARGB format.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • StoryAreaTypeWeather

      public StoryAreaTypeWeather()
      An area with information about weather.
    • StoryAreaTypeWeather

      public StoryAreaTypeWeather(double temperature, String emoji, int backgroundColor)
      An area with information about weather.
      Parameters:
      temperature - Temperature, in degree Celsius.
      emoji - Emoji representing the weather.
      backgroundColor - A color of the area background in the ARGB format.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR