Class ApplicationEmoji
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class ApplicationEmoji : CustomEmoji, IJsonModel<JsonEmoji>, ISpanFormattable, IFormattable
- Inheritance
-
ApplicationEmoji
- Implements
-
- Inherited Members
-
Constructors
ApplicationEmoji(JsonEmoji, ulong, RestClient)
public ApplicationEmoji(JsonEmoji jsonModel, ulong applicationId, RestClient client)
Parameters
jsonModel
JsonEmoji
applicationId
ulong
client
RestClient
Properties
ApplicationId
public ulong ApplicationId { get; }
Property Value
- ulong
Methods
DeleteAsync(RestRequestProperties?, CancellationToken)
public Task DeleteAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
properties
RestRequestProperties
cancellationToken
CancellationToken
Returns
- Task
GetAsync(RestRequestProperties?, CancellationToken)
public Task<ApplicationEmoji> GetAsync(RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
properties
RestRequestProperties
cancellationToken
CancellationToken
Returns
- Task<ApplicationEmoji>
ModifyAsync(Action<ApplicationEmojiOptions>, RestRequestProperties?, CancellationToken)
public Task<ApplicationEmoji> ModifyAsync(Action<ApplicationEmojiOptions> action, RestRequestProperties? properties = null, CancellationToken cancellationToken = default)
Parameters
action
Action<ApplicationEmojiOptions>
properties
RestRequestProperties
cancellationToken
CancellationToken
Returns
- Task<ApplicationEmoji>