Layer 220
BotsReorderUsernames
Reorder usernames associated to a bot we own.
method
Users
bots.reorderUsernames#9709b1c2 bot:InputUser order:Vector<string> = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Bot | InputUser | The bot |
| Order | Vector<string> | The new order for active usernames. All active usernames must be specified. |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
| 400 | USERNAME_NOT_MODIFIED | The username was not modified. |
Gogram Example
// BotsReorderUsernames - positional arguments result, err := client.BotsReorderUsernames(&tg.InputUserSelf{}, "...") if err != nil { // handle error } // result is *tg.Bool