BackgroundFill¶
Added in version 21.2.
- class telegram.BackgroundFill(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
Base class for Telegram BackgroundFill Objects. It can be one of:
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
type
is equal.Added in version 21.2.
- Parameters:
type (
str
) – Type of the background fill. Can be one of:SOLID
,GRADIENT
orFREEFORM_GRADIENT
.
- type[source]¶
Type of the background fill. Can be one of:
SOLID
,GRADIENT
orFREEFORM_GRADIENT
.- Type: