Layer 224
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

Bool

Gogram Example

// BotsReorderUsernames - positional arguments
result, err := client.BotsReorderUsernames(&tg.InputUserSelf{}, "Hello, World!")
if err != nil {
    // handle error
}
// result is *tg.Bool

Possible Errors

Code Type Description
400 BOT_INVALID This is not a valid bot.
400 USERNAME_NOT_MODIFIED The username was not modified.