UserChatBoosts

Added in version 20.8.

class telegram.UserChatBoosts(boosts, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This object represents a list of boosts added to a chat by a user.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their boosts are equal.

Added in version 20.8.

Parameters:

boosts (Sequence[telegram.ChatBoost]) – List of boosts added to the chat by the user.

boosts[source]

List of boosts added to the chat by the user.

Type:

tuple[telegram.ChatBoost]

classmethod de_json(data, bot=None)[source]

See telegram.TelegramObject.de_json().