Data about the gift that can be sent by the bot.
Unique identifier of the gift
OptionalpublisherInformation about the chat that published the gift
OptionalremainingThe 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
OptionaltotalThe total number of the gifts of this type that can be sent; for limited gifts only
OptionalupgradeThe 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.
Optionaloptions: Omit<out parameters.
Returns True on success.
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.
The client that instantiated this