Layer 220
AccountReorderUsernames
Reorder usernames associated with the currently logged-in user.
method
Users
account.reorderUsernames#ef500eab order:Vector<string> = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Order | Vector<string> | The new order for active usernames. All active usernames must be specified. |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | ORDER_INVALID | The specified username order is invalid. |
| 400 | USERNAME_NOT_MODIFIED | The username was not modified. |
Gogram Example
// AccountReorderUsernames - positional arguments result, err := client.AccountReorderUsernames("...") if err != nil { // handle error } // result is *tg.Bool