Data about the message about a regular gift that was sent or received.
Optional
beTrue, if the gift can be upgraded to a unique gift; for gifts received on behalf of business accounts only
Optional
contentText of the message that was added to the gift
Optional
convertNumber of Telegram Stars that can be claimed by the receiver instead of the gift; omitted if the gift cannot be converted to Telegram Stars
Optional
entitiesSpecial entities that appear in the text
Information about the regular gift
Optional
isTrue, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them
Optional
ownedUnique identifier of the gift for the bot; for gifts received on behalf of business accounts only
Optional
prepaidNumber of Telegram Stars that were paid by the sender for the ability to upgrade 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