check_bot_username()¶
- async Client.check_bot_username()¶
Checks whether a username can be set for a new bot.
Usable by Users Bots- Parameters:
username (
str) – Username to be checked.- Returns:
bool– True if the username can be used for a new bot.
Checks whether a username can be set for a new bot.
username (str) – Username to be checked.
bool – True if the username can be used for a new bot.