Table of Contents

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

public ulong Id { get; }

Property Value

ulong

Managed

public bool? Managed { get; }

Property Value

bool?

RequireColons

public bool? RequireColons { get; }

Property Value

bool?

Methods

GetImageUrl(ImageFormat)

public ImageUrl GetImageUrl(ImageFormat format)

Parameters

format ImageFormat

Returns

ImageUrl

ToString()

public override string ToString()

Returns

string

ToString(string?, IFormatProvider?)

public string ToString(string? format, IFormatProvider? formatProvider)

Parameters

format string
formatProvider IFormatProvider

Returns

string

TryFormat(Span<char>, out int, ReadOnlySpan<char>, IFormatProvider?)

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