Class DiscordEmojiData
Represents a discord emoji structure API model. Docs: https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordEmojiData : IEquatable<DiscordEmojiData>
Properties
| Improve this Doc View SourceId
Emoji id.
Declaration
[JsonPropertyName("id")]
public ulong Id { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
IsAnimated
Whether this emoji is animated.
Declaration
[JsonPropertyName("animated")]
public bool? IsAnimated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
IsAvailable
Whether this emoji can be used, may be false due to loss of Server Boosts.
Declaration
[JsonPropertyName("available")]
public bool? IsAvailable { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
IsManaged
Whether this emoji is managed.
Declaration
[JsonPropertyName("managed")]
public bool? IsManaged { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
Name
Emoji name
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
RequireColons
Whether this emoji must be wrapped in colons.
Declaration
[JsonPropertyName("require_colons")]
public bool? RequireColons { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
RoleIds
Roles allowed to use this emoji
Declaration
[JsonPropertyName("roles")]
public IEnumerable<ulong> RoleIds { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.UInt64> |
User
User that created this emoji
Declaration
[JsonPropertyName("user")]
public DiscordUserData User { get; set; }
Property Value
Type | Description |
---|---|
DiscordUserData |