Flarum (v2.0.0)
    Preparing search index...

    The Model class represents a local data resource. It provides methods to persist changes via the API.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • The id of this dialog's first or last message, when it has one.

      A dialog can be left without either, for instance when the message one of them pointed at was deleted, so every caller has to cope with the relationship being absent rather than reading straight through it.

      Parameters

      • name: "firstMessage" | "lastMessage"

      Returns string | undefined