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?
optionalagent?:ApiEchoAgent
Defined in: extensions/echo.ts:214
Actor that triggered it.
bundledIds?
optionalbundledIds?:number[]
Defined in: extensions/echo.ts:205
Ids of the notifications bundled into this one (bundled notifications present).
bundledNotifications?
optionalbundledNotifications?:ApiEchoNotification[]
Defined in: extensions/echo.ts:237
The notifications bundled into this one, formatted like the parent row
(expandable bundles; requires notformat).
category?
optionalcategory?:string
Defined in: extensions/echo.ts:196
Event category, usually mirrors type.
id?
optionalid?:number
Defined in: extensions/echo.ts:190
Notification id; feed it back to action=echomarkread or action=echomute.
read?
optionalread?:string
Defined in: extensions/echo.ts:220
When the notification was marked read (MediaWiki 14-digit timestamp).
revid?
optionalrevid?:number
Defined in: extensions/echo.ts:217
Revision id associated with the event.
section?
optionalsection?:string&object|"alert"|"message"
Defined in: extensions/echo.ts:199
Section the notification lives in.
targetpages?
optionaltargetpages?:number[]
Defined in: extensions/echo.ts:223
Page ids the notification targets (empty array when there are none).
timestamp?
optionaltimestamp?:ApiEchoTimestamp
Defined in: extensions/echo.ts:202
Timestamp in every form Echo publishes.
title?
optionaltitle?:ApiEchoTitle
Defined in: extensions/echo.ts:211
Target page of the notification.
type?
optionaltype?:string
Defined in: extensions/echo.ts:193
Event type, e.g. mention, thank-you-edit, page-linked. Open union.
variant?
optionalvariant?:string
Defined in: extensions/echo.ts:208
Presentation variant of the event, when the event carries one.
wiki?
optionalwiki?:string
Defined in: extensions/echo.ts:187
Wiki the notification came from — cross-wiki notifications carry other sites.