Documentation ¶
Index ¶
- type PremiumCore
- func (c *PremiumCore) HelpGetPremiumPromo(in *mtproto.TLHelpGetPremiumPromo) (*mtproto.Help_PremiumPromo, error)
- func (c *PremiumCore) PaymentsAssignAppStoreTransaction(in *mtproto.TLPaymentsAssignAppStoreTransaction) (*mtproto.Updates, error)
- func (c *PremiumCore) PaymentsAssignPlayMarketTransaction(in *mtproto.TLPaymentsAssignPlayMarketTransaction) (*mtproto.Updates, error)
- func (c *PremiumCore) PaymentsCanPurchasePremium(in *mtproto.TLPaymentsCanPurchasePremium) (*mtproto.Bool, error)
- func (c *PremiumCore) PaymentsRequestRecurringPayment(in *mtproto.TLPaymentsRequestRecurringPayment) (*mtproto.Updates, error)
- func (c *PremiumCore) PaymentsRestorePlayMarketReceipt(in *mtproto.TLPaymentsRestorePlayMarketReceipt) (*mtproto.Updates, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PremiumCore ¶
type PremiumCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, svcCtx *svc.ServiceContext) *PremiumCore
func (*PremiumCore) HelpGetPremiumPromo ¶
func (c *PremiumCore) HelpGetPremiumPromo(in *mtproto.TLHelpGetPremiumPromo) (*mtproto.Help_PremiumPromo, error)
HelpGetPremiumPromo help.getPremiumPromo#b81b93d4 = help.PremiumPromo;
func (*PremiumCore) PaymentsAssignAppStoreTransaction ¶
func (c *PremiumCore) PaymentsAssignAppStoreTransaction(in *mtproto.TLPaymentsAssignAppStoreTransaction) (*mtproto.Updates, error)
PaymentsAssignAppStoreTransaction payments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaymentPurpose = Updates;
func (*PremiumCore) PaymentsAssignPlayMarketTransaction ¶
func (c *PremiumCore) PaymentsAssignPlayMarketTransaction(in *mtproto.TLPaymentsAssignPlayMarketTransaction) (*mtproto.Updates, error)
PaymentsAssignPlayMarketTransaction payments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates;
func (*PremiumCore) PaymentsCanPurchasePremium ¶
func (c *PremiumCore) PaymentsCanPurchasePremium(in *mtproto.TLPaymentsCanPurchasePremium) (*mtproto.Bool, error)
PaymentsCanPurchasePremium payments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool;
func (*PremiumCore) PaymentsRequestRecurringPayment ¶
func (c *PremiumCore) PaymentsRequestRecurringPayment(in *mtproto.TLPaymentsRequestRecurringPayment) (*mtproto.Updates, error)
PaymentsRequestRecurringPayment payments.requestRecurringPayment#146e958d user_id:InputUser recurring_init_charge:string invoice_media:InputMedia = Updates;
func (*PremiumCore) PaymentsRestorePlayMarketReceipt ¶
func (c *PremiumCore) PaymentsRestorePlayMarketReceipt(in *mtproto.TLPaymentsRestorePlayMarketReceipt) (*mtproto.Updates, error)
PaymentsRestorePlayMarketReceipt payments.restorePlayMarketReceipt#d164e36a receipt:bytes = Updates;