bots.ToggleUsername#
- class pyrogram.raw.functions.bots.ToggleUsername#
Activate or deactivate a purchased fragment.com username associated to a bot we own.
- Details:
Layer:
158ID:
53CA973
- Parameters:
bot (
InputUser) – The bot.username (
str) – Username.active (
bool) – Whether to activate or deactivate it.
- Returns:
bool