Class TdApi.GetCurrentWeather

Enclosing class:
TdApi

public static class TdApi.GetCurrentWeather extends TdApi.Function<TdApi.CurrentWeather>
Returns the current weather in the given location.

Returns CurrentWeather

  • Field Details

    • location

      public TdApi.Location location
      The location.
    • CONSTRUCTOR

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

    • GetCurrentWeather

      public GetCurrentWeather()
      Default constructor for a function, which returns the current weather in the given location.

      Returns CurrentWeather

    • GetCurrentWeather

      public GetCurrentWeather(TdApi.Location location)
      Creates a function, which returns the current weather in the given location.

      Returns CurrentWeather

      Parameters:
      location - The location.
  • 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