Gets the current number of boosts of a channel/supergroup.
 Method schema is available as of layer 166. Switch ยป
| Name | Type | Description | 
|---|---|---|
| peer | InputPeer | The peer. | 
| Code | Type | Description | 
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. | 
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. | 
| 400 | PEER_ID_INVALID | The provided peer id is invalid. | 
Telegram Premium users can grant their favorite channels and supergroups additional features like the ability to post stories by giving them boosts.