bots.reorderUsernames #

Reorder usernames associated to a bot we own.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.reorderUsernames#9709b1c2 bot:InputUser order:Vector<string> = Bool;

Parameters #

NameTypeDescription
botInputUserThe bot
orderVector<string>The new order for active usernames. All active usernames must be specified.

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400BOT_INVALIDThis is not a valid bot.
400USERNAME_NOT_MODIFIEDThe username was not modified.