Layer 220
InputInvoiceStarGiftTransfer
Used to pay to transfer a collectible gift to another peer, see the gifts documentation for more info.
constructor
inputInvoiceStarGiftTransfer#4a5f5bd9 stargift:InputSavedStarGift to_id:InputPeer = InputInvoice;
Parameters
| Name | Type | Description |
|---|---|---|
| Stargift | InputSavedStarGift | The identifier of the received gift |
| ToId | InputPeer | The destination peer |
Returns
InputInvoiceGogram Example
// Creating InputInvoiceStarGiftTransfer constructor obj := &tg.InputInvoiceStarGiftTransfer{ Stargift: &tg.InputSavedStarGift{}, ToId: &tg.InputPeerUser{UserID: int64(123456789)}, }