Data about unique gift that was upgraded from a regular gift.
Backdrop of the gift
Colors of the backdrop
The color in the center of the backdrop in RGB format
The color on the edges of the backdrop in RGB format
The color to be applied to the symbol in RGB format
The color for the text on the backdrop in RGB format
Name of the backdrop
The number of unique gifts that receive this backdrop for every 1000 gifts upgraded
Human-readable name of the regular gift from which this unique gift was upgraded
Model of the gift
Name of the model
The number of unique gifts that receive this model for every 1000 gifts upgraded
The sticker that represents the unique gift
Unique name of the gift. This name can be used in https://t.me/nft/... links and story areas
Unique number of the upgraded gift among gifts upgraded from the same regular gift
OptionalpublisherInformation about the chat that published the gift
Symbol of the gift
Name of the model
The number of unique gifts that receive this model for every 1000 gifts upgraded
The sticker that represents the unique gift
The client that instantiated this
Protected_Protected_ProtectedPatches the current instance with new data
The data to patch the instance with
The patched data
Protected_ProtectedUpdates the current instance with new data and returns a clone of the updated instance
The data to update the instance with
A clone of the updated instance
Flatten an object. Any properties that are collections will get converted to an array of keys.
OptionalpropsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Optional. Specific properties to include/exclude, or rename.
Flattened object.
Returns the id instance Chat, User, ChatMember and other
The client that instantiated this