premium.GetBoostsList
Obtains info about the boosts that were applied to a certain channel or supergroup (admins only)
- Details:
Layer:
223ID:
60F67660
peer (
InputPeer) – The channel/supergroupoffset (
str) – Offset for pagination, obtained from premium.boostsList.next_offsetlimit (
int32-bit) – Maximum number of results to return, see paginationgifts (
bool, optional) – Whether to return only info about boosts received from gift codes and giveaways created by the channel/supergroup »
TL Schema
premium.getBoostsList#60f67660
flags:#
gifts:flags.0?true
peer:InputPeer
offset:string
limit:int
= premium.BoostsList
Parameter Tree
GetBoostsList
├── gifts →
true (optional)├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── offset →
string└── limit →
intExample
await app.invoke(
GetBoostsList(
gifts=None,
peer=await app.resolve_peer(chat_id),
offset="text",
limit=0,
)
)