BackgroundTypeChatTheme¶
Added in version 21.2.
- class telegram.BackgroundTypeChatTheme(theme_name, *, api_kwargs=None)[source]¶
Bases:
telegram.BackgroundType
The background is taken directly from a built-in chat theme.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
theme_name
is equal.Available In
Added in version 21.2.
- Parameters:
theme_name (
str
) – Name of the chat theme, which is usually an emoji.
- type[source]¶
Type of the background. Always
CHAT_THEME
.- Type: