Interface IUnknownGuildChannel
- Namespace
- NetCord
- Assembly
- NetCord.dll
Represents a guild channel of an unresolved type.
public interface IUnknownGuildChannel : IUnknownChannel, IGuildChannel, INamedChannel, IEntity, ISpanFormattable, IFormattable
- Inherited Members
Methods
ModifyAsync(Action<GuildChannelOptions>, RestRequestProperties?, CancellationToken)
Modifies a guild channel's properties.
Task<IUnknownGuildChannel> ModifyAsync(Action<GuildChannelOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
actionAction<GuildChannelOptions>An action delegate used to configure the updated channel options.
propertiesRestRequestPropertiesOptional properties to customize the request, can be null.
cancellationTokenCancellationTokenA token that can be used to cancel the operation before it completes.