OwnedGift¶
- class telegram.OwnedGift(type, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObject
This object describes a gift received and owned by a user or a chat. Currently, it can be one of:
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 22.1.