NotificationOptions interface
Options to initialize NotificationBot.
Properties
bot |
An optional input of bot app Id. |
store | An optional store to persist bot notification target references. |
Property Details
botAppId
An optional input of bot app Id.
botAppId?: string
Property Value
string
Remarks
If botAppId
is not provided, process.env.BOT_ID
will be used by default.
store
An optional store to persist bot notification target references.
store?: ConversationReferenceStore
Property Value
Remarks
If store
is not provided, a default conversation reference store will be used,
which stores notification target references into:
.notification.localstore.json
if running locally${process.env.TEMP}/.notification.localstore.json
ifprocess.env.RUNNING_ON_AZURE
is set to "1"
It's recommended to use your own store for production environment.