peyk.platforms.telegram.types.gifts

Classes

Gifts(gifts)

This object represent a list of gifts.

class peyk.platforms.telegram.types.gifts.Gifts(gifts: List[Gift])[source]

Bases: object

This object represent a list of gifts.

Variables:

gifts (List[peyk.platforms.telegram.types.gift.Gift]) – The list of gifts

gifts: List[Gift]
classmethod from_dict(data: dict | None) Gifts | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.