remove_bot_username()

async Client.remove_bot_username()

Remove an additional username from a bot we own.

Usable by Users Bots
Parameters:
  • bot (int | str) – Unique identifier (int) or username (str) of the target bot.

  • username (str) – The username to remove.

Returns:

bool – On success, True is returned.

Example

await app.remove_bot_username("my_bot", "cool_bot")