Table of Contents

Class PublicGuildThread

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

Constructors

PublicGuildThread(JsonChannel, RestClient)

public PublicGuildThread(JsonChannel jsonModel, RestClient client)

Parameters

jsonModel JsonChannel
client RestClient

Properties

AppliedTags

public IReadOnlyList<ulong>? AppliedTags { get; }

Property Value

IReadOnlyList<ulong>

Methods

DeleteAsync(RestRequestProperties?, CancellationToken)

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

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<PublicGuildThread>

GetAsync(RestRequestProperties?, CancellationToken)

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

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<PublicGuildThread>

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

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

Parameters

action Action<GuildChannelOptions>
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<PublicGuildThread>