Data about the message about a unique gift that was sent or received.
Information about the gift
Origin of the gift. Currently, either “upgrade” or “transfer”
Optional
ownedUnique identifier of the received gift for the bot; only present for gifts received on behalf of business accounts
Optional
transferNumber of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift
The client that instantiated this
Protected
_cloneProtected
_patchProtected
_updateFlatten an object. Any properties that are collections will get converted to an array of keys.
Optional
propsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Optional. Specific properties to include/exclude, or rename.
Flattened object.
The client that instantiated this