E621
    Preparing search index...

    Class DMails

    Hierarchy (View Summary)

    Index
    • e621 may be omitted (pass undefined) when constructing a module standalone, without the main E621 client, to keep bundles tree-shakable. Convenience methods on models returned by this module that call back into other modules via this.e621 will throw in that case.

      Parameters

      • e621: E621 | undefined
      • client: Client

      Returns DMails

    moduleKey: "dmails" = ...
    • Requires Api Key Auth

      Fetching a dmail will not mark it as read. Unless the dmail is owned:

      • The current user must be staff and the dmail must be to or from the automod
      • The current user must be Moderator+ and a ticket must exist for the dmail
      • The current user must be Admin+ and the dmail must be to or from Admin+
      • The current user must be Staff and have a share key for the dmail

      Parameters

      • id: number

      Returns Promise<DMail | null>

      dmails#show

      Documentation for more details.