Skip to content

PremiumStatePaymentOption

Type · TDLib 1.8.67 · d1085f9c

Describes an option for buying or upgrading Telegram Premium for self

PremiumStatePaymentOption(
  payment_option: PremiumPaymentOption,
  is_current: Bool,
  is_upgrade: Bool,
  last_transaction_id: string
) → PremiumStatePaymentOption

payment_option

PremiumPaymentOption

Information about the payment option

is_current

Bool

True, if this is the currently used Telegram Premium subscription option

is_upgrade

Bool

True, if the payment option can be used to upgrade the existing Telegram Premium subscription

last_transaction_id

string

Identifier of the last in-store transaction for the currently used option