For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/api/extensions/echo/ApiEchoNotification.md.
  • English
  • Interface: ApiEchoNotification

    Defined in: extensions/echo.ts:185

    One notification row (meta=notifications, notprop=list).

    Properties

    *?

    optional *?: string | ApiEchoNotificationModel

    Defined in: extensions/echo.ts:231

    Rendered notification body, present whenever notformat is given. The shape depends on the format: model returns a structured ApiEchoNotificationModel object, the other formats (special, plus the deprecated flyout/html) return an HTML string.


    agent?

    optional agent?: ApiEchoAgent

    Defined in: extensions/echo.ts:214

    Actor that triggered it.


    bundledIds?

    optional bundledIds?: number[]

    Defined in: extensions/echo.ts:205

    Ids of the notifications bundled into this one (bundled notifications present).


    bundledNotifications?

    optional bundledNotifications?: ApiEchoNotification[]

    Defined in: extensions/echo.ts:237

    The notifications bundled into this one, formatted like the parent row (expandable bundles; requires notformat).


    category?

    optional category?: string

    Defined in: extensions/echo.ts:196

    Event category, usually mirrors type.


    id?

    optional id?: number

    Defined in: extensions/echo.ts:190

    Notification id; feed it back to action=echomarkread or action=echomute.


    read?

    optional read?: string

    Defined in: extensions/echo.ts:220

    When the notification was marked read (MediaWiki 14-digit timestamp).


    revid?

    optional revid?: number

    Defined in: extensions/echo.ts:217

    Revision id associated with the event.


    section?

    optional section?: string & object | "alert" | "message"

    Defined in: extensions/echo.ts:199

    Section the notification lives in.


    targetpages?

    optional targetpages?: number[]

    Defined in: extensions/echo.ts:223

    Page ids the notification targets (empty array when there are none).


    timestamp?

    optional timestamp?: ApiEchoTimestamp

    Defined in: extensions/echo.ts:202

    Timestamp in every form Echo publishes.


    title?

    optional title?: ApiEchoTitle

    Defined in: extensions/echo.ts:211

    Target page of the notification.


    type?

    optional type?: string

    Defined in: extensions/echo.ts:193

    Event type, e.g. mention, thank-you-edit, page-linked. Open union.


    variant?

    optional variant?: string

    Defined in: extensions/echo.ts:208

    Presentation variant of the event, when the event carries one.


    wiki?

    optional wiki?: string

    Defined in: extensions/echo.ts:187

    Wiki the notification came from — cross-wiki notifications carry other sites.