NotificationOptions.Store Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An optional store to persist bot notification target references.
public Microsoft.TeamsFx.Conversation.IConversationReferenceStore Store { get; set; }
member this.Store : Microsoft.TeamsFx.Conversation.IConversationReferenceStore with get, set
Public Property Store As IConversationReferenceStore
Property Value
Remarks
If Store
is not provided, a default local store will be used, which stores notification target references into:
- "{$env:TEAMSFX_NOTIFICATION_LOCALSTORE_DIR}/.notification.localstore.json" if running locally.
- "{$env:TEMP}/.notification.localstore.json" if {$env:RUNNING_ON_AZURE} is set to "1".
- "{CurrentDirectory}/.notification.localstore.json" if all above environment variables are not set.
It's recommended to use your own shared store for production environment.