Skip to content

GramIO API Reference / gramio/dist / UpgradeGiftParams

Interface: UpgradeGiftParams

Defined in: @gramio/types/out/params.d.ts:3101

Params object for upgradeGift method

Properties

PropertyTypeDescriptionDefined in
business_connection_idstringUnique identifier of the business connection@gramio/types/out/params.d.ts:3105
keep_original_details?booleanPass True to keep the original gift text, sender and receiver in the upgraded gift@gramio/types/out/params.d.ts:3113
owned_gift_idstringUnique identifier of the regular gift that should be upgraded to a unique one@gramio/types/out/params.d.ts:3109
star_count?numberThe amount of Telegram Stars that will be paid for the upgrade from the business account balance. If gift.prepaid_upgrade_star_count > 0, then pass 0, otherwise, the can_transfer_stars business bot right is required and gift.upgrade_star_count must be passed.@gramio/types/out/params.d.ts:3117