channels.ReorderUsernames
- class pyrogram.raw.functions.channels.ReorderUsernames
Reorder active usernames
- Details:
Layer:
223ID:
B45CED1D
- Parameters:
channel (
InputChannel) – The supergroup or channelorder (List of
str) – The new order for active usernames. All active usernames must be specified.
- Returns:
bool
TL Schema
channels.reorderUsernames#b45ced1d
channel:InputChannel
order:Vector<string>
= Bool
Parameter Tree
ReorderUsernames
├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── order →
Vector < string >Example
await app.invoke(
ReorderUsernames(
channel=await app.resolve_channel(chat_id),
order=["text"],
)
)