Static methods

staticunicode(unicode:String):Reaction

Create a new Unicode reaction to send

Parameters:

unicode

emoji of the reaction

Returns:

Reaction

Variables

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

Methods

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

Create a new Unicode reaction to send

Parameters:

forText

Callback called if this is a textual reaction. Called with the unicode String.

forImage

Callback called if this is a custom/image reaction. Called with the name and the URI to the image.

Returns:

the return value of the callback