Interface EditUserStarSubscription

Cancels or re-enables Telegram Star subscription for a user; for bots only. Request type for Tdjson#editUserStarSubscription.

interface EditUserStarSubscription {
    @type: "editUserStarSubscription";
    is_canceled?: boolean;
    telegram_payment_charge_id: string;
    user_id: number;
}

Properties

@type: "editUserStarSubscription"
is_canceled?: boolean

Pass true to cancel the subscription; pass false to allow the user to enable it.

telegram_payment_charge_id: string

Telegram payment identifier of the subscription.

user_id: number

User identifier.