channels.deactivateAllUsernames

Disable all purchased usernames of a supergroup or channel

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
channels.deactivateAllUsernames#a245dd3 channel:InputChannel = Bool;

Parameters

Name Type Description
channel InputChannel Supergroup or channel

Result

Bool

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.