ChatBackground¶
Added in version 21.2.
- class telegram.ChatBackground(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object represents a chat background.
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 (
telegram.BackgroundType) – Type of the background.