payments.DeleteStarGiftCollection

class pyrogram.raw.functions.payments.DeleteStarGiftCollection

Delete a star gift collection ».

Details:
  • Layer: 223

  • ID: AD5648E8

Parameters:
  • peer (InputPeer) – Peer that owns the collection.

  • collection_id (int 32-bit) – ID of the collection.

Returns:

bool

TL Schema

payments.deleteStarGiftCollection#ad5648e8
peer:InputPeer
collection_id:int

= Bool

Parameter Tree

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

Example

await app.invoke(
    DeleteStarGiftCollection(
        peer=await app.resolve_peer(chat_id),
        collection_id=0,
    )
)