channels.deactivateAllUsernames #
Disable all purchased usernames of a supergroup or channel¶
Layer 223
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
channels.deactivateAllUsernames#a245dd3 channel:InputChannel = Bool; Parameters #
| Name | Type | Description |
|---|---|---|
| channel | InputChannel | Supergroup or channel |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |