Class CreateGuildChannelOptions
A set of parameters for creating a new text or voice guild channel.
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class CreateGuildChannelOptions
Constructors
| Name | Description |
|---|---|
| CreateGuildChannelOptions(DiscordChannelType) |
Properties
| Name | Description |
|---|---|
| Bitrate | Gets or sets the voice bitrate (if a voice channel). |
| Name | Gets or sets the channel name. |
| Nsfw | Gets or sets whether this channel is NSFW (not-safe-for-work) (if a text channel). |
| ParentId | Gets or sets the parent category channel ID (if a text or voice channel). |
| PermissionOverwrites | Gets or sets a list of permission overwrites. |
| Topic | Gets or sets the topic (if a text channel). |
| Type | Gets the type of guild channel. |
| UserLimit | Gets or sets the user limit (if a voice channel). |
Methods
| Name | Description |
|---|---|
| AddPermissionOverwrite(OverwriteOptions) | Adds a permission overwrite to the channel. |
| SetBitrate(int) | Sets the voice bitrate (if a voice channel). |
| SetName(string) | Sets the channel name. |
| SetNsfw(bool) | Sets whether this channel is NSFW (not-safe-for-work) (if a text channel). |
| SetTopic(string) | Sets the topic (if a text channel). |
| SetUserLimit(int) | Sets the user limit (if a voice channel). |