Table of Contents

Class ForumGuildThread

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

Constructors

ForumGuildThread(JsonChannel, RestClient)

public ForumGuildThread(JsonChannel jsonModel, RestClient client)

Parameters

jsonModel JsonChannel
client RestClient

Properties

Message

public RestMessage Message { get; }

Property Value

RestMessage

Methods

DeleteAsync(RestRequestProperties?, CancellationToken)

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

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<ForumGuildThread>

GetAsync(RestRequestProperties?, CancellationToken)

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

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<ForumGuildThread>

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

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

Parameters

action Action<GuildChannelOptions>
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<ForumGuildThread>