Table of Contents

Class PrivateGuildThread

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

Constructors

PrivateGuildThread(JsonChannel, RestClient)

public PrivateGuildThread(JsonChannel jsonModel, RestClient client)

Parameters

jsonModel JsonChannel
client RestClient

Methods

DeleteAsync(RestRequestProperties?, CancellationToken)

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

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<PrivateGuildThread>

GetAsync(RestRequestProperties?, CancellationToken)

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

Parameters

properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<PrivateGuildThread>

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

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

Parameters

action Action<GuildChannelOptions>
properties RestRequestProperties
cancellationToken CancellationToken

Returns

Task<PrivateGuildThread>