ChatBackground¶
Added in version 21.2.
- class telegram.ChatBackground(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
This 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
type
is equal.Available In
Added in version 21.2.
- Parameters:
type (
telegram.BackgroundType
) – Type of the background.