premium.getBoostsList
Obtains info about the boosts that were applied to a certain channel or supergroup (admins only)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
gifts | true | Nein | 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 | Ja | The channel/supergroup |
offset | string | Ja | Offset for pagination, obtained from [premium.boostsList](https://core.telegram.org/constructor/premium.boostsList.md).`next_offset` |
limit | int | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |
Antworten
premium.BoostsList
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.