peyk.platforms.telegram.types.background_type_fill

Classes

BackgroundTypeFill([type, fill, ...])

The background is automatically filled based on the selected colors.

class peyk.platforms.telegram.types.background_type_fill.BackgroundTypeFill(type: str = 'fill', fill: BackgroundFillSolid | BackgroundFillGradient | BackgroundFillFreeformGradient | None = None, dark_theme_dimming: int = 0)[source]

Bases: object

The background is automatically filled based on the selected colors.

Variables:
type: str = 'fill'
fill: BackgroundFillSolid | BackgroundFillGradient | BackgroundFillFreeformGradient | None = None
dark_theme_dimming: int = 0
classmethod from_dict(data: dict | None) BackgroundTypeFill | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.