Layer 220
method Users
channels.deactivateAllUsernames#a245dd3 channel:InputChannel = Bool;

Parameters

Name Type Description
Channel InputChannel Supergroup or channel

Returns

Bool

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.

Gogram Example

// ChannelsDeactivateAllUsernames - positional arguments
result, err := client.ChannelsDeactivateAllUsernames(&tg.InputChannel{ChannelID: int64(123456789), AccessHash: int64(0)})
if err != nil {
    // handle error
}
// result is *tg.Bool