InputInvoice

An invoice

inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice;
inputInvoiceSlug#c326caef slug:string = InputInvoice;
inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice;
inputInvoiceStars#1da33ad8 option:StarsTopupOption = InputInvoice;

Constructors

Constructor Description
inputInvoiceMessage An invoice contained in a messageMediaInvoice message.
inputInvoiceSlug An invoice slug taken from an invoice deep link or from the premium_invoice_slug app config parameter ยป
inputInvoicePremiumGiftCode Used if the user wishes to start a channel/supergroup giveaway or send some giftcodes to members of a channel/supergroup, in exchange for boosts.
inputInvoiceStars Used to top up the current account's Telegram Stars balance.