docs: add context var docs

This commit is contained in:
medtaher 2024-09-28 15:13:29 +01:00
parent 418510aab2
commit 7771969deb

View File

@ -29,6 +29,11 @@ export class ContextVar extends BaseSchema {
})
name: string;
/**
* The permanent attribute allows the chatbot to know where to store the context variable.
* If the context variable is not permanent, it will be stored in the converation context, which is temporary.
* If the context variable is permanent, it will be stored in the subscriber context, which is permanent.
*/
@Prop({
type: Boolean,
default: false,