Class AnnouncementGuildThread
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class AnnouncementGuildThread : GuildThread, IEquatable<Entity>, IJsonModel<JsonChannel>, IInteractionChannel, IGuildChannel, INamedChannel, IEntity, ISpanFormattable, IFormattable
- Inheritance
-
AnnouncementGuildThread
- Implements
- Inherited Members
Constructors
AnnouncementGuildThread(JsonChannel, RestClient)
public AnnouncementGuildThread(JsonChannel jsonModel, RestClient client)
Parameters
jsonModel
JsonChannelclient
RestClient
Methods
CrosspostMessageAsync(ulong, RestRequestProperties?, CancellationToken)
public Task<RestMessage> CrosspostMessageAsync(ulong messageId, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
messageId
ulongproperties
RestRequestPropertiescancellationToken
CancellationToken
Returns
DeleteAsync(RestRequestProperties?, CancellationToken)
public Task<AnnouncementGuildThread> DeleteAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
properties
RestRequestPropertiescancellationToken
CancellationToken
Returns
FollowAsync(ulong, RestRequestProperties?, CancellationToken)
public Task<FollowedChannel> FollowAsync(ulong webhookChannelId, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
webhookChannelId
ulongproperties
RestRequestPropertiescancellationToken
CancellationToken
Returns
GetAsync(RestRequestProperties?, CancellationToken)
public Task<AnnouncementGuildThread> GetAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
properties
RestRequestPropertiescancellationToken
CancellationToken
Returns
ModifyAsync(Action<GuildChannelOptions>, RestRequestProperties?, CancellationToken)
public Task<AnnouncementGuildThread> ModifyAsync(Action<GuildChannelOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
action
Action<GuildChannelOptions>properties
RestRequestPropertiescancellationToken
CancellationToken