bots.ToggleUsername¶
- class hydrogram.raw.functions.bots.ToggleUsername[source]¶
Activate or deactivate a purchased fragment.com username associated to a bot we own.
- Details:
Layer:
181ID:
53CA973
- Parameters:
bot (
InputUser) – The botusername (
str) – Usernameactive (
bool) – Whether to activate or deactivate it
- Returns:
bool