BackgroundType¶
Added in version 21.2.
- class telegram.BackgroundType(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectBase class for Telegram BackgroundType 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
typeis equal.Available In
Added in version 21.2.
- Parameters:
type (
str) – Type of the background. Can be one of:FILL,WALLPAPERPATTERNorCHAT_THEME.