Layer 220
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.BoostsListPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// PremiumGetUserBoosts - positional arguments result, err := client.PremiumGetUserBoosts(&tg.InputPeerUser{UserID: int64(123456789)}, &tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.PremiumBoostsList