An invoice
inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice;
inputInvoiceSlug#c326caef slug:string = InputInvoice;
inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice;
inputInvoiceStars#65f00ce3 purpose:InputStorePaymentPurpose = InputInvoice;
inputInvoiceChatInviteSubscription#34e793f1 hash:string = InputInvoice;
inputInvoiceStarGift#25d8c1d8 flags:# hide_name:flags.0?true user_id:InputUser gift_id:long message:flags.1?TextWithEntities = InputInvoice;
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. |
inputInvoiceChatInviteSubscription | |
inputInvoiceStarGift |