Table of Contents

Class Emoji

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class Emoji : Entity, IEmoji
Inheritance
object
Emoji
Implements
Derived

Constructors

Emoji(string)

public Emoji(string name)

Parameters

name string

Emoji(ulong, string, bool)

public Emoji(ulong id, string name, bool isAnimated = false)

Parameters

id ulong
name string
isAnimated bool

Properties

AllowCloning

Wether you can clone this emoji.

public bool AllowCloning { get; }

Property Value

bool

CreatedAt

Object created at UTC date.

public DateTimeOffset? CreatedAt { get; }

Property Value

DateTimeOffset?

Id

Unique identifier (snowflake) for the object.

public ulong? Id { get; }

Property Value

ulong?

IsAnimated

Whether this emoji is animated.

public bool IsAnimated { get; }

Property Value

bool

Name

The name of the emoji

public string Name { get; }

Property Value

string

Methods

Create(FluxerBaseClient, EmojiJson)

Create a Emoji object from json.

public static Emoji Create(FluxerBaseClient client, EmojiJson json)

Parameters

client FluxerBaseClient
json EmojiJson

Returns

Emoji

Emoji

Parse(string)

public static Emoji Parse(string text)

Parameters

text string

Returns

Emoji

TryParse(string, out Emoji?)

public static bool TryParse(string text, out Emoji? result)

Parameters

text string
result Emoji

Returns

bool