BackgroundFillGradient¶
- class litegram.types.background_fill_gradient.BackgroundFillGradient(*, type: Literal['gradient'] = 'gradient', top_color: int, bottom_color: int, rotation_angle: int, **extra_data: Any)[source]¶
The background is a gradient fill.
Source: https://core.telegram.org/bots/api#backgroundfillgradient
- type: Literal['gradient']¶
Type of the background fill, always ‘gradient’