Class TdApi.StoryAreaTypeWeather
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.StoryAreaType
dev.voroby.springframework.telegram.client.TdApi.StoryAreaTypeWeather
- Enclosing class:
- TdApi
An area with information about weather.
-
Field Summary
Modifier and TypeFieldDescriptionint
A color of the area background in the ARGB format.static final int
Identifier uniquely determining type of the object.Emoji representing the weather.double
Temperature, in degree Celsius. -
Constructor Summary
ConstructorDescriptionAn area with information about weather.StoryAreaTypeWeather
(double temperature, String emoji, int backgroundColor) An area with information about 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. -
backgroundColor
public int backgroundColorA color of the area background in the ARGB format. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StoryAreaTypeWeather
public StoryAreaTypeWeather()An area with information about weather. -
StoryAreaTypeWeather
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-