chatMessage

Receive a notification when a message is sent.
Includes message, broadcaster, and user objects.

Note

There is a separate notification for private chat message.

Example Output

{
    "message": {
      "color": "#494949",
      "bgColor": null,
      "message": "hello",
      "font": "default",
    },
    "broadcaster": "testuser",
    "user": {
      "username": "testuser1",
      "inFanclub": false,
      "gender": "m",
      "hasTokens": true,
      "recentTips": "none",
      "isMod": false
    }
}