Class Emoji
- Namespace
- Fluxer.Net
- Assembly
- Fluxer.Net.dll
Fluxer entity with client attached.
public class Emoji : Entity, IEmoji
- Inheritance
-
objectEmoji
- Implements
- Derived
Constructors
Emoji(string)
public Emoji(string name)
Parameters
namestring
Emoji(ulong, string, bool)
public Emoji(ulong id, string name, bool isAnimated = false)
Parameters
Properties
AllowCloning
Wether you can clone this emoji.
public bool AllowCloning { get; }
Property Value
CreatedAt
Object created at UTC date.
public DateTimeOffset? CreatedAt { get; }
Property Value
Id
Unique identifier (snowflake) for the object.
public ulong? Id { get; }
Property Value
IsAnimated
Whether this emoji is animated.
public bool IsAnimated { get; }
Property Value
Name
The name of the emoji
public string Name { get; }
Property Value
Methods
Create(FluxerBaseClient, EmojiJson)
Create a Emoji object from json.
public static Emoji Create(FluxerBaseClient client, EmojiJson json)
Parameters
clientFluxerBaseClientjsonEmojiJson
Returns
Parse(string)
public static Emoji Parse(string text)
Parameters
textstring
Returns
TryParse(string, out Emoji?)
public static bool TryParse(string text, out Emoji? result)