reorderUsernames

Reorder the usernames of the current account, a bot account, a supergroup, or a channel’s profile. User-only.

Parameters

id: ID

"me", a bot ID, a supergroup ID, or a channel ID.

order: string[]

The new order to use.

Result

boolean

Whether the order was changed.

Syntax

await client.reorderUsernames(id, order);