Data about the unique gift received and owned by a user or a chat.
Optional
beTrue, if the gift can be transferred to another owner; for gifts received on behalf of business accounts only
Information about the unique gift
Optional
isTrue, if the gift is displayed on the account's profile page; for gifts received on behalf of business accounts only
Optional
ownedUnique identifier of the gift for the bot; for gifts received on behalf of business accounts only
Date the gift was sent in Unix time
Sender of the gift if it is a known user
Optional
transferNumber of Telegram Stars that must be paid to transfer the gift; omitted if the bot cannot transfer the gift
Type of the gift, always “unique”
The client that instantiated this
Date the message was sent. It is always a positive number, representing a valid date
Return the timestamp message was sent, in milliseconds
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