ultra-telegram-framework
    Preparing search index...

    Interface UpgradeGiftParams

    interface UpgradeGiftParams {
        business_connection_id: string;
        keep_original_details?: boolean;
        owned_gift_id: string;
        star_count?: number;
    }
    Index

    Properties

    business_connection_id: string

    Unique identifier of the business connection

    keep_original_details?: boolean

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

    owned_gift_id: string

    Unique identifier of the regular gift that should be upgraded to a unique one

    star_count?: number

    The 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.