Layer 220
ChannelsReorderUsernames
Reorder active usernames
method
Users
channels.reorderUsernames#b45ced1d channel:InputChannel order:Vector<string> = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Channel | InputChannel | The supergroup or channel |
| Order | Vector<string> | The new order for active usernames. All active usernames must be specified. |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHAT_NOT_MODIFIED | No changes were made to chat information because the new information you passed is identical to the current information. |
Gogram Example
// ChannelsReorderUsernames - positional arguments result, err := client.ChannelsReorderUsernames(&tg.InputChannel{ChannelID: int64(123456789), AccessHash: int64(0)}, "...") if err != nil { // handle error } // result is *tg.Bool