Layer 224
PremiumGetUserBoosts
Returns the lists of boost that were applied to a channel/supergroup by a specific user (admins only)
method
Users
Bots
premium.getUserBoosts#39854d1f peer:InputPeer user_id:InputUser = premium.BoostsList;
Returns
premium.BoostsListGogram Example
// PremiumGetUserBoosts - positional arguments result, err := client.PremiumGetUserBoosts(&tg.InputPeerUser{UserID: int64(777000)}, &tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.PremiumBoostsList
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |