• Parameters

    • item: ItemPF
    • data: {
          chatData: Record<string, unknown>;
          template: string;
          templateData: Record<string, unknown>;
      }
      • chatData: Record<string, unknown>

        The data passed to ChatMessage.create (excluding content from the rendered template)

      • template: string

        The path of the template used to render the chat card

      • templateData: Record<string, unknown>

        The data to be passed to the foundry.utils.renderTemplate call. The contents of this object can change unexpectedly, as each change to the system's chat card template or item data will affect it.

    Returns boolean