Layer 220
InputInvoiceStarGiftPrepaidUpgrade
Separately prepay for the upgrade of a gift.
constructor
inputInvoiceStarGiftPrepaidUpgrade#9a0b48b8 peer:InputPeer hash:string = InputInvoice;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The peer that owns the gift. |
| Hash | string | The upgrade hash from message Action Star Gift. prepaid_upgrade_hash or saved Star Gift. prepaid_upgrade_hash. |
Returns
InputInvoiceGogram Example
// Creating InputInvoiceStarGiftPrepaidUpgrade constructor obj := &tg.InputInvoiceStarGiftPrepaidUpgrade{ Peer: &tg.InputPeerUser{UserID: int64(123456789)}, Hash: "...", }