diff --git a/api/notification/notificationContent.d.ts b/api/notification/notificationContent.d.ts index fda668c082111bc4204168a1227dec0195daffb1..991b4eff5895e6a68031cedaa8317dc1b3ca5f7e 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. @@ -379,6 +380,16 @@ export interface NotificationMultiLineContent extends NotificationBasicContent { * @since 12 */ lines: Array; + + /** + * Multi0-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; } /**