StoryAreaTypeWeather¶
- class telegram.StoryAreaTypeWeather(temperature, emoji, background_color, *, api_kwargs=None)[source]¶
Bases:
telegram.StoryAreaType
Describes a story area containing weather information. Currently, a story can have up to
3
weather areas.Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
temperature
,emoji
andbackground_color
are equal.Available In
Added in version 22.1.
- Parameters:
temperature (
float
) – Temperature, in degree Celsius.background_color (
int
) – A color of the area background in theARGB
format.