Raw.InputStorePaymentPremiumSubscription

Raw.InputStorePaymentPremiumSubscription

Info about a telegram premium purchase

inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose;
export namespace Raw {
  export class InputStorePaymentPremiumSubscription {
    constructor(params: { restore?: boolean; upgrade?: boolean }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xa6751e66

Property

  • restore : boolean or undefined

    Pass true if this is a restore of a telegram premium purchase; only for the app store

  • upgrade : boolean or undefined

    Pass true if this is an upgrade from a monthly subscription to a yearly subscription; only for app store