toReaction
Transform the given GuildEmoji into a ReactionEmoji.
Receiver
Guild emoji instance.
Return
Newly-created reaction emoji instance.
See also
ReactionEmoji.Companion.from
Transform a String containing an emoji into a ReactionEmoji.
This will attempt to parse the string as a custom emoji first and, if it can't, it'll assume you've given it a Unicode emoji. Note: This may result in an invalid ReactionEmoji, so you may prefer to use the jemoji EmojiManager to check.
All custom emoji must match one of the following formats:
Animated emoji:
<a:name:id>Normal emoji:
<:name:id>
Receiver
String containing a Unicode or custom emoji.
Return
Newly created reaction emoji instance.
See also
ReactionEmoji.Unicode