upgradeGift¶
Upgrades a regular gift
upgradeGift(
business_connection_id: string,
received_gift_id: string,
keep_original_details: Bool,
star_count: int53
) → UpgradeGiftResult
business_connection_id¶
string
Unique identifier of business connection on behalf of which to send the request; for bots only
received_gift_id¶
string
Identifier of the gift
keep_original_details¶
Bool
Pass true to keep the original gift text, sender and receiver in the upgraded gift
star_count¶
int53
The Telegram Star amount required to pay for the upgrade. If the gift has prepaid_upgrade_star_count > 0, then pass 0, otherwise, pass gift.upgrade_star_count