Skip to content

inputInvoiceStars

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
purposeInputStorePaymentPurposeYesAn inputStorePaymentStarsGiveaway, inputStorePaymentStarsTopup or inputStorePaymentStarsGift.

Type: InputInvoice

Example:

$inputInvoiceStars = ['_' => 'inputInvoiceStars', 'purpose' => InputStorePaymentPurpose];