setBoostsRequiredToCircumventRestrictions

Set the number of boosts required to circument a chat’s default restrictions. User-only.

Parameters

chatId: ID

The identifier of the chat.

boosts: number

The number of boosts required to circumvent its restrictions.

Result

void

Syntax

await client.setBoostsRequiredToCircumventRestrictions(chatId, boosts);