peyk.platforms.telegram.types.background_fill_solid

Classes

BackgroundFillSolid([type, color])

The background is filled using the selected color.

class peyk.platforms.telegram.types.background_fill_solid.BackgroundFillSolid(type: str = 'solid', color: int = 0)[source]

Bases: object

The background is filled using the selected color.

Variables:
  • type (str) – Type of the background fill, always ‘solid’

  • color (int) – The color of the background fill in the RGB24 format

type: str = 'solid'
color: int = 0
classmethod from_dict(data: dict | None) BackgroundFillSolid | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.