Constructor: 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 ».
Attributes:
Name | Type | Required | Description |
---|---|---|---|
purpose | InputStorePaymentPurpose | Yes | An inputStorePaymentStarsGiveaway, inputStorePaymentStarsTopup or inputStorePaymentStarsGift. |
Type: InputInvoice
Example:
$inputInvoiceStars = ['_' => 'inputInvoiceStars', 'purpose' => InputStorePaymentPurpose];