add_bot_username()¶
- async Client.add_bot_username()¶
Add an additional username to 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 add.
- Returns:
bool– On success, True is returned.
Example
await app.add_bot_username("my_bot", "cool_bot")