payments.ReorderStarGiftCollections

class pyrogram.raw.functions.payments.ReorderStarGiftCollections

Reorder the star gift collections » on an owned peer’s profile.

Details:
  • Layer: 223

  • ID: C32AF4CC

Parameters:
  • peer (InputPeer) – The owned peer.

  • order (List of int 32-bit) – New collection order.

Returns:

bool

TL Schema

payments.reorderStarGiftCollections#c32af4cc
peer:InputPeer
order:Vector<int>

= Bool

Parameter Tree

ReorderStarGiftCollections
├── 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
└── orderVector < int >

Example

await app.invoke(
    ReorderStarGiftCollections(
        peer=await app.resolve_peer(chat_id),
        order=[0],
    )
)