premium.getBoostsList #

Obtains info about the boosts that were applied to a certain channel or supergroup (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.getBoostsList#60f67660 flags:# gifts:flags.0?true peer:InputPeer offset:string limit:int = premium.BoostsList;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
giftsflags.0?trueWhether to return only info about boosts received from gift codes and giveaways created by the channel/supergroup »
peerInputPeerThe channel/supergroup
offsetstringOffset for pagination, obtained from premium.boostsList.next_offset
limitintMaximum number of results to return, see pagination

Result #

premium.BoostsList

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400PEER_ID_INVALIDThe provided peer id is invalid.

Giveaways and gifts #

Telegram channel and supergroup administrators may launch giveaways to randomly distribute Telegram Premium subscriptions and other gifts among their followers, in exchange for boosts.

premium.boostsList #

List of boosts that were applied to a peer by multiple users.

Pagination in the API #

How to fetch results from large lists of objects.