AttachEmotes

Enable an enhancement to the ChatMessage event. This will populate the meta property of the event with a hash containing the emoticon text mapped to the base64 PNG representation.

Example

First send the request to attach emotes:

Request

{
  "type": "method",
  "method": "attachEmotes",
  "arguments": [],
  "id": 12
}

Response

{
  "type": "reply",
  "error": null,
  "id": 12
}

After this the ChatMessage event will contain a new property emoticons within the meta property. Emoticons is a map of emotes to their Base 64 Representation.

For example if a user used: :) then meta would contain:

"meta": {
    "emoticons": {
    ":)": "iVBORw0KGgoAAAANSUhE...AAAElFTkSuQmCC"
    }
}

This works for partner and verified partner emotes too.