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 #

NameTypeDescription
channelInputChannelSupergroup or channel

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.