public static class TdApi.GetCurrentWeather extends TdApi.Function<TdApi.CurrentWeather>
Returns CurrentWeather
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Location |
location
The location.
|
| Constructor and Description |
|---|
GetCurrentWeather()
Default constructor for a function, which returns the current weather in the given location.
|
GetCurrentWeather(TdApi.Location location)
Creates a function, which returns the current weather in the given location.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Location location
public static final int CONSTRUCTOR
public GetCurrentWeather()
Returns CurrentWeather
public GetCurrentWeather(TdApi.Location location)
Returns CurrentWeather
location - The location.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object