Activate or deactivate a purchased fragment.com username associated to a bot we own.
Method schema is available as of layer 158. Switch ยป
Name | Type | Description |
---|---|---|
bot | InputUser | The bot |
username | string | Username |
active | Bool | Whether to activate or deactivate it |
Code | Type | Description |
---|---|---|
400 | BOT_INVALID | This is not a valid bot. |
400 | USERNAME_NOT_MODIFIED | The username was not modified. |