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

    Function renderChatMessageHTML

    • A hook event that fires for each ChatMessage which is rendered for addition to the ChatLog. This hook allows for final customization of the message HTML before it is added to the log.

      Parameters

      • message: documents.ChatMessage

        The ChatMessage document being rendered.

      • html: HTMLElement

        The pending HTML.

      • context: object

        The rendering context.

      Returns void