Class TdApi.CurrentWeather

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.CurrentWeather
Enclosing class:
TdApi

public static class TdApi.CurrentWeather extends TdApi.Object
Describes the current weather.
  • Field Details

    • temperature

      public double temperature
      Temperature, in degree Celsius.
    • emoji

      public String emoji
      Emoji representing the weather.
    • CONSTRUCTOR

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

    • CurrentWeather

      public CurrentWeather()
      Describes the current weather.
    • CurrentWeather

      public CurrentWeather(double temperature, String emoji)
      Describes the current weather.
      Parameters:
      temperature - Temperature, in degree Celsius.
      emoji - Emoji representing the weather.
  • 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