InputInvoice#

class pyrogram.raw.base.InputInvoice#

An invoice

Constructors:

This base type has 8 constructors available.

InputInvoiceChatInviteSubscription

Used to pay for a Telegram Star subscription ».

InputInvoiceMessage

An invoice contained in a messageMediaInvoice message or paid media ».

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.

InputInvoiceSlug

An invoice slug taken from an invoice deep link or from the premium_invoice_slug app config parameter »

InputInvoiceStarGift

Used to buy a Telegram Star Gift, see here » for more info.

InputInvoiceStarGiftTransfer

Constructor of InputInvoice.

InputInvoiceStarGiftUpgrade

Constructor of InputInvoice.

InputInvoiceStars

Used to top up the Telegram Stars balance of the current account or someone else's account, or to start a Telegram Star giveaway ».