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

Parameters

Name Type Description
Channel InputChannel Supergroup or channel

Returns

Bool

Gogram Example

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

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.