Layer 220
method Users
payments.getPremiumGiftCodeOptions#2757ba54 flags:# boost_peer:flags.0?InputPeer = Vector<PremiumGiftCodeOption>;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
BoostPeer flags.0?InputPeer The channel that will start the giveaway

Returns

Vector

Gogram Example

// PaymentsGetPremiumGiftCodeOptions - using Params struct
result, err := client.PaymentsGetPremiumGiftCodeOptions(&tg.PaymentsGetPremiumGiftCodeOptionsParams{

    // Optional fields:
    // BoostPeer: &tg.InputPeerUser{UserID: int64(123456789)},
})
if err != nil {
    // handle error
}
// result is *tg.Vector