Freigeben über


NotificationOptions interface

Warning

This API is now deprecated.

Please use BotBuilderCloudAdapter.NotificationOptions instead.

Options to initialize NotificationBot.

Properties

storage

An optional storage to persist bot notification connections.

Property Details

storage

An optional storage to persist bot notification connections.

storage?: NotificationTargetStorage

Property Value

Remarks

If storage is not provided, a default local file storage will be used, which stores notification connections into:

  • ".notification.localstore.json" if running locally
  • "${process.env.TEMP}/.notification.localstore.json" if process.env.RUNNING_ON_AZURE is set to "1"

It's recommended to use your own shared storage for production environment.