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 or paid media ».
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 Telegram Stars balance of the current account or someone else's account.