premium.applyBoost

Apply one or more boosts » to a peer.

 Method schema is available as of layer 166. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
slots flags.0?Vector<int> Which boost slots to assign to this peer.
peer InputPeer The peer to boost.

Result

premium.MyBoosts

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.

Related pages

Channel boosts

Telegram Premium users can grant their favorite channels additional features like the ability to post stories by giving them boosts.