peyk.platforms.telegram.types.user_chat_boosts

Classes

UserChatBoosts(boosts)

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

class peyk.platforms.telegram.types.user_chat_boosts.UserChatBoosts(boosts: List[ChatBoost])[source]

Bases: object

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

Variables:

boosts (List[peyk.platforms.telegram.types.chat_boost.ChatBoost]) – The list of boosts added to the chat by the user

boosts: List[ChatBoost]
classmethod from_dict(data: dict | None) UserChatBoosts | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.