Layer 220
method Users
channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = Updates;

Parameters

Name Type Description
Channel InputChannel The supergroup.
Boosts int The number of required boosts (1-8, 0 to disable).

Returns

Updates

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.

Gogram Example

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