telegram api type · layer 229
InputInvoice
An invoice
constructors (15)
| constructor | id | description |
|---|---|---|
| inputInvoiceMessage | #c5b56859 | An invoice contained in a messageMediaInvoice message or paid media ». |
| inputInvoiceSlug | #c326caef | An invoice slug taken from an invoice deep link or from the premium_invoice_slug app config parameter » |
| inputInvoicePremiumGiftCode | #98986c0d | 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 | #65f00ce3 | Used to top up the Telegram Stars balance of the current account or someone else's account, or to start a Telegram Star giveaway ». |
| inputInvoiceChatInviteSubscription | #34e793f1 | Used to pay for a Telegram Star subscription ». |
| inputInvoiceStarGift | #e8625e92 | Used to buy a Telegram Star Gift, see here » for more info. |
| inputInvoiceStarGiftUpgrade | #4d818d5d | Used to pay to upgrade a Gift to a collectible gift, see the collectible gifts » documentation for more info on the full flow. |
| inputInvoiceStarGiftTransfer | #4a5f5bd9 | Used to pay to transfer a collectible gift to another peer, see the gifts » documentation for more info. |
| inputInvoicePremiumGiftStars | #dabab2ef | Used to gift a Telegram Premium subscription to another user, paying with Telegram Stars. |
| inputInvoiceBusinessBotTransferStars | #f4997e42 | Transfer stars from the balance of a user account connected to a business bot, to the balance of the business bot, see here » for more info on the full flow. |
| inputInvoiceStarGiftResale | #e9b0c658 | Used to buy a collectible gift currently up on resale, see here for more info on the full flow. |
| inputInvoiceStarGiftPrepaidUpgrade | #9a0b48b8 | Separately prepay for the upgrade of a gift ». |
| inputInvoicePremiumAuthCode | #3e77f614 | Used to pay for login codes, in case of high cost of SMS verification codes for the user's country/provider, see here » for more info. |
| inputInvoiceStarGiftDropOriginalDetails | #0923d8d1 | |
| inputInvoiceStarGiftAuctionBid | #1ecafa10 |