payments.DeleteStarGiftCollection
- class pyrogram.raw.functions.payments.DeleteStarGiftCollection
Delete a star gift collection ».
- Details:
Layer:
223ID:
AD5648E8
- Parameters:
peer (
InputPeer) – Peer that owns the collection.collection_id (
int32-bit) – ID of the collection.
- Returns:
bool
TL Schema
payments.deleteStarGiftCollection#ad5648e8
peer:InputPeer
collection_id:int
= Bool
Parameter Tree
DeleteStarGiftCollection
├── 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└── collection_id →
intExample
await app.invoke(
DeleteStarGiftCollection(
peer=await app.resolve_peer(chat_id),
collection_id=0,
)
)