Machine-readable version of this page: /method/bots.reorderUsernames.md.
Reorder usernames associated to a bot we own.
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.reorderUsernames#9709b1c2 bot:InputUser order:Vector<string> = Bool;
| Name | Type | Description |
|---|---|---|
| bot | InputUser | The bot |
| order | Vector<string> | The new order for active usernames. All active usernames must be specified. |
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
| 400 | USERNAME_NOT_MODIFIED | The username was not modified. |