Data about the gift that can be sent by the bot.
Unique identifier of the gift
Optional
remainingThe number of remaining gifts of this type that can be sent; for limited gifts only
The number of Telegram Stars that must be paid to send the sticker
The sticker that represents the gift
Optional
totalThe total number of the gifts of this type that can be sent; for limited gifts only
Optional
upgradeThe number of Telegram Stars that must be paid to upgrade the gift to a unique one
The client that instantiated this
Protected
_cloneProtected
_patchProtected
_updateSends a gift to the given user. The gift can't be converted to Telegram Stars by the user.
Unique identifier of the target user that will receive the gift.
Optional
options: Omit<out parameters.
Returns True on success.
Flatten 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