reorder_chat_usernames()

async Client.reorder_chat_usernames()

Reorder active collectible usernames of a channel or supergroup.

Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target channel or supergroup.

  • order (List of str) – The new order of usernames.

Returns:

bool – True on success.

Example

await app.reorder_chat_usernames(chat_id, ["username1", "username2"])