channels.ToggleUsername#
- class pyrogram.raw.functions.channels.ToggleUsername#
Activate or deactivate a purchased fragment.com username associated to a supergroup or channel we own.
- Details:
Layer:
214ID:
50F24105
- Parameters:
channel (
InputChannel) – Supergroup or channelusername (
str) – Usernameactive (
bool) – Whether to activate or deactivate the username
- Returns:
bool