premium.getUserBoosts #

Returns the lists of boost that were applied to a channel/supergroup by a specific user (admins only)

Layer 223

premium.boostsList#86f8613c flags:# count:int boosts:Vector<Boost> next_offset:flags.0?string users:Vector<User> = premium.BoostsList;
---functions---
premium.getUserBoosts#39854d1f peer:InputPeer user_id:InputUser = premium.BoostsList;

Parameters #

NameTypeDescription
peerInputPeerThe channel/supergroup
user_idInputUserThe user

Result #

premium.BoostsList

Both users and bots can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.