Activate or deactivate a purchased fragment.com username associated to a bot we own.
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
bots.toggleUsername#53ca973 bot:InputUser username:string active:Bool = Bool;
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. |