BackgroundTypeFill¶
Added in version 21.2.
- class telegram.BackgroundTypeFill(fill, dark_theme_dimming, *, api_kwargs=None)[source]¶
Bases:
telegram.BackgroundType
The background is automatically filled based on the selected colors.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
fill
anddark_theme_dimming
are equal.Available In
Added in version 21.2.
- Parameters:
fill (
telegram.BackgroundFill
) – The background fill.dark_theme_dimming (
int
) – Dimming of the background in dark themes, as a percentage; 0-100
.