Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function chatMessage

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

      Parameters

      • chatLog: ChatLog

        The ChatLog instance

      • message: string

        The trimmed message content

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

        Some basic chat data

      Returns void