Static methods

staticcustom(text:String, uri:String):CustomEmojiReaction

Create a new custom emoji reaction to send

Parameters:

text

name of custom emoji

uri

URI for media of custom emoji

Returns:

Reaction

Variables

finaluri:String

URI of the custom emoji image

Methods

render<T>(forText:String ‑> T, forImage:(String, String) ‑> T):T

Render this reaction using either a text or image callback

Parameters:

forText

called for plain unicode reactions

forImage

called for custom emoji reactions with name and image URI

Returns:

the value returned by the chosen callback

Inherited Variables

Defined by Reaction

finalkey:String

Key for grouping reactions

finalsenderId:String

ID of who sent this Reaction

finaltimestamp:String

Date and time when this Reaction was sent, in format YYYY-MM-DDThh:mm:ss[.sss]+00:00

Inherited Methods