diff --git a/api/notification/notificationContent.d.ts b/api/notification/notificationContent.d.ts index ad6b1c4ec6bdca51464dca9ba5eb41e040c8a0bf..57120c90adfaa7a5e133e3cfc23fd28a773ad3a4 100644 --- a/api/notification/notificationContent.d.ts +++ b/api/notification/notificationContent.d.ts @@ -22,6 +22,7 @@ import notification from '../@ohos.notification'; import image from '../@ohos.multimedia.image'; import { Resource } from '../global/resource'; import type notificationManager from '../@ohos.notificationManager'; +import type { WantAgent } from '../@ohos.wantAgent'; /** * Describes icon type. @@ -380,6 +381,16 @@ export interface NotificationMultiLineContent extends NotificationBasicContent { * @since 12 */ lines: Array; + + /** + * Multi-line wantAgent of the multi-line text notification. + * @permission ohos.permission.NOTIFICATION_AGENT_CONTROLLER + * @type { ?Array } + * @syscap SystemCapability.Notification.Notification + * @systemapi + * @since 20 + */ + lineWantAgents?: Array; } /**