Skip to content

ppagent / IPPAgentPluginOptions

Interface: IPPAgentPluginOptions

Defined in: src/plugin/api.plugin.ts:22

Properties

checkNotifyFequencySeconds?

optional checkNotifyFequencySeconds: number

Defined in: src/plugin/api.plugin.ts:34

每隔多久检查一次消息的过期情况,默认是20秒。


expiresInSeconds?

optional expiresInSeconds: number

Defined in: src/plugin/api.plugin.ts:30

通知有效期,过期的会被删除,客户端将看不到。

默认为1小时,即3600秒。最长不超过7天。

如果消息内指定了单独的有效期,以消息内的为准。


maxNotifyCount?

optional maxNotifyCount: number

Defined in: src/plugin/api.plugin.ts:38

最大留存通知条数,超过后新的将覆盖旧的,默认100条。最少5条。