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
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