stories.canApplyBoost

Check whether a channel/supergroup can be boosted, see here for more info ».

stories.canApplyBoostOk#c3173587 = stories.CanApplyBoostResult;
stories.canApplyBoostReplace#712c4655 current_boost:Peer chats:Vector<Chat> = stories.CanApplyBoostResult;
---functions---
stories.canApplyBoost#db05c1bd peer:InputPeer = stories.CanApplyBoostResult;

Parameters

Name Type Description
peer InputPeer The channel/supergroup to boost.

Result

 

Possible errors

Code Type Description
400 BOOST_NOT_MODIFIED You're already boosting the specified channel.
400 PEER_ID_INVALID The provided peer id is invalid.
400 PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.

Related pages

Channel and supergroup boosts

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