upgradeGift
Upgrade a regular Telegram gift into a unique gift by paying Telegram Stars from the business account balance. Requires the can_transfer_and_upgrade_gifts bot right and returns success on completion.
Instructions
Upgrades a given regular gift to a unique gift. Requires the can_transfer_and_upgrade_gifts business bot right. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| star_count | No | Amount of Telegram Stars that will be paid for the upgrade from the business account balance. If the gift cannot be upgraded directly, the upgrade will be performed as a transfer to the current user with an optional payment for the transfer. | |
| owned_gift_id | Yes | Unique identifier of the regular gift that should be upgraded to a unique one. | |
| keep_original_details | No | Pass True to keep the original gift text, sender, and receiver in the upgraded gift. | |
| business_connection_id | Yes | Unique identifier of the business connection on behalf of which the gift will be upgraded. |