Layer 220
PremiumGetBoostsStatus
Gets the current number of boosts of a channel/supergroup.
method
Users
premium.getBoostsStatus#42f1f61 peer:InputPeer = premium.BoostsStatus;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The peer. |
Returns
premium.BoostsStatusPossible Errors
| 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. |
Gogram Example
// PremiumGetBoostsStatus - positional arguments result, err := client.PremiumGetBoostsStatus(&tg.InputPeerUser{UserID: int64(123456789)}) if err != nil { // handle error } // result is *tg.PremiumBoostsStatus