payments.ReorderStarGiftCollections
- class pyrogram.raw.functions.payments.ReorderStarGiftCollections
Reorder the star gift collections » on an owned peer’s profile.
- Details:
Layer:
223ID:
C32AF4CC
- Parameters:
peer (
InputPeer) – The owned peer.order (List of
int32-bit) – New collection order.
- Returns:
bool
TL Schema
payments.reorderStarGiftCollections#c32af4cc
peer:InputPeer
order:Vector<int>
= Bool
Parameter Tree
ReorderStarGiftCollections
├── 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└── order →
Vector < int >Example
await app.invoke(
ReorderStarGiftCollections(
peer=await app.resolve_peer(chat_id),
order=[0],
)
)