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

    Defined in: extensions/echo.ts:155

    Structured payload a notification's presenter exposes (notformat=model).

    Properties

    body?

    optional body?: string

    Defined in: extensions/echo.ts:157

    Rendered body HTML.


    bundledIds?

    optional bundledIds?: number[]

    Defined in: extensions/echo.ts:181

    Event ids this notification bundles, when it stands in for a group.


    compactHeader?

    optional compactHeader?: string

    Defined in: extensions/echo.ts:163

    Condensed header for the flyout.


    optional header?: string

    Defined in: extensions/echo.ts:160

    Short header line.


    icon?

    optional icon?: string

    Defined in: extensions/echo.ts:166

    Icon name from the Echo icon registry.


    iconUrl

    iconUrl: string

    Defined in: extensions/echo.ts:169

    Icon URL.


    optional links?: object

    Defined in: extensions/echo.ts:172

    Primary and secondary action links.

    primary?

    optional primary?: ApiEchoNotificationLink

    The notification's main action.

    secondary?

    optional secondary?: ApiEchoNotificationLink[]

    Secondary actions offered with it.