Raw.payments.CanPurchasePremium

Raw.payments.CanPurchasePremium

Checks whether telegram premium purchase is possible. must be called before in-store premium purchase, official apps only.

payments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool;
export namespace Raw {
  export namespace payments {
    export class CanPurchasePremium {
      constructor(params: { purpose: Raw.TypeInputStorePaymentPurpose }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x9fc19eb6

Property

Results

boolean