telegram api type · layer 229

InputInvoice

An invoice

constructors (15)

constructoriddescription
inputInvoiceMessage#c5b56859An invoice contained in a messageMediaInvoice message or paid media ».
inputInvoiceSlug#c326caefAn invoice slug taken from an invoice deep link or from the premium_invoice_slug app config parameter »
inputInvoicePremiumGiftCode#98986c0dUsed 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#65f00ce3Used to top up the Telegram Stars balance of the current account or someone else's account, or to start a Telegram Star giveaway ».
inputInvoiceChatInviteSubscription#34e793f1Used to pay for a Telegram Star subscription ».
inputInvoiceStarGift#e8625e92Used to buy a Telegram Star Gift, see here » for more info.
inputInvoiceStarGiftUpgrade#4d818d5dUsed to pay to upgrade a Gift to a collectible gift, see the collectible gifts » documentation for more info on the full flow.
inputInvoiceStarGiftTransfer#4a5f5bd9Used to pay to transfer a collectible gift to another peer, see the gifts » documentation for more info.
inputInvoicePremiumGiftStars#dabab2efUsed to gift a Telegram Premium subscription to another user, paying with Telegram Stars.
inputInvoiceBusinessBotTransferStars#f4997e42Transfer 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#e9b0c658Used to buy a collectible gift currently up on resale, see here for more info on the full flow.
inputInvoiceStarGiftPrepaidUpgrade#9a0b48b8Separately prepay for the upgrade of a gift ».
inputInvoicePremiumAuthCode#3e77f614Used 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

used by (4)