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