Class CustomEmoji
- Namespace
- NetCord
- Assembly
- NetCord.dll
public abstract class CustomEmoji : Emoji, IJsonModel<JsonEmoji>, ISpanFormattable, IFormattable
- Inheritance
-
CustomEmoji
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
CustomEmoji(JsonEmoji, RestClient)
public CustomEmoji(JsonEmoji jsonModel, RestClient client)
Parameters
jsonModel
JsonEmoji
client
RestClient
Properties
Available
public bool? Available { get; }
Property Value
- bool?
Creator
public User? Creator { get; }
Property Value
- User
Id
Property Value
- ulong
Managed
public bool? Managed { get; }
Property Value
- bool?
RequireColons
public bool? RequireColons { get; }
Property Value
- bool?
Methods
public ImageUrl GetImageUrl(ImageFormat format)
Parameters
format
ImageFormat
Returns
- ImageUrl
ToString()
public override string ToString()
Returns
- string
public string ToString(string? format, IFormatProvider? formatProvider)
Parameters
format
string
formatProvider
IFormatProvider
Returns
- string
public bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = default, IFormatProvider? provider = null)
Parameters
destination
Span<char>
charsWritten
int
format
ReadOnlySpan<char>
provider
IFormatProvider
Returns
- bool