upgrade_gift


Description:

public async UpgradeGiftResult upgrade_gift (string business_connection_id, string received_gift_id, bool keep_original_details, int64 star_count) throws TDLibError

Upgrades a regular gift

Parameters:

business_connection_id

Unique identifier of business connection on behalf of which to send the request; for bots only

received_gift_id

Identifier of the gift

keep_original_details

Pass true to keep the original gift text, sender and receiver in the upgraded gift

star_count

The amount of Telegram Stars required to pay for the upgrade. It the gift has prepaid_upgrade_star_count > 0, then pass 0, otherwise, pass gift.upgrade_star_count