Method SetUserLimit
| Improve this Doc View SourceSetUserLimit(int)
Sets the user limit (if a voice channel).
Declaration
public CreateGuildChannelOptions SetUserLimit(int userLimit)
Parameters
| Type | Name | Description |
|---|---|---|
| int | userLimit |
Returns
| Type | Description |
|---|---|
| CreateGuildChannelOptions |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if this builder is not for a voice channel. |