premium.getBoostsList
Obtains info about the boosts that were applied to a certain channel or supergroup (admins only)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
gifts | true | لأ | Whether to return only info about boosts received from [gift codes and giveaways created by the channel/supergroup »](https://core.telegram.org/api/giveaways.md) |
peer | InputPeer | أيوه | The channel/supergroup |
offset | string | أيوه | Offset for pagination, obtained from [premium.boostsList](https://core.telegram.org/constructor/premium.boostsList.md).`next_offset` |
limit | int | أيوه | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |
الردود
premium.BoostsList
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.