BackgroundTypeFill¶
Added in version 21.2.
- class telegram.BackgroundTypeFill(fill, dark_theme_dimming, *, api_kwargs=None)[source]¶
Bases:
telegram.BackgroundTypeThe 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
fillanddark_theme_dimmingare 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.