Table of Contents

Class MediaForumGuildChannel

Namespace
NetCord
Assembly
NetCord.dll
public class MediaForumGuildChannel : ForumGuildChannel, IEquatable<Entity>, IJsonModel<JsonChannel>, IInteractionChannel, IGuildChannel, INamedChannel, IEntity, ISpanFormattable, IFormattable
Inheritance
MediaForumGuildChannel
Implements
Inherited Members

Constructors

MediaForumGuildChannel(JsonChannel, ulong, RestClient)

public MediaForumGuildChannel(JsonChannel jsonModel, ulong guildId, RestClient client)

Parameters

jsonModel JsonChannel
guildId ulong
client RestClient

Methods

DeleteAsync(RestRequestProperties?, CancellationToken)

public Task<MediaForumGuildChannel> DeleteAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<MediaForumGuildChannel>

GetAsync(RestRequestProperties?, CancellationToken)

public Task<MediaForumGuildChannel> GetAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<MediaForumGuildChannel>

ModifyAsync(Action<GuildChannelOptions>, RestRequestProperties?, CancellationToken)

public Task<MediaForumGuildChannel> ModifyAsync(Action<GuildChannelOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)

Parameters

action Action<GuildChannelOptions>
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<MediaForumGuildChannel>