premium.GetBoostsStatus

class pyrogram.raw.functions.premium.GetBoostsStatus

Gets the current number of boosts of a channel/supergroup.

Details:
  • Layer: 223

  • ID: 42F1F61

Parameters:

peer (InputPeer) – The peer.

Returns:

premium.BoostsStatus

TL Schema

premium.getBoostsStatus#42f1f61
peer:InputPeer

= premium.BoostsStatus

Parameter Tree

GetBoostsStatus
└── peerInputPeer
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_idlong
├── InputPeerUser
│ ├── user_idlong
│ └── access_hashlong
│ ├── channel_idlong
│ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── channel_idlong

Example

await app.invoke(
    GetBoostsStatus(
        peer=await app.resolve_peer(chat_id),
    )
)