telegramx.js

EditUserStarSubscriptionParams

interface

Declaration

interface EditUserStarSubscriptionParams 

Properties

is_canceledproperty#
is_canceled: boolean;

Pass True to cancel extension of the user subscription; the subscription must be active up to the end of the current subscription period. Pass False to allow the user to re-enable a subscription that was previously canceled by the bot.

telegram_payment_charge_id: string;

Telegram payment identifier for the subscription

user_idproperty#
user_id: number;

Identifier of the user whose subscription will be edited