Pathfinder 1e for Foundry VTT
    Preparing search index...

    Interface D20RollChatOptions

    interface D20RollChatOptions {
        chatTemplate?: string;
        chatTemplateData?: object;
        compendium?: { entry: string; type: string };
        create?: boolean;
        noSound?: boolean;
        rollMode?: string;
        speaker?: any;
        subject?: object;
    }
    Index

    Properties

    chatTemplate?: string

    The template used to render the chat message.

    D20RollPF.CHAT_TEMPLATE

    chatTemplateData?: object

    Additional data passed to the chat message's content's renderTemplate.

    compendium?: { entry: string; type: string }

    Data used to create a link to a compendium entry in the chat message.

    create?: boolean

    Whether a chat message should be created.

    true

    noSound?: boolean

    Whether no dice sound should be played when the chat message is created.

    false

    rollMode?: string

    The rollMode with which the chat message is created.

    game.settings.get("core", "rollMode")

    speaker?: any

    The speaker of the chat message.

    subject?: object

    Data stored in the chat message's flags to allow for easier identification of the message's subject.