Enable the IRCv3 tags capability and emotes use in a message will be presented to you in the tags for a PRIVMSG
See the Guide: Getting Twitch Emotes | Twitch Developers
And the documented tags: Twitch IRC Tags | Twitch Developers for PRIVMSG
That would be EMOTESETS
when you connect to chat from USERSTATE
There is no API support for EmoteSet to “name” or vice versa