Layer 220
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

InputInvoice

Gogram Example

// Creating InputInvoiceStarGiftPrepaidUpgrade constructor
obj := &tg.InputInvoiceStarGiftPrepaidUpgrade{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    Hash: "...",
}