Definition
parseEmotePositions(text, emoteOffsets)
Transforms the parts of the given text that are marked as emotes.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| text | string | none | The message text. | |
| emoteOffsets | Map<string, string[]> | none | The emote offsets. An emote name maps to a list of text ranges. |
Return type: ParsedMessageEmotePart[]