• A hook event that fires when a user sends a message through the ChatLog. chatMessage

    Parameters

    • chatLog: ChatLog

      The ChatLog instance

    • message: string

      The trimmed message content

    • chatData: {
          user: string;
          speaker: object;
      }

      Some basic chat data

      • user: string

        The id of the User sending the message

      • speaker: object

        The identified speaker data, see ChatMessage.getSpeaker

    Returns void