buy_gift_upgrade


Description:

public async Ok buy_gift_upgrade (MessageSender owner_id, string prepaid_upgrade_hash, int64 star_count) throws TDLibError

Pays for upgrade of a regular gift that is owned by another user or channel chat

Parameters:

owner_id

Identifier of the user or the channel chat that owns the gift

prepaid_upgrade_hash

Prepaid upgrade hash as received along with the gift

star_count

The amount of Telegram Stars the user agreed to pay for the upgrade; must be equal to gift.upgrade_star_count