Class TdApi.CurrentWeather
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.CurrentWeather
- Enclosing class:
- TdApi
Describes the current weather.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Emoji representing the weather.double
Temperature, in degree Celsius. -
Constructor Summary
ConstructorDescriptionDescribes the current weather.CurrentWeather
(double temperature, String emoji) Describes the current weather. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
temperature
public double temperatureTemperature, in degree Celsius. -
emoji
Emoji representing the weather. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CurrentWeather
public CurrentWeather()Describes the current weather. -
CurrentWeather
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-