Skip to content

editUserStarSubscription

Function · TDLib 1.8.67 · d1085f9c

Cancels or re-enables Telegram Star subscription for a user; for bots only

editUserStarSubscription(
  user_id: int53,
  telegram_payment_charge_id: string,
  is_canceled: Bool
) → Ok

user_id

int53

User identifier

telegram_payment_charge_id

string

Telegram payment identifier of the subscription

is_canceled

Bool

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