Class GuildWidgetProperties
Provides properties that are used to modify the widget of an IGuild with the specified changes.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class GuildWidgetProperties : object
Properties
| Improve this Doc View SourceChannel
Sets the channel that the invite should place its users in, if not null.
Declaration
public Optional<IChannel> Channel { get; set; }
Property Value
Type | Description |
---|---|
Optional<IChannel> |
ChannelId
Sets the channel that the invite should place its users in, if not null.
Declaration
public Optional<ulong?> ChannelId { get; set; }
Property Value
Type | Description |
---|---|
Optional<Nullable<UInt64>> |
Enabled
Sets whether the widget should be enabled.
Declaration
public Optional<bool> Enabled { get; set; }
Property Value
Type | Description |
---|---|
Optional<Boolean> |