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.

Added in version 21.2.

Parameters:

type (telegram.BackgroundType) – Type of the background.

type[source]Âķ

Type of the background.

Type:

telegram.BackgroundType