Chat Message document extension

Hierarchy

  • ChatMessage
    • ChatMessagePF

Constructors

  • Parameters

    • ...args: [data?: ChatMessageDataConstructorData, context?: Context<null>]

    Returns ChatMessagePF

Properties

systemRolls: undefined | object

An object containing Pathfinder specific rolls for this chat message, with a structure grouping them by their purpose.

Accessors

Methods

  • Parameters

    • data: any
    • options: any
    • userId: any

    Returns void

  • Parameters

    • data: any
    • context: any
    • user: any

    Returns Promise<void>

  • Chat message frame context data.

    Parameters

    • options: any

    Returns Promise<JQuery<HTMLElement>>

    Happens too late for hooks

  • Render card content

    Parameters

    • options: object

      Render options

    Returns HTMLElement

    Synced with v13.339

    Happens too late for hooks

  • Parameters

    • source: boolean = true

      Return source data

    • clean: boolean = true

      Clean the source data of excess data

    Returns object

    • Raw data