Layer 227
method Users
premium.applyBoost#6b7da746 flags:# slots:flags.0?Vector<int> peer:InputPeer = premium.MyBoosts;

Parameters

Name Type Description
Slots flags .0? Vector < int > Which boost slots to assign to this peer.
Peer InputPeer The peer to boost.

Gogram Example

// PremiumApplyBoost - positional arguments
result, err := client.PremiumApplyBoost(nil, &tg.InputPeerUser{UserID: int64(777000)})
if err != nil {
    // handle error
}
// result is *tg.PremiumMyBoosts

Possible Errors

Code Type Description
400 BOOSTS_EMPTY No boost slots were specified.
400 PEER_ID_INVALID The provided peer id is invalid.
400 SLOTS_EMPTY The specified slot list is empty.